Bug 1252093 - Move AUTOCFG_JS_EXPORTS to moz.build; r=ted

This commit is contained in:
Ms2ger 2016-03-01 09:17:29 +01:00
parent f7be871325
commit 24b9e4518d
3 changed files with 4 additions and 19 deletions

View File

@ -1158,18 +1158,6 @@ ifneq (,$(DIST_SUBDIR)$(XPI_NAME))
PREF_DIR = defaults/preferences
endif
################################################################################
# Copy each element of AUTOCFG_JS_EXPORTS to $(FINAL_TARGET)/defaults/autoconfig
ifneq ($(AUTOCFG_JS_EXPORTS),)
ifndef NO_DIST_INSTALL
AUTOCFG_JS_EXPORTS_FILES := $(AUTOCFG_JS_EXPORTS)
AUTOCFG_JS_EXPORTS_DEST := $(FINAL_TARGET)/defaults/autoconfig
AUTOCFG_JS_EXPORTS_TARGET := export
INSTALL_TARGETS += AUTOCFG_JS_EXPORTS
endif
endif
################################################################################
# SDK

View File

@ -1,7 +0,0 @@
# 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/.
AUTOCFG_JS_EXPORTS = \
$(srcdir)/prefcalls.js \
$(NULL)

View File

@ -15,3 +15,7 @@ FINAL_LIBRARY = 'xul'
if CONFIG['GNU_CXX']:
CXXFLAGS += ['-Wshadow']
FINAL_TARGET_FILES.defaults.autoconfig += [
'prefcalls.js',
]