2013-04-01 18:36:59 +00:00
|
|
|
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-25 21:20:02 +00: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 18:47:23 +00:00
|
|
|
DIRS += [
|
|
|
|
'bindings',
|
2015-01-10 00:33:57 +00:00
|
|
|
'jni',
|
2014-11-13 18:47:23 +00:00
|
|
|
]
|
|
|
|
|
2013-03-12 17:17:46 +00:00
|
|
|
XPIDL_SOURCES += [
|
|
|
|
'nsIAndroidBridge.idl',
|
|
|
|
]
|
|
|
|
|
2013-03-12 05:00:00 +00:00
|
|
|
XPIDL_MODULE = 'widget_android'
|
|
|
|
|
2013-04-16 19:24:43 +00:00
|
|
|
EXPORTS += [
|
|
|
|
'AndroidBridge.h',
|
|
|
|
'AndroidJavaWrappers.h',
|
2013-10-23 23:05:43 +00:00
|
|
|
'AndroidJNIWrapper.h',
|
2015-09-17 21:17:26 +00:00
|
|
|
'GeneratedJNINatives.h',
|
2013-11-15 16:28:43 +00:00
|
|
|
'GeneratedJNIWrappers.h',
|
2013-04-16 19:24:43 +00:00
|
|
|
]
|
|
|
|
|
2015-08-04 21:47:28 +00:00
|
|
|
UNIFIED_SOURCES += [
|
2013-04-23 21:54:15 +00:00
|
|
|
'AndroidBridge.cpp',
|
2015-04-25 02:26:51 +00:00
|
|
|
'AndroidContentController.cpp',
|
2013-04-23 21:54:15 +00:00
|
|
|
'AndroidDirectTexture.cpp',
|
|
|
|
'AndroidGraphicBuffer.cpp',
|
2013-10-23 23:05:43 +00:00
|
|
|
'AndroidJavaWrappers.cpp',
|
2013-04-23 21:54:15 +00:00
|
|
|
'AndroidJNI.cpp',
|
|
|
|
'AndroidJNIWrapper.cpp',
|
2015-07-29 19:11:15 +00:00
|
|
|
'ANRReporter.cpp',
|
2013-09-09 12:57:37 +00:00
|
|
|
'GeneratedJNIWrappers.cpp',
|
2013-04-23 21:54:15 +00:00
|
|
|
'GfxInfo.cpp',
|
2014-04-01 19:16:52 +00:00
|
|
|
'NativeJSContainer.cpp',
|
2014-06-04 19:28:04 +00:00
|
|
|
'nsAndroidProtocolHandler.cpp',
|
2013-04-23 21:54:15 +00:00
|
|
|
'nsAppShell.cpp',
|
|
|
|
'nsClipboard.cpp',
|
|
|
|
'nsDeviceContextAndroid.cpp',
|
|
|
|
'nsIdleServiceAndroid.cpp',
|
|
|
|
'nsLookAndFeel.cpp',
|
|
|
|
'nsPrintOptionsAndroid.cpp',
|
|
|
|
'nsScreenManagerAndroid.cpp',
|
|
|
|
'nsWidgetFactory.cpp',
|
|
|
|
'nsWindow.cpp',
|
|
|
|
]
|
|
|
|
|
2013-10-02 17:17:55 +00:00
|
|
|
include('/ipc/chromium/chromium-config.mozbuild')
|
|
|
|
|
2013-11-19 02:47:14 +00:00
|
|
|
FINAL_LIBRARY = 'xul'
|
2013-11-27 13:55:07 +00:00
|
|
|
|
2013-11-28 14:17:25 +00:00
|
|
|
LOCAL_INCLUDES += [
|
|
|
|
'/docshell/base',
|
2014-04-22 14:53:48 +00:00
|
|
|
'/dom/base',
|
2013-11-28 14:17:25 +00:00
|
|
|
'/dom/system/android',
|
2015-01-20 08:58:00 +00:00
|
|
|
'/netwerk/base',
|
2013-11-28 14:17:25 +00:00
|
|
|
'/netwerk/cache',
|
2014-10-23 17:16:45 +00:00
|
|
|
'/widget',
|
2013-11-28 14:17:25 +00:00
|
|
|
'/widget/android/android',
|
|
|
|
]
|
|
|
|
|
2016-05-11 07:00:01 +00:00
|
|
|
CXXFLAGS += ['-Wno-error=shadow']
|
|
|
|
|
2013-11-27 13:55:07 +00:00
|
|
|
#DEFINES['DEBUG_WIDGETS'] = True
|