Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(62)

Side by Side Diff: build/common.gypi

Issue 199633004: Put the syzygy targets behind a 'syzygy_optimize' flag. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « build/all.gyp ('k') | chrome/chrome_syzygy.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 # IMPORTANT: 5 # IMPORTANT:
6 # Please don't directly include this file if you are building via gyp_chromium, 6 # Please don't directly include this file if you are building via gyp_chromium,
7 # since gyp_chromium is automatically forcing its inclusion. 7 # since gyp_chromium is automatically forcing its inclusion.
8 { 8 {
9 # Variables expected to be overriden on the GYP command line (-D) or by 9 # Variables expected to be overriden on the GYP command line (-D) or by
10 # ~/.gyp/include.gypi. 10 # ~/.gyp/include.gypi.
(...skipping 503 matching lines...) Expand 10 before | Expand all | Expand 10 after
514 'data_reduction_fallback_host%' : '', 514 'data_reduction_fallback_host%' : '',
515 'data_reduction_dev_host%' : '', 515 'data_reduction_dev_host%' : '',
516 'spdy_proxy_auth_origin%' : '', 516 'spdy_proxy_auth_origin%' : '',
517 'spdy_proxy_auth_property%' : '', 517 'spdy_proxy_auth_property%' : '',
518 'spdy_proxy_auth_value%' : '', 518 'spdy_proxy_auth_value%' : '',
519 'data_reduction_proxy_probe_url%' : '', 519 'data_reduction_proxy_probe_url%' : '',
520 'enable_mdns%' : 0, 520 'enable_mdns%' : 0,
521 'enable_enhanced_bookmarks%': 0, 521 'enable_enhanced_bookmarks%': 0,
522 'enable_hangout_services_extension%': 0, 522 'enable_hangout_services_extension%': 0,
523 523
524 # Enable the Syzygy optimization step.
525 'syzygy_optimize%': 0,
526
524 'conditions': [ 527 'conditions': [
525 # A flag for POSIX platforms 528 # A flag for POSIX platforms
526 ['OS=="win"', { 529 ['OS=="win"', {
527 'os_posix%': 0, 530 'os_posix%': 0,
528 }, { 531 }, {
529 'os_posix%': 1, 532 'os_posix%': 1,
530 }], 533 }],
531 534
532 # A flag for BSD platforms 535 # A flag for BSD platforms
533 ['OS=="freebsd" or OS=="openbsd"', { 536 ['OS=="freebsd" or OS=="openbsd"', {
(...skipping 409 matching lines...) Expand 10 before | Expand all | Expand 10 after
943 'chromium_win_pch%': '<(chromium_win_pch)', 946 'chromium_win_pch%': '<(chromium_win_pch)',
944 'configuration_policy%': '<(configuration_policy)', 947 'configuration_policy%': '<(configuration_policy)',
945 'safe_browsing%': '<(safe_browsing)', 948 'safe_browsing%': '<(safe_browsing)',
946 'input_speech%': '<(input_speech)', 949 'input_speech%': '<(input_speech)',
947 'notifications%': '<(notifications)', 950 'notifications%': '<(notifications)',
948 'clang_use_chrome_plugins%': '<(clang_use_chrome_plugins)', 951 'clang_use_chrome_plugins%': '<(clang_use_chrome_plugins)',
949 'mac_want_real_dsym%': '<(mac_want_real_dsym)', 952 'mac_want_real_dsym%': '<(mac_want_real_dsym)',
950 'asan%': '<(asan)', 953 'asan%': '<(asan)',
951 'asan_coverage%': '<(asan_coverage)', 954 'asan_coverage%': '<(asan_coverage)',
952 'syzyasan%': '<(syzyasan)', 955 'syzyasan%': '<(syzyasan)',
956 'syzygy_optimize%': '<(syzygy_optimize)',
953 'lsan%': '<(lsan)', 957 'lsan%': '<(lsan)',
954 'msan%': '<(msan)', 958 'msan%': '<(msan)',
955 'msan_blacklist%': '<(msan_blacklist)', 959 'msan_blacklist%': '<(msan_blacklist)',
956 'tsan%': '<(tsan)', 960 'tsan%': '<(tsan)',
957 'tsan_blacklist%': '<(tsan_blacklist)', 961 'tsan_blacklist%': '<(tsan_blacklist)',
958 'use_instrumented_libraries%': '<(use_instrumented_libraries)', 962 'use_instrumented_libraries%': '<(use_instrumented_libraries)',
959 'use_custom_libcxx%': '<(use_custom_libcxx)', 963 'use_custom_libcxx%': '<(use_custom_libcxx)',
960 'clang_type_profiler%': '<(clang_type_profiler)', 964 'clang_type_profiler%': '<(clang_type_profiler)',
961 'order_profiling%': '<(order_profiling)', 965 'order_profiling%': '<(order_profiling)',
962 'order_text_section%': '<(order_text_section)', 966 'order_text_section%': '<(order_text_section)',
(...skipping 328 matching lines...) Expand 10 before | Expand all | Expand 10 after
1291 'enable_ipc_fuzzer%': 0, 1295 'enable_ipc_fuzzer%': 0,
1292 1296
1293 1297
1294 # Force disable libstdc++ debug mode. 1298 # Force disable libstdc++ debug mode.
1295 'disable_glibcxx_debug%': 0, 1299 'disable_glibcxx_debug%': 0,
1296 1300
1297 # Set to 1 to compile with the hole punching for the protected video. 1301 # Set to 1 to compile with the hole punching for the protected video.
1298 'video_hole%': 0, 1302 'video_hole%': 0,
1299 1303
1300 'conditions': [ 1304 'conditions': [
1305 # Enable the Syzygy optimization step for the official builds.
1306 ['OS=="win" and buildtype=="Official" and syzyasan!=1', {
1307 'syzygy_optimize%': 1,
1308 }, {
1309 'syzygy_optimize%': 0,
1310 }],
1311
1301 # The version of GCC in use, set later in platforms that use GCC and have 1312 # The version of GCC in use, set later in platforms that use GCC and have
1302 # not explicitly chosen to build with clang. Currently, this means all 1313 # not explicitly chosen to build with clang. Currently, this means all
1303 # platforms except Windows, Mac and iOS. 1314 # platforms except Windows, Mac and iOS.
1304 # TODO(glider): set clang to 1 earlier for ASan and TSan builds so that 1315 # TODO(glider): set clang to 1 earlier for ASan and TSan builds so that
1305 # it takes effect here. 1316 # it takes effect here.
1306 ['os_posix==1 and OS!="mac" and OS!="ios" and clang==0 and asan==0 and lsa n==0 and tsan==0 and msan==0', { 1317 ['os_posix==1 and OS!="mac" and OS!="ios" and clang==0 and asan==0 and lsa n==0 and tsan==0 and msan==0', {
1307 'conditions': [ 1318 'conditions': [
1308 ['OS=="android"', { 1319 ['OS=="android"', {
1309 # We directly set the gcc_version since we know what we use. 1320 # We directly set the gcc_version since we know what we use.
1310 'conditions': [ 1321 'conditions': [
(...skipping 3792 matching lines...) Expand 10 before | Expand all | Expand 10 after
5103 # settings in target dicts. SYMROOT is a special case, because many other 5114 # settings in target dicts. SYMROOT is a special case, because many other
5104 # Xcode variables depend on it, including variables such as 5115 # Xcode variables depend on it, including variables such as
5105 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 5116 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
5106 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 5117 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
5107 # files to appear (when present) in the UI as actual files and not red 5118 # files to appear (when present) in the UI as actual files and not red
5108 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 5119 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
5109 # and therefore SYMROOT, needs to be set at the project level. 5120 # and therefore SYMROOT, needs to be set at the project level.
5110 'SYMROOT': '<(DEPTH)/xcodebuild', 5121 'SYMROOT': '<(DEPTH)/xcodebuild',
5111 }, 5122 },
5112 } 5123 }
OLDNEW
« no previous file with comments | « build/all.gyp ('k') | chrome/chrome_syzygy.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698