michael@0: # -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*- michael@0: # vim: set filetype=python: michael@0: # This Source Code Form is subject to the terms of the Mozilla Public michael@0: # License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: # file, You can obtain one at http://mozilla.org/MPL/2.0/. michael@0: michael@0: EXPORTS += [ michael@0: 'nsContentDLF.h', michael@0: 'nsLayoutCID.h', michael@0: 'nsLayoutStatics.h', michael@0: ] michael@0: michael@0: UNIFIED_SOURCES += [ michael@0: 'nsContentDLF.cpp', michael@0: 'nsLayoutModule.cpp', michael@0: 'nsLayoutStatics.cpp', michael@0: ] michael@0: michael@0: if CONFIG['MOZ_NFC']: michael@0: LOCAL_INCLUDES += [ michael@0: '/dom/nfc' michael@0: ] michael@0: michael@0: FAIL_ON_WARNINGS = True michael@0: michael@0: MSVC_ENABLE_PGO = True michael@0: michael@0: LIBRARY_NAME = 'gklayout' michael@0: michael@0: include('/ipc/chromium/chromium-config.mozbuild') michael@0: michael@0: LOCAL_INCLUDES += [ michael@0: '../base', michael@0: '../forms', michael@0: '../generic', michael@0: '../inspector', michael@0: '../mathml', michael@0: '../style', michael@0: '../tables', michael@0: '../xul', michael@0: '/caps/include', michael@0: '/content/base/src', michael@0: '/content/canvas/src', michael@0: '/content/html/content/src', michael@0: '/content/html/document/src', michael@0: '/content/svg/content/src', michael@0: '/content/xul/content/src', michael@0: '/content/xul/document/src', michael@0: '/content/xul/templates/src', michael@0: '/docshell/base', michael@0: '/dom/audiochannel', michael@0: '/dom/base', michael@0: '/dom/camera', michael@0: '/dom/file', michael@0: '/dom/filesystem', michael@0: '/dom/media', michael@0: '/dom/speakermanager', michael@0: '/dom/src/geolocation', michael@0: '/dom/src/json', michael@0: '/dom/src/jsurl', michael@0: '/dom/src/offline', michael@0: '/dom/src/storage', michael@0: '/dom/telephony', michael@0: '/dom/xbl', michael@0: '/dom/xslt/base', michael@0: '/dom/xslt/xml', michael@0: '/dom/xslt/xpath', michael@0: '/dom/xslt/xslt', michael@0: '/editor/composer/src', michael@0: '/editor/libeditor/base', michael@0: '/editor/libeditor/html', michael@0: '/editor/libeditor/text', michael@0: '/editor/txmgr/src', michael@0: '/editor/txtsvc/src', michael@0: '/extensions/cookie', michael@0: '/js/xpconnect/loader', michael@0: '/js/xpconnect/src', michael@0: '/netwerk/base/src', michael@0: '/netwerk/cookie', michael@0: '/view/src', michael@0: ] michael@0: michael@0: if CONFIG['MOZ_WIDGET_TOOLKIT'] in ('qt', 'gtk2', 'gtk3'): michael@0: LOCAL_INCLUDES += [ michael@0: '/dom/system/unix', michael@0: ] michael@0: elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'windows': michael@0: LOCAL_INCLUDES += [ michael@0: '/dom/system/windows', michael@0: ] michael@0: elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa': michael@0: LOCAL_INCLUDES += [ michael@0: '/dom/system/mac', michael@0: ] michael@0: elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'android': michael@0: LOCAL_INCLUDES += [ michael@0: '/dom/system', michael@0: '/dom/system/android', michael@0: ] michael@0: elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gonk': michael@0: LOCAL_INCLUDES += [ michael@0: '/dom/system/gonk', michael@0: ] michael@0: CXXFLAGS += [ michael@0: '-I%s/%s' % (CONFIG['ANDROID_SOURCE'], d) for d in [ michael@0: 'dalvik/libnativehelper/include/nativehelper', michael@0: 'frameworks/base/include', michael@0: 'frameworks/base/include/binder', michael@0: 'frameworks/base/include/utils', michael@0: 'frameworks/base/include/media', michael@0: 'frameworks/base/include/media/stagefright/openmax', michael@0: 'frameworks/base/media/libstagefright/include', michael@0: ] michael@0: ] michael@0: michael@0: if CONFIG['MOZ_B2G_FM']: michael@0: LOCAL_INCLUDES += [ michael@0: '/dom/fmradio', michael@0: ] michael@0: michael@0: if CONFIG['MOZ_B2G_BT']: michael@0: LOCAL_INCLUDES += [ michael@0: '/dom/bluetooth', michael@0: ] michael@0: michael@0: if CONFIG['MOZ_WEBSPEECH']: michael@0: LOCAL_INCLUDES += [ michael@0: '/content/media/webspeech/synth', michael@0: ] michael@0: michael@0: if CONFIG['MOZ_FFMPEG']: michael@0: LOCAL_INCLUDES += [ michael@0: '/content/media/fmp4/ffmpeg/include', michael@0: ] michael@0: michael@0: FINAL_LIBRARY = 'xul'