Thu, 22 Jan 2015 13:21:57 +0100
Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6
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 XPIDL_SOURCES += [
8 'nsIAndroidBridge.idl',
9 ]
11 XPIDL_MODULE = 'widget_android'
13 EXPORTS += [
14 'AndroidBridge.h',
15 'AndroidJavaWrappers.h',
16 'AndroidJNIWrapper.h',
17 'GeneratedJNIWrappers.h',
18 ]
20 SOURCES += [
21 'AndroidBridge.cpp',
22 'AndroidDirectTexture.cpp',
23 'AndroidGraphicBuffer.cpp',
24 'AndroidJavaWrappers.cpp',
25 'AndroidJNI.cpp',
26 'AndroidJNIWrapper.cpp',
27 'GeneratedJNIWrappers.cpp',
28 'GfxInfo.cpp',
29 'NativeJSContainer.cpp',
30 'nsAppShell.cpp',
31 'nsClipboard.cpp',
32 'nsDeviceContextAndroid.cpp',
33 'nsIdleServiceAndroid.cpp',
34 'nsIMEPicker.cpp',
35 'nsLookAndFeel.cpp',
36 'nsPrintOptionsAndroid.cpp',
37 'nsScreenManagerAndroid.cpp',
38 'nsWidgetFactory.cpp',
39 'nsWindow.cpp',
40 ]
42 FAIL_ON_WARNINGS = True
44 LIBRARY_NAME = 'widget_android'
46 include('/ipc/chromium/chromium-config.mozbuild')
48 FINAL_LIBRARY = 'xul'
50 LOCAL_INCLUDES += [
51 '/docshell/base',
52 '/dom/system/android',
53 '/netwerk/cache',
54 '/widget/android/android',
55 '/widget/shared',
56 '/widget/xpwidgets',
57 ]
59 #DEFINES['DEBUG_WIDGETS'] = True