Source release 16.3.0
This commit is contained in:
8
build.py
8
build.py
@@ -1,4 +1,4 @@
|
||||
#!/usr/bin/python3
|
||||
#!/usr/bin/python3 -B
|
||||
# Copyright 2018 Google LLC. All Rights Reserved. This file and proprietary
|
||||
# source code may only be used and distributed under the Widevine Master
|
||||
# License Agreement.
|
||||
@@ -247,6 +247,9 @@ def main(args):
|
||||
'jobs will spawn without limit.')
|
||||
parser.add_argument('-D', action='append', default=[],
|
||||
help='Pass variable definitions to gyp.')
|
||||
parser.add_argument('-e', '--extra_gyp', action='append', default=[],
|
||||
help='External gyp file that are processed after the '
|
||||
'standard gyp files. (Maybe be specified multiple times)')
|
||||
parser.add_argument('-ft', '--fuzz_tests', default=False,
|
||||
action='store_true',
|
||||
help='Set this flag if you want to build fuzz tests.')
|
||||
@@ -270,6 +273,9 @@ def main(args):
|
||||
os.path.join(OEMCRYPTO_FUZZTEST_DIR_PATH, 'oemcrypto_fuzztests.gyp'))
|
||||
else:
|
||||
gyp_args.append(os.path.join(CDM_TOP_PATH, 'cdm', 'cdm_unittests.gyp'))
|
||||
for var in options.extra_gyp:
|
||||
gyp_args.append(var)
|
||||
|
||||
for var in options.D:
|
||||
gyp_args.append('-D' + var)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user