Bug 900526, part 5: Move DIST_SUBDIR to moz.build, r=gps
This commit is contained in:
@@ -6,3 +6,5 @@
|
|||||||
|
|
||||||
DIRS += ['content', 'locales']
|
DIRS += ['content', 'locales']
|
||||||
|
|
||||||
|
DIST_SUBDIR = 'browser'
|
||||||
|
export('DIST_SUBDIR')
|
||||||
|
|||||||
@@ -5,3 +5,6 @@
|
|||||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||||
|
|
||||||
DIRS += ['content', 'locales']
|
DIRS += ['content', 'locales']
|
||||||
|
|
||||||
|
DIST_SUBDIR = 'browser'
|
||||||
|
export('DIST_SUBDIR')
|
||||||
|
|||||||
@@ -6,3 +6,5 @@
|
|||||||
|
|
||||||
DIRS += ['content', 'locales']
|
DIRS += ['content', 'locales']
|
||||||
|
|
||||||
|
DIST_SUBDIR = 'browser'
|
||||||
|
export('DIST_SUBDIR')
|
||||||
|
|||||||
@@ -6,3 +6,5 @@
|
|||||||
|
|
||||||
DIRS += ['content', 'locales']
|
DIRS += ['content', 'locales']
|
||||||
|
|
||||||
|
DIST_SUBDIR = 'browser'
|
||||||
|
export('DIST_SUBDIR')
|
||||||
|
|||||||
@@ -1,2 +1 @@
|
|||||||
DIST_SUBDIR=browser
|
|
||||||
XPI_ROOT_APPID=$(MOZ_APP_ID)
|
XPI_ROOT_APPID=$(MOZ_APP_ID)
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||||
|
|
||||||
STANDALONE_MAKEFILE := 1
|
STANDALONE_MAKEFILE := 1
|
||||||
|
DIST_SUBDIR := browser
|
||||||
|
|
||||||
include $(topsrcdir)/config/rules.mk
|
include $(topsrcdir)/config/rules.mk
|
||||||
|
|
||||||
|
|||||||
@@ -4,8 +4,6 @@
|
|||||||
|
|
||||||
include $(topsrcdir)/config/config.mk
|
include $(topsrcdir)/config/config.mk
|
||||||
|
|
||||||
DIST_SUBDIR=metro
|
|
||||||
|
|
||||||
DEFINES += -DAB_CD=$(MOZ_UI_LOCALE) \
|
DEFINES += -DAB_CD=$(MOZ_UI_LOCALE) \
|
||||||
-DPACKAGE=browser \
|
-DPACKAGE=browser \
|
||||||
-DMOZ_APP_VERSION=$(MOZ_APP_VERSION) \
|
-DMOZ_APP_VERSION=$(MOZ_APP_VERSION) \
|
||||||
|
|||||||
@@ -6,3 +6,5 @@
|
|||||||
|
|
||||||
METRO_CHROME_MANIFESTS += ['tests/mochiperf/metro.ini', 'tests/mochitest/metro.ini']
|
METRO_CHROME_MANIFESTS += ['tests/mochiperf/metro.ini', 'tests/mochitest/metro.ini']
|
||||||
XPCSHELL_TESTS_MANIFESTS += ['tests/unit/xpcshell.ini']
|
XPCSHELL_TESTS_MANIFESTS += ['tests/unit/xpcshell.ini']
|
||||||
|
|
||||||
|
DIST_SUBDIR = 'metro'
|
||||||
|
|||||||
@@ -1,2 +1 @@
|
|||||||
DIST_SUBDIR=metro
|
|
||||||
XPI_ROOT_APPID={99bceaaa-e3c6-48c1-b981-ef9b46b67d60}
|
XPI_ROOT_APPID={99bceaaa-e3c6-48c1-b981-ef9b46b67d60}
|
||||||
|
|||||||
@@ -15,3 +15,5 @@ DIRS += [
|
|||||||
|
|
||||||
if CONFIG['OS_ARCH'] == 'WINNT':
|
if CONFIG['OS_ARCH'] == 'WINNT':
|
||||||
DIRS += ['shell']
|
DIRS += ['shell']
|
||||||
|
|
||||||
|
DIST_SUBDIR = 'metro'
|
||||||
|
|||||||
@@ -6,9 +6,6 @@ NO_PROFILE_GUIDED_OPTIMIZE = 1
|
|||||||
|
|
||||||
include $(topsrcdir)/config/config.mk
|
include $(topsrcdir)/config/config.mk
|
||||||
|
|
||||||
# We want this exe in dist/bin
|
|
||||||
DIST_SUBDIR =
|
|
||||||
|
|
||||||
DIST_PROGRAM = CommandExecuteHandler$(BIN_SUFFIX)
|
DIST_PROGRAM = CommandExecuteHandler$(BIN_SUFFIX)
|
||||||
|
|
||||||
# Don't link against mozglue.dll
|
# Don't link against mozglue.dll
|
||||||
|
|||||||
@@ -10,3 +10,6 @@ CPP_SOURCES += [
|
|||||||
'CEHHelper.cpp',
|
'CEHHelper.cpp',
|
||||||
'CommandExecuteHandler.cpp',
|
'CommandExecuteHandler.cpp',
|
||||||
]
|
]
|
||||||
|
|
||||||
|
# We want this exe in dist/bin
|
||||||
|
DIST_SUBDIR = ''
|
||||||
|
|||||||
@@ -6,8 +6,6 @@ NO_PROFILE_GUIDED_OPTIMIZE = 1
|
|||||||
|
|
||||||
include $(topsrcdir)/config/config.mk
|
include $(topsrcdir)/config/config.mk
|
||||||
|
|
||||||
DIST_SUBDIR = metro/install
|
|
||||||
|
|
||||||
OS_LIBS = \
|
OS_LIBS = \
|
||||||
kernel32.lib \
|
kernel32.lib \
|
||||||
user32.lib \
|
user32.lib \
|
||||||
|
|||||||
@@ -9,3 +9,5 @@ PROGRAM = 'linktool'
|
|||||||
CPP_SOURCES += [
|
CPP_SOURCES += [
|
||||||
'linktool.cpp',
|
'linktool.cpp',
|
||||||
]
|
]
|
||||||
|
|
||||||
|
DIST_SUBDIR = 'metro/install'
|
||||||
|
|||||||
@@ -13,9 +13,6 @@ NO_PROFILE_GUIDED_OPTIMIZE = 1
|
|||||||
|
|
||||||
include $(topsrcdir)/config/config.mk
|
include $(topsrcdir)/config/config.mk
|
||||||
|
|
||||||
# We want this exe in dist/bin
|
|
||||||
DIST_SUBDIR =
|
|
||||||
|
|
||||||
OS_LIBS = \
|
OS_LIBS = \
|
||||||
kernel32.lib \
|
kernel32.lib \
|
||||||
user32.lib \
|
user32.lib \
|
||||||
|
|||||||
@@ -9,3 +9,6 @@ PROGRAM = 'metrotestharness'
|
|||||||
CPP_SOURCES += [
|
CPP_SOURCES += [
|
||||||
'metrotestharness.cpp',
|
'metrotestharness.cpp',
|
||||||
]
|
]
|
||||||
|
|
||||||
|
# We want this exe in dist/bin
|
||||||
|
DIST_SUBDIR = ''
|
||||||
|
|||||||
@@ -27,3 +27,5 @@ if CONFIG['MOZ_METRO']:
|
|||||||
if CONFIG['MAKENSISU']:
|
if CONFIG['MAKENSISU']:
|
||||||
DIRS += ['installer/windows']
|
DIRS += ['installer/windows']
|
||||||
|
|
||||||
|
DIST_SUBDIR = 'browser'
|
||||||
|
export('DIST_SUBDIR')
|
||||||
|
|||||||
@@ -710,7 +710,7 @@ class BuildReader(object):
|
|||||||
'var': var}
|
'var': var}
|
||||||
if 'exports' in sandbox.metadata:
|
if 'exports' in sandbox.metadata:
|
||||||
sandbox.recompute_exports()
|
sandbox.recompute_exports()
|
||||||
recurse_info[d]['exports'] = sandbox.metadata['exports']
|
recurse_info[d]['exports'] = dict(sandbox.metadata['exports'])
|
||||||
|
|
||||||
# We also have tiers whose members are directories.
|
# We also have tiers whose members are directories.
|
||||||
if 'TIERS' in sandbox:
|
if 'TIERS' in sandbox:
|
||||||
|
|||||||
@@ -5,9 +5,6 @@
|
|||||||
# Include config.mk explicitly so we can override FINAL_TARGET.
|
# Include config.mk explicitly so we can override FINAL_TARGET.
|
||||||
include $(topsrcdir)/config/config.mk
|
include $(topsrcdir)/config/config.mk
|
||||||
|
|
||||||
# Place webapprt resources in a separate app dir
|
|
||||||
DIST_SUBDIR = webapprt
|
|
||||||
|
|
||||||
PREF_JS_EXPORTS = $(srcdir)/prefs.js \
|
PREF_JS_EXPORTS = $(srcdir)/prefs.js \
|
||||||
$(NULL)
|
$(NULL)
|
||||||
|
|
||||||
|
|||||||
@@ -1,2 +1 @@
|
|||||||
DIST_SUBDIR=webapprt
|
|
||||||
XPI_ROOT_APPID=webapprt@mozilla.org
|
XPI_ROOT_APPID=webapprt@mozilla.org
|
||||||
|
|||||||
@@ -32,3 +32,6 @@ EXTRA_JS_MODULES += [
|
|||||||
MOCHITEST_WEBAPPRT_CHROME_MANIFESTS += ['test/chrome/webapprt.ini']
|
MOCHITEST_WEBAPPRT_CHROME_MANIFESTS += ['test/chrome/webapprt.ini']
|
||||||
MOCHITEST_MANIFESTS += ['test/content/mochitest.ini']
|
MOCHITEST_MANIFESTS += ['test/content/mochitest.ini']
|
||||||
|
|
||||||
|
# Place webapprt resources in a separate app dir
|
||||||
|
DIST_SUBDIR = 'webapprt'
|
||||||
|
export('DIST_SUBDIR')
|
||||||
|
|||||||
Reference in New Issue
Block a user