|
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/. |
|
6 |
|
7 XPIDL_SOURCES += [ |
|
8 'nsIAndroidBridge.idl', |
|
9 ] |
|
10 |
|
11 XPIDL_MODULE = 'widget_android' |
|
12 |
|
13 EXPORTS += [ |
|
14 'AndroidBridge.h', |
|
15 'AndroidJavaWrappers.h', |
|
16 'AndroidJNIWrapper.h', |
|
17 'GeneratedJNIWrappers.h', |
|
18 ] |
|
19 |
|
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 ] |
|
41 |
|
42 FAIL_ON_WARNINGS = True |
|
43 |
|
44 LIBRARY_NAME = 'widget_android' |
|
45 |
|
46 include('/ipc/chromium/chromium-config.mozbuild') |
|
47 |
|
48 FINAL_LIBRARY = 'xul' |
|
49 |
|
50 LOCAL_INCLUDES += [ |
|
51 '/docshell/base', |
|
52 '/dom/system/android', |
|
53 '/netwerk/cache', |
|
54 '/widget/android/android', |
|
55 '/widget/shared', |
|
56 '/widget/xpwidgets', |
|
57 ] |
|
58 |
|
59 #DEFINES['DEBUG_WIDGETS'] = True |