summaryrefslogtreecommitdiff
path: root/components/proxy/moz.build
blob: 2d20820d406d849a54f33af4b8584b508b1272dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

if CONFIG['MOZ_WIDGET_TOOLKIT'] in ('gtk2', 'gtk3'):
  if CONFIG['MOZ_ENABLE_LIBPROXY']:
    SOURCES += ['src/nsLibProxySettings.cpp']
    CXXFLAGS += CONFIG['MOZ_LIBPROXY_CFLAGS']
  else:
    SOURCES += ['src/nsUnixSystemProxySettings.cpp']
elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'windows':
  SOURCES += [
    'src/nsWindowsSystemProxySettings.cpp',
    'src/ProxyUtils.cpp'
  ]

FINAL_LIBRARY = 'xul'