dom/system/moz.build

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

     1 # -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
     2 # vim: set filetype=python:
     3 # This Source Code Form is subject to the terms of the Mozilla Public
     4 # License, v. 2.0. If a copy of the MPL was not distributed with this
     5 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
     7 toolkit = CONFIG['MOZ_WIDGET_TOOLKIT']
     9 if toolkit in ('qt'):
    10     DIRS += ['qt']
    11 elif toolkit == 'windows':
    12     DIRS += ['windows']
    13 elif toolkit == 'cocoa':
    14     DIRS += ['mac']
    15 elif toolkit == 'android':
    16     DIRS += ['android']
    17 elif toolkit == 'gonk':
    18     DIRS += ['gonk']
    20 TEST_DIRS += ['tests']
    22 XPIDL_SOURCES += [
    23     'nsIOSFileConstantsService.idl',
    24 ]
    26 XPIDL_MODULE = 'dom_system'
    28 EXPORTS += [
    29     'nsDeviceSensors.h',
    30 ]
    32 EXPORTS.mozilla += [
    33     'OSFileConstants.h',
    34 ]
    36 UNIFIED_SOURCES += [
    37     'nsDeviceSensors.cpp',
    38     'OSFileConstants.cpp',
    39 ]
    41 EXTRA_COMPONENTS += [
    42     'NetworkGeolocationProvider.js',
    43     'NetworkGeolocationProvider.manifest',
    44 ]
    46 FAIL_ON_WARNINGS = True
    48 include('/ipc/chromium/chromium-config.mozbuild')
    50 FINAL_LIBRARY = 'gklayout'
    51 # We fire the nsDOMDeviceAcceleration
    52 LOCAL_INCLUDES += [
    53     '/dom/base',
    54     '/dom/bindings',
    55     '/js/xpconnect/loader',
    56 ]
    58 DEFINES['DLL_PREFIX'] = '"%s"' % CONFIG['DLL_PREFIX']
    59 DEFINES['DLL_SUFFIX'] = '"%s"' % CONFIG['DLL_SUFFIX']

mercurial