Bug 1407468 - Replace multiple !JS_STANDALONE with MOZ_WIDGET_TOOLKIT. r=mshal

--HG--
extra : rebase_source : 4f9f9f583c3422ed0f8d1d65ea8e7575bd9baf2c
This commit is contained in:
Mike Hommey 2017-10-05 14:50:01 +09:00
parent 1c51789e7e
commit 9f2dd4775e
7 changed files with 11 additions and 11 deletions

View File

@ -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

View File

@ -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',
]

View File

@ -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

View File

@ -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',
]

View File

@ -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',

View File

@ -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

View File

@ -18,5 +18,5 @@ DIRS += [
'misc',
]
if not CONFIG['JS_STANDALONE']:
if CONFIG['MOZ_WIDGET_TOOLKIT']:
TEST_DIRS += ['tests']