mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-03 12:35:58 +00:00
Bug 1407468 - Replace multiple !JS_STANDALONE with MOZ_WIDGET_TOOLKIT. r=mshal
--HG-- extra : rebase_source : 4f9f9f583c3422ed0f8d1d65ea8e7575bd9baf2c
This commit is contained in:
parent
1c51789e7e
commit
9f2dd4775e
@ -47,7 +47,7 @@ ifndef MOZ_PROFILE_USE
|
||||
# We need to explicitly put BUILD_BACKEND_FILES here otherwise the rule in
|
||||
# rules.mk doesn't run early enough.
|
||||
$(TIERS) binaries:: CLOBBER $(configure_dir)/configure config.status $(BUILD_BACKEND_FILES)
|
||||
ifndef JS_STANDALONE
|
||||
ifdef MOZ_WIDGET_TOOLKIT
|
||||
ifdef COMPILE_ENVIRONMENT
|
||||
$(TIERS) binaries:: $(topsrcdir)/js/src/configure js/src/config.status
|
||||
endif
|
||||
@ -122,7 +122,7 @@ install_manifest_depends = \
|
||||
$(BUILD_BACKEND_FILES) \
|
||||
$(NULL)
|
||||
|
||||
ifndef JS_STANDALONE
|
||||
ifdef MOZ_WIDGET_TOOLKIT
|
||||
ifdef COMPILE_ENVIRONMENT
|
||||
install_manifest_depends += \
|
||||
$(topsrcdir)/js/src/configure \
|
||||
@ -213,7 +213,7 @@ endif
|
||||
recurse_artifact:
|
||||
$(topsrcdir)/mach --log-no-times artifact install
|
||||
|
||||
ifndef JS_STANDALONE
|
||||
ifdef MOZ_WIDGET_TOOLKIT
|
||||
ifdef ENABLE_TESTS
|
||||
# Additional makefile targets to call automated test suites
|
||||
include $(topsrcdir)/testing/testsuite-targets.mk
|
||||
|
@ -67,7 +67,7 @@ def GeckoBinary(linkage='dependent', msvcrt='dynamic', mozglue=None):
|
||||
else:
|
||||
error('`mozglue` must be "program" or "library"')
|
||||
|
||||
if not CONFIG['JS_STANDALONE']:
|
||||
if CONFIG['MOZ_WIDGET_TOOLKIT']:
|
||||
USE_LIBS += [
|
||||
'fallible',
|
||||
]
|
||||
|
@ -13,7 +13,7 @@ DIRS += [
|
||||
'fallible',
|
||||
]
|
||||
|
||||
if not CONFIG['JS_STANDALONE']:
|
||||
if CONFIG['MOZ_WIDGET_TOOLKIT']:
|
||||
DIRS += ['volatile']
|
||||
|
||||
# NB: gtest dir is included in toolkit/toolkit.build due to its dependency
|
||||
|
@ -4,7 +4,7 @@
|
||||
# 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/.
|
||||
|
||||
if not CONFIG['JS_STANDALONE']:
|
||||
if CONFIG['MOZ_WIDGET_TOOLKIT']:
|
||||
TEST_DIRS += [
|
||||
'gtest',
|
||||
]
|
||||
|
@ -79,7 +79,7 @@ DIRS += [
|
||||
'third_party/python',
|
||||
]
|
||||
|
||||
if not CONFIG['JS_STANDALONE']:
|
||||
if CONFIG['MOZ_WIDGET_TOOLKIT']:
|
||||
# These python manifests are included here so they get picked up without an objdir
|
||||
PYTHON_UNITTEST_MANIFESTS += [
|
||||
'layout/tools/reftest/selftest/python.ini',
|
||||
@ -125,14 +125,14 @@ DIRS += [
|
||||
'mozglue',
|
||||
]
|
||||
|
||||
if not CONFIG['JS_STANDALONE']:
|
||||
if CONFIG['MOZ_WIDGET_TOOLKIT']:
|
||||
DIRS += ['xpcom/xpidl']
|
||||
|
||||
if CONFIG['USE_ICU']:
|
||||
DIRS += ['config/external/icu']
|
||||
|
||||
if CONFIG['COMPILE_ENVIRONMENT']:
|
||||
if not CONFIG['JS_STANDALONE']:
|
||||
if CONFIG['MOZ_WIDGET_TOOLKIT']:
|
||||
DIRS += [
|
||||
'config/external',
|
||||
'security',
|
||||
|
@ -28,7 +28,7 @@ if CONFIG['OS_TARGET'] == 'WINNT':
|
||||
'user32.dll',
|
||||
]
|
||||
|
||||
if not CONFIG['JS_STANDALONE']:
|
||||
if CONFIG['MOZ_WIDGET_TOOLKIT']:
|
||||
|
||||
if CONFIG['MOZ_MEMORY'] and FORCE_SHARED_LIB:
|
||||
pass
|
||||
|
@ -18,5 +18,5 @@ DIRS += [
|
||||
'misc',
|
||||
]
|
||||
|
||||
if not CONFIG['JS_STANDALONE']:
|
||||
if CONFIG['MOZ_WIDGET_TOOLKIT']:
|
||||
TEST_DIRS += ['tests']
|
||||
|
Loading…
x
Reference in New Issue
Block a user