1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/build/moz.build Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,136 @@ 1.4 +# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*- 1.5 +# vim: set filetype=python: 1.6 +# This Source Code Form is subject to the terms of the Mozilla Public 1.7 +# License, v. 2.0. If a copy of the MPL was not distributed with this 1.8 +# file, You can obtain one at http://mozilla.org/MPL/2.0/. 1.9 + 1.10 +EXPORTS += [ 1.11 + 'nsContentDLF.h', 1.12 + 'nsLayoutCID.h', 1.13 + 'nsLayoutStatics.h', 1.14 +] 1.15 + 1.16 +UNIFIED_SOURCES += [ 1.17 + 'nsContentDLF.cpp', 1.18 + 'nsLayoutModule.cpp', 1.19 + 'nsLayoutStatics.cpp', 1.20 +] 1.21 + 1.22 +if CONFIG['MOZ_NFC']: 1.23 + LOCAL_INCLUDES += [ 1.24 + '/dom/nfc' 1.25 + ] 1.26 + 1.27 +FAIL_ON_WARNINGS = True 1.28 + 1.29 +MSVC_ENABLE_PGO = True 1.30 + 1.31 +LIBRARY_NAME = 'gklayout' 1.32 + 1.33 +include('/ipc/chromium/chromium-config.mozbuild') 1.34 + 1.35 +LOCAL_INCLUDES += [ 1.36 + '../base', 1.37 + '../forms', 1.38 + '../generic', 1.39 + '../inspector', 1.40 + '../mathml', 1.41 + '../style', 1.42 + '../tables', 1.43 + '../xul', 1.44 + '/caps/include', 1.45 + '/content/base/src', 1.46 + '/content/canvas/src', 1.47 + '/content/html/content/src', 1.48 + '/content/html/document/src', 1.49 + '/content/svg/content/src', 1.50 + '/content/xul/content/src', 1.51 + '/content/xul/document/src', 1.52 + '/content/xul/templates/src', 1.53 + '/docshell/base', 1.54 + '/dom/audiochannel', 1.55 + '/dom/base', 1.56 + '/dom/camera', 1.57 + '/dom/file', 1.58 + '/dom/filesystem', 1.59 + '/dom/media', 1.60 + '/dom/speakermanager', 1.61 + '/dom/src/geolocation', 1.62 + '/dom/src/json', 1.63 + '/dom/src/jsurl', 1.64 + '/dom/src/offline', 1.65 + '/dom/src/storage', 1.66 + '/dom/telephony', 1.67 + '/dom/xbl', 1.68 + '/dom/xslt/base', 1.69 + '/dom/xslt/xml', 1.70 + '/dom/xslt/xpath', 1.71 + '/dom/xslt/xslt', 1.72 + '/editor/composer/src', 1.73 + '/editor/libeditor/base', 1.74 + '/editor/libeditor/html', 1.75 + '/editor/libeditor/text', 1.76 + '/editor/txmgr/src', 1.77 + '/editor/txtsvc/src', 1.78 + '/extensions/cookie', 1.79 + '/js/xpconnect/loader', 1.80 + '/js/xpconnect/src', 1.81 + '/netwerk/base/src', 1.82 + '/netwerk/cookie', 1.83 + '/view/src', 1.84 +] 1.85 + 1.86 +if CONFIG['MOZ_WIDGET_TOOLKIT'] in ('qt', 'gtk2', 'gtk3'): 1.87 + LOCAL_INCLUDES += [ 1.88 + '/dom/system/unix', 1.89 + ] 1.90 +elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'windows': 1.91 + LOCAL_INCLUDES += [ 1.92 + '/dom/system/windows', 1.93 + ] 1.94 +elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa': 1.95 + LOCAL_INCLUDES += [ 1.96 + '/dom/system/mac', 1.97 + ] 1.98 +elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'android': 1.99 + LOCAL_INCLUDES += [ 1.100 + '/dom/system', 1.101 + '/dom/system/android', 1.102 + ] 1.103 +elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gonk': 1.104 + LOCAL_INCLUDES += [ 1.105 + '/dom/system/gonk', 1.106 + ] 1.107 + CXXFLAGS += [ 1.108 + '-I%s/%s' % (CONFIG['ANDROID_SOURCE'], d) for d in [ 1.109 + 'dalvik/libnativehelper/include/nativehelper', 1.110 + 'frameworks/base/include', 1.111 + 'frameworks/base/include/binder', 1.112 + 'frameworks/base/include/utils', 1.113 + 'frameworks/base/include/media', 1.114 + 'frameworks/base/include/media/stagefright/openmax', 1.115 + 'frameworks/base/media/libstagefright/include', 1.116 + ] 1.117 + ] 1.118 + 1.119 +if CONFIG['MOZ_B2G_FM']: 1.120 + LOCAL_INCLUDES += [ 1.121 + '/dom/fmradio', 1.122 + ] 1.123 + 1.124 +if CONFIG['MOZ_B2G_BT']: 1.125 + LOCAL_INCLUDES += [ 1.126 + '/dom/bluetooth', 1.127 + ] 1.128 + 1.129 +if CONFIG['MOZ_WEBSPEECH']: 1.130 + LOCAL_INCLUDES += [ 1.131 + '/content/media/webspeech/synth', 1.132 + ] 1.133 + 1.134 +if CONFIG['MOZ_FFMPEG']: 1.135 + LOCAL_INCLUDES += [ 1.136 + '/content/media/fmp4/ffmpeg/include', 1.137 + ] 1.138 + 1.139 +FINAL_LIBRARY = 'xul'