2013-04-01 22:36:59 +04:00
|
|
|
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-26 01:20:02 +04:00
|
|
|
# vim: set filetype=python:
|
|
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
|
2014-11-13 21:47:23 +03:00
|
|
|
DIRS += [
|
|
|
|
'bindings',
|
2015-01-10 03:33:57 +03:00
|
|
|
'jni',
|
2014-11-13 21:47:23 +03:00
|
|
|
]
|
|
|
|
|
2013-03-12 21:17:46 +04:00
|
|
|
XPIDL_SOURCES += [
|
|
|
|
'nsIAndroidBridge.idl',
|
|
|
|
]
|
|
|
|
|
2013-03-12 09:00:00 +04:00
|
|
|
XPIDL_MODULE = 'widget_android'
|
|
|
|
|
2013-04-16 23:24:43 +04:00
|
|
|
EXPORTS += [
|
|
|
|
'AndroidBridge.h',
|
|
|
|
'AndroidJavaWrappers.h',
|
2013-10-24 03:05:43 +04:00
|
|
|
'AndroidJNIWrapper.h',
|
2013-11-15 20:28:43 +04:00
|
|
|
'GeneratedJNIWrappers.h',
|
2013-04-16 23:24:43 +04:00
|
|
|
]
|
|
|
|
|
2013-10-25 03:23:05 +04:00
|
|
|
SOURCES += [
|
2013-04-24 01:54:15 +04:00
|
|
|
'AndroidBridge.cpp',
|
2015-04-25 05:26:51 +03:00
|
|
|
'AndroidContentController.cpp',
|
2013-04-24 01:54:15 +04:00
|
|
|
'AndroidDirectTexture.cpp',
|
|
|
|
'AndroidGraphicBuffer.cpp',
|
2013-10-24 03:05:43 +04:00
|
|
|
'AndroidJavaWrappers.cpp',
|
2013-04-24 01:54:15 +04:00
|
|
|
'AndroidJNI.cpp',
|
|
|
|
'AndroidJNIWrapper.cpp',
|
2013-09-09 16:57:37 +04:00
|
|
|
'GeneratedJNIWrappers.cpp',
|
2013-04-24 01:54:15 +04:00
|
|
|
'GfxInfo.cpp',
|
2014-04-01 23:16:52 +04:00
|
|
|
'NativeJSContainer.cpp',
|
2014-06-04 23:28:04 +04:00
|
|
|
'nsAndroidProtocolHandler.cpp',
|
2013-04-24 01:54:15 +04:00
|
|
|
'nsAppShell.cpp',
|
|
|
|
'nsClipboard.cpp',
|
|
|
|
'nsDeviceContextAndroid.cpp',
|
|
|
|
'nsIdleServiceAndroid.cpp',
|
2013-10-24 03:05:43 +04:00
|
|
|
'nsIMEPicker.cpp',
|
2013-04-24 01:54:15 +04:00
|
|
|
'nsLookAndFeel.cpp',
|
|
|
|
'nsPrintOptionsAndroid.cpp',
|
|
|
|
'nsScreenManagerAndroid.cpp',
|
|
|
|
'nsWidgetFactory.cpp',
|
|
|
|
'nsWindow.cpp',
|
|
|
|
]
|
|
|
|
|
2013-08-22 10:55:59 +04:00
|
|
|
FAIL_ON_WARNINGS = True
|
|
|
|
|
2013-10-02 21:17:55 +04:00
|
|
|
include('/ipc/chromium/chromium-config.mozbuild')
|
|
|
|
|
2013-11-19 06:47:14 +04:00
|
|
|
FINAL_LIBRARY = 'xul'
|
2013-11-27 17:55:07 +04:00
|
|
|
|
2013-11-28 18:17:25 +04:00
|
|
|
LOCAL_INCLUDES += [
|
|
|
|
'/docshell/base',
|
2014-04-22 18:53:48 +04:00
|
|
|
'/dom/base',
|
2013-11-28 18:17:25 +04:00
|
|
|
'/dom/system/android',
|
2015-01-20 11:58:00 +03:00
|
|
|
'/netwerk/base',
|
2013-11-28 18:17:25 +04:00
|
|
|
'/netwerk/cache',
|
2014-10-23 21:16:45 +04:00
|
|
|
'/widget',
|
2013-11-28 18:17:25 +04:00
|
|
|
'/widget/android/android',
|
|
|
|
]
|
|
|
|
|
2013-11-27 17:55:07 +04:00
|
|
|
#DEFINES['DEBUG_WIDGETS'] = True
|