mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-28 21:28:55 +00:00
Bug 1043289 - Don't declare SOURCES and USE_LIBS when there is nothing to build. r=mshal
This commit is contained in:
parent
628443a0e1
commit
1b6283507b
@ -7,14 +7,11 @@
|
||||
NO_DIST_INSTALL = True
|
||||
DIRS += ['inject']
|
||||
|
||||
SOURCES += [
|
||||
'test-array.c',
|
||||
'test-ctors.c',
|
||||
]
|
||||
|
||||
if not CONFIG['CROSS_COMPILE']:
|
||||
SOURCES += [
|
||||
'dummy.c',
|
||||
'test-array.c',
|
||||
'test-ctors.c',
|
||||
]
|
||||
|
||||
HOST_SOURCES += [
|
||||
|
@ -4,13 +4,9 @@
|
||||
# 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 CONFIG['MOZ_ENABLE_SIGNMAR']:
|
||||
PROGRAM = 'signmar'
|
||||
|
||||
SOURCES = [
|
||||
HOST_SOURCES += [
|
||||
'mar.c',
|
||||
]
|
||||
HOST_SOURCES += SOURCES
|
||||
|
||||
HOST_PROGRAM = 'mar'
|
||||
|
||||
@ -18,6 +14,17 @@ HOST_USE_LIBS += [
|
||||
'hostmar',
|
||||
]
|
||||
|
||||
if CONFIG['MOZ_ENABLE_SIGNMAR']:
|
||||
PROGRAM = 'signmar'
|
||||
|
||||
SOURCES += HOST_SOURCES
|
||||
|
||||
USE_LIBS += [
|
||||
'mar',
|
||||
'signmar',
|
||||
'verifymar',
|
||||
]
|
||||
|
||||
for var in ('MAR_CHANNEL_ID', 'MOZ_APP_VERSION'):
|
||||
DEFINES[var] = '"%s"' % CONFIG[var]
|
||||
|
||||
@ -30,13 +37,3 @@ elif CONFIG['OS_ARCH'] == 'Darwin':
|
||||
LDFLAGS += [
|
||||
'-framework Security',
|
||||
]
|
||||
|
||||
USE_LIBS += [
|
||||
'mar',
|
||||
]
|
||||
|
||||
if CONFIG['MOZ_ENABLE_SIGNMAR']:
|
||||
USE_LIBS += [
|
||||
'signmar',
|
||||
'verifymar',
|
||||
]
|
||||
|
@ -6,11 +6,10 @@
|
||||
|
||||
if CONFIG['OS_TARGET'] != 'Android':
|
||||
PROGRAM = 'crashreporter'
|
||||
# The xpcshell test case here verifies that the CA certificate list
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
'crashreporter.cpp',
|
||||
]
|
||||
UNIFIED_SOURCES += [
|
||||
'crashreporter.cpp',
|
||||
]
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
'../google-breakpad/src',
|
||||
|
Loading…
x
Reference in New Issue
Block a user