mirror of
https://chromium.googlesource.com/libyuv/libyuv
synced 2025-12-07 17:26:49 +08:00
Enable building with Native Client.
This requires you don't have target_os=["ios"] set in your libyuv root .gclient file, since that will make native_client not being downloaded due to https://code.google.com/p/chromium/codesearch#chromium/src/DEPS&l=357 BUG=libyuv:573 TESTED= rm chromium/.last_sync_chromium rm chromium/.gclient.tmp_entries gclient sync native_client/build/gyp_nacl all.gyp -Dgtest_target_type=executable -Dmsan=0 -Duse_system_yasm=0 ninja -C out/Debug Review URL: https://codereview.chromium.org/1845003004 .
This commit is contained in:
parent
9c53ff2c57
commit
361d8b8156
2
.gitignore
vendored
2
.gitignore
vendored
@ -9,6 +9,8 @@ pin-log.txt
|
|||||||
/chromium/src/
|
/chromium/src/
|
||||||
/google_apis
|
/google_apis
|
||||||
/links
|
/links
|
||||||
|
/links.db
|
||||||
|
/native_client
|
||||||
/net
|
/net
|
||||||
/out
|
/out
|
||||||
/sde-avx-sse-transition-out.txt
|
/sde-avx-sse-transition-out.txt
|
||||||
|
|||||||
@ -5,7 +5,6 @@ solutions = [{
|
|||||||
'managed': False,
|
'managed': False,
|
||||||
'custom_deps': {
|
'custom_deps': {
|
||||||
# Skip syncing some large dependencies Libyuv will never need.
|
# Skip syncing some large dependencies Libyuv will never need.
|
||||||
'src/native_client': None,
|
|
||||||
'src/third_party/cld_2/src': None,
|
'src/third_party/cld_2/src': None,
|
||||||
'src/third_party/ffmpeg': None,
|
'src/third_party/ffmpeg': None,
|
||||||
'src/third_party/hunspell_dictionaries': None,
|
'src/third_party/hunspell_dictionaries': None,
|
||||||
|
|||||||
@ -35,6 +35,7 @@ DIRECTORIES = [
|
|||||||
'build',
|
'build',
|
||||||
'buildtools',
|
'buildtools',
|
||||||
'google_apis', # Needed by build/common.gypi.
|
'google_apis', # Needed by build/common.gypi.
|
||||||
|
'native_client',
|
||||||
'net',
|
'net',
|
||||||
'testing',
|
'testing',
|
||||||
'third_party/binutils',
|
'third_party/binutils',
|
||||||
|
|||||||
@ -86,8 +86,6 @@ def main():
|
|||||||
env = os.environ.copy()
|
env = os.environ.copy()
|
||||||
|
|
||||||
# Avoid downloading NaCl toolchain as part of the Chromium hooks.
|
# Avoid downloading NaCl toolchain as part of the Chromium hooks.
|
||||||
env.setdefault('GYP_DEFINES', '')
|
|
||||||
env['GYP_DEFINES'] += ' disable_nacl=1'
|
|
||||||
env['GYP_CHROMIUM_NO_ACTION'] = '1'
|
env['GYP_CHROMIUM_NO_ACTION'] = '1'
|
||||||
gclient_cmd = 'gclient.bat' if sys.platform.startswith('win') else 'gclient'
|
gclient_cmd = 'gclient.bat' if sys.platform.startswith('win') else 'gclient'
|
||||||
args = [
|
args = [
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user