зеркало из https://github.com/mozilla/gecko-dev.git
Bug 728600 - define TARGET_XPCOM_ABI in mozilla-config.h; r=glandium
This commit is contained in:
Родитель
f4e89dcdc1
Коммит
c3ea6db0ae
|
@ -3376,6 +3376,7 @@ fi # ! SKIP_COMPILER_CHECKS
|
|||
TARGET_XPCOM_ABI=
|
||||
if test -n "${CPU_ARCH}" -a -n "${TARGET_COMPILER_ABI}"; then
|
||||
TARGET_XPCOM_ABI="${CPU_ARCH}-${TARGET_COMPILER_ABI}"
|
||||
AC_DEFINE_UNQUOTED(TARGET_XPCOM_ABI, ["${TARGET_XPCOM_ABI}"])
|
||||
fi
|
||||
|
||||
dnl Mozilla specific options
|
||||
|
|
|
@ -50,7 +50,7 @@ public class AppConstants {
|
|||
public static final String MOZ_UPDATE_CHANNEL = "@MOZ_UPDATE_CHANNEL@";
|
||||
public static final String OMNIJAR_NAME = "@OMNIJAR_NAME@";
|
||||
public static final String OS_TARGET = "@OS_TARGET@";
|
||||
public static final String TARGET_XPCOM_ABI = "@TARGET_XPCOM_ABI@";
|
||||
public static final String TARGET_XPCOM_ABI = @TARGET_XPCOM_ABI@;
|
||||
|
||||
public static final String USER_AGENT_BOT_LIKE = "Redirector/" + AppConstants.MOZ_APP_VERSION +
|
||||
" (Android; rv:" + AppConstants.MOZ_APP_VERSION + ")";
|
||||
|
|
|
@ -130,7 +130,6 @@ if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'android':
|
|||
DEFINES['ANDROID_PACKAGE_NAME'] = '"%s"' % CONFIG['ANDROID_PACKAGE_NAME']
|
||||
|
||||
if CONFIG['TARGET_XPCOM_ABI']:
|
||||
DEFINES['TARGET_XPCOM_ABI'] = '"%s"' % CONFIG['TARGET_XPCOM_ABI']
|
||||
DEFINES['TARGET_OS_ABI'] = '"%s_%s"' % (CONFIG['OS_TARGET'],
|
||||
CONFIG['TARGET_XPCOM_ABI'])
|
||||
|
||||
|
|
|
@ -79,9 +79,6 @@ FINAL_LIBRARY = 'xul'
|
|||
DEFINES['_IMPL_NS_STRINGAPI'] = True
|
||||
DEFINES['OMNIJAR_NAME'] = CONFIG['OMNIJAR_NAME']
|
||||
|
||||
if CONFIG['TARGET_XPCOM_ABI']:
|
||||
DEFINES['TARGET_XPCOM_ABI'] = '"%s"' % CONFIG['TARGET_XPCOM_ABI']
|
||||
|
||||
if CONFIG['MOZ_OPTIMIZE']:
|
||||
DEFINES['MOZ_OPTIMIZE'] = True
|
||||
|
||||
|
|
|
@ -106,9 +106,6 @@ FORCE_STATIC_LIB = True
|
|||
if CONFIG['_MSC_VER']:
|
||||
DEFINES['_USE_ANSI_CPP'] = True
|
||||
|
||||
if CONFIG['TARGET_XPCOM_ABI']:
|
||||
DEFINES['TARGET_XPCOM_ABI'] = '"%s"' % CONFIG['TARGET_XPCOM_ABI']
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
'../build',
|
||||
]
|
||||
|
|
|
@ -26,9 +26,6 @@ FORCE_STATIC_LIB = True
|
|||
if CONFIG['_MSC_VER']:
|
||||
DEFINES['_USE_ANSI_CPP'] = True
|
||||
|
||||
if CONFIG['TARGET_XPCOM_ABI']:
|
||||
DEFINES['TARGET_XPCOM_ABI'] = '"%s"' % CONFIG['TARGET_XPCOM_ABI']
|
||||
|
||||
DEFINES['MOZ_NO_MOZALLOC'] = True
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
|
|
|
@ -35,9 +35,6 @@ if CONFIG['_MSC_VER']:
|
|||
|
||||
DEFINES['XPCOM_GLUE'] = True
|
||||
|
||||
if CONFIG['TARGET_XPCOM_ABI']:
|
||||
DEFINES['TARGET_XPCOM_ABI'] = '"%s"' % CONFIG['TARGET_XPCOM_ABI']
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
'../../build',
|
||||
]
|
||||
|
|
|
@ -27,9 +27,6 @@ if CONFIG['_MSC_VER']:
|
|||
|
||||
DEFINES['XPCOM_GLUE'] = True
|
||||
|
||||
if CONFIG['TARGET_XPCOM_ABI']:
|
||||
DEFINES['TARGET_XPCOM_ABI'] = '"%s"' % CONFIG['TARGET_XPCOM_ABI']
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
'../../../build',
|
||||
]
|
||||
|
|
|
@ -25,9 +25,6 @@ FORCE_STATIC_LIB = True
|
|||
if CONFIG['_MSC_VER']:
|
||||
DEFINES['_USE_ANSI_CPP'] = True
|
||||
|
||||
if CONFIG['TARGET_XPCOM_ABI']:
|
||||
DEFINES['TARGET_XPCOM_ABI'] = '"%s"' % CONFIG['TARGET_XPCOM_ABI']
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
'../../build',
|
||||
]
|
||||
|
|
|
@ -34,4 +34,7 @@
|
|||
/* Define to either __attribute__((warn_unused_result)) or nothing */
|
||||
#undef NS_WARN_UNUSED_RESULT
|
||||
|
||||
/* Define to a string describing the XPCOM ABI in use */
|
||||
#undef TARGET_XPCOM_ABI
|
||||
|
||||
#endif /* _XPCOM_CONFIG_H_ */
|
||||
|
|
|
@ -17,9 +17,6 @@ DEFINES['XPCOM_GLUE'] = True
|
|||
if CONFIG['DEBUG']:
|
||||
DEFINES['DEBUG'] = True
|
||||
|
||||
if CONFIG['TARGET_XPCOM_ABI']:
|
||||
DEFINES['TARGET_XPCOM_ABI'] = '"%s"' % CONFIG['TARGET_XPCOM_ABI']
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
'/toolkit/profile',
|
||||
'/toolkit/xre',
|
||||
|
|
Загрузка…
Ссылка в новой задаче