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

Side by Side Diff: build/common.gypi

Issue 723343002: Update from https://crrev.com/304121 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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/android/test_runner.py ('k') | build/config/BUILD.gn » ('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 487 matching lines...) Expand 10 before | Expand all | Expand 10 after
498 # 0: Don't specify the version. This option is for the Finch testing. 498 # 0: Don't specify the version. This option is for the Finch testing.
499 # 1: Use only CLD1. 499 # 1: Use only CLD1.
500 # 2: Use only CLD2. 500 # 2: Use only CLD2.
501 'cld_version%': 2, 501 'cld_version%': 2,
502 502
503 # For CLD2, the size of the tables that should be included in the build 503 # For CLD2, the size of the tables that should be included in the build
504 # Only evaluated if cld_version == 2 or if building the CLD2 dynamic data 504 # Only evaluated if cld_version == 2 or if building the CLD2 dynamic data
505 # tool explicitly. 505 # tool explicitly.
506 # See third_party/cld_2/cld_2.gyp for more information. 506 # See third_party/cld_2/cld_2.gyp for more information.
507 # 0: Small tables, lower accuracy 507 # 0: Small tables, lower accuracy
508 # 1: Medium tables, medium accuracy
509 # 2: Large tables, high accuracy 508 # 2: Large tables, high accuracy
510 'cld2_table_size%': 2, 509 'cld2_table_size%': 2,
511 510
512 # The data acquisition mode for CLD2. Possible values are:
513 # static: CLD2 data is statically linked to the executable.
514 # standalone: CLD2 data is provided in a standalone file that is
515 # bundled with the executable.
516 # component: CLD2 data is provided as a Chrome "component" and is
517 # downloaded via the component updater.
518 #
519 # For more information on switching the CLD2 data source, see:
520 # https://sites.google.com/a/chromium.org/dev/developers/how-tos/compact -language-detector-cld-data-source-configuration
521 #
522 # This string will be exposed in chrome://translate-internals under the
523 # heading "CLD Data Source". This allows easy determination of which
524 # data source the browser was built with.
525 'cld2_data_source%': 'static',
526
527 # Enable spell checker. 511 # Enable spell checker.
528 'enable_spellcheck%': 1, 512 'enable_spellcheck%': 1,
529 513
530 # Webrtc compilation is enabled by default. Set to 0 to disable. 514 # Webrtc compilation is enabled by default. Set to 0 to disable.
531 'enable_webrtc%': 1, 515 'enable_webrtc%': 1,
532 516
533 # Enables use of the session service, which is enabled by default. 517 # Enables use of the session service, which is enabled by default.
534 # Support for disabling depends on the platform. 518 # Support for disabling depends on the platform.
535 'enable_session_service%': 1, 519 'enable_session_service%': 1,
536 520
(...skipping 20 matching lines...) Expand all
557 # Enable FILE support by default. 541 # Enable FILE support by default.
558 'disable_file_support%': 0, 542 'disable_file_support%': 0,
559 543
560 # Enable FTP support by default. 544 # Enable FTP support by default.
561 'disable_ftp_support%': 0, 545 'disable_ftp_support%': 0,
562 546
563 # Use native android functions in place of ICU. Not supported by most 547 # Use native android functions in place of ICU. Not supported by most
564 # components. 548 # components.
565 'use_icu_alternatives_on_android%': 0, 549 'use_icu_alternatives_on_android%': 0,
566 550
567 # XInput2 multitouch support is enabled by default (use_xi2_mt=2).
568 # Setting to zero value disables XI2 MT. When XI2 MT is enabled,
569 # the input value also defines the required XI2 minor minimum version.
570 # For example, use_xi2_mt=2 means XI2.2 or above version is required.
571 'use_xi2_mt%': 2,
572
573 # Use of precompiled headers on Windows. 551 # Use of precompiled headers on Windows.
574 # 552 #
575 # This variable may be explicitly set to 1 (enabled) or 0 553 # This variable may be explicitly set to 1 (enabled) or 0
576 # (disabled) in ~/.gyp/include.gypi or via the GYP command line. 554 # (disabled) in ~/.gyp/include.gypi or via the GYP command line.
577 # This setting will override the default. 555 # This setting will override the default.
578 # 556 #
579 # See 557 # See
580 # http://code.google.com/p/chromium/wiki/WindowsPrecompiledHeaders 558 # http://code.google.com/p/chromium/wiki/WindowsPrecompiledHeaders
581 # for details. 559 # for details.
582 'chromium_win_pch%': 0, 560 'chromium_win_pch%': 0,
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after
806 }], 784 }],
807 785
808 ['OS=="ios"', { 786 ['OS=="ios"', {
809 'disable_ftp_support%': 1, 787 'disable_ftp_support%': 1,
810 'enable_extensions%': 0, 788 'enable_extensions%': 0,
811 'enable_google_now%': 0, 789 'enable_google_now%': 0,
812 'cld_version%': 1, 790 'cld_version%': 1,
813 'enable_basic_printing%': 0, 791 'enable_basic_printing%': 0,
814 'enable_print_preview%': 0, 792 'enable_print_preview%': 0,
815 'enable_session_service%': 0, 793 'enable_session_service%': 0,
794 'enable_spellcheck%': 0,
816 'enable_themes%': 0, 795 'enable_themes%': 0,
817 'enable_webrtc%': 0, 796 'enable_webrtc%': 0,
818 'notifications%': 0, 797 'notifications%': 0,
819 'remoting%': 0, 798 'remoting%': 0,
820 'safe_browsing%': 0, 799 'safe_browsing%': 0,
821 'enable_managed_users%': 0, 800 'enable_managed_users%': 0,
822 'enable_task_manager%': 0, 801 'enable_task_manager%': 0,
823 'use_system_libcxx%': 1, 802 'use_system_libcxx%': 1,
824 'support_pre_M6_history_database%': 0, 803 'support_pre_M6_history_database%': 0,
825 }], 804 }],
(...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after
1106 'use_ozone_evdev%': '<(use_ozone_evdev)', 1085 'use_ozone_evdev%': '<(use_ozone_evdev)',
1107 'use_clipboard_aurax11%': '<(use_clipboard_aurax11)', 1086 'use_clipboard_aurax11%': '<(use_clipboard_aurax11)',
1108 'desktop_linux%': '<(desktop_linux)', 1087 'desktop_linux%': '<(desktop_linux)',
1109 'use_x11%': '<(use_x11)', 1088 'use_x11%': '<(use_x11)',
1110 'use_gnome_keyring%': '<(use_gnome_keyring)', 1089 'use_gnome_keyring%': '<(use_gnome_keyring)',
1111 'linux_fpic%': '<(linux_fpic)', 1090 'linux_fpic%': '<(linux_fpic)',
1112 'chromeos%': '<(chromeos)', 1091 'chromeos%': '<(chromeos)',
1113 'chromecast%': '<(chromecast)', 1092 'chromecast%': '<(chromecast)',
1114 'enable_viewport%': '<(enable_viewport)', 1093 'enable_viewport%': '<(enable_viewport)',
1115 'enable_hidpi%': '<(enable_hidpi)', 1094 'enable_hidpi%': '<(enable_hidpi)',
1116 'use_xi2_mt%':'<(use_xi2_mt)',
1117 'image_loader_extension%': '<(image_loader_extension)', 1095 'image_loader_extension%': '<(image_loader_extension)',
1118 'fastbuild%': '<(fastbuild)', 1096 'fastbuild%': '<(fastbuild)',
1119 'dont_embed_build_metadata%': '<(dont_embed_build_metadata)', 1097 'dont_embed_build_metadata%': '<(dont_embed_build_metadata)',
1120 'win_z7%': '<(win_z7)', 1098 'win_z7%': '<(win_z7)',
1121 'dcheck_always_on%': '<(dcheck_always_on)', 1099 'dcheck_always_on%': '<(dcheck_always_on)',
1122 'tracing_like_official_build%': '<(tracing_like_official_build)', 1100 'tracing_like_official_build%': '<(tracing_like_official_build)',
1123 'arm_version%': '<(arm_version)', 1101 'arm_version%': '<(arm_version)',
1124 'arm_neon%': '<(arm_neon)', 1102 'arm_neon%': '<(arm_neon)',
1125 'arm_neon_optional%': '<(arm_neon_optional)', 1103 'arm_neon_optional%': '<(arm_neon_optional)',
1126 'sysroot%': '<(sysroot)', 1104 'sysroot%': '<(sysroot)',
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
1179 'use_canvas_skia%': '<(use_canvas_skia)', 1157 'use_canvas_skia%': '<(use_canvas_skia)',
1180 'test_isolation_mode%': '<(test_isolation_mode)', 1158 'test_isolation_mode%': '<(test_isolation_mode)',
1181 'test_isolation_outdir%': '<(test_isolation_outdir)', 1159 'test_isolation_outdir%': '<(test_isolation_outdir)',
1182 'test_isolation_fail_on_missing': '<(test_isolation_fail_on_missing)', 1160 'test_isolation_fail_on_missing': '<(test_isolation_fail_on_missing)',
1183 'enable_basic_printing%': '<(enable_basic_printing)', 1161 'enable_basic_printing%': '<(enable_basic_printing)',
1184 'enable_print_preview%': '<(enable_print_preview)', 1162 'enable_print_preview%': '<(enable_print_preview)',
1185 'enable_spellcheck%': '<(enable_spellcheck)', 1163 'enable_spellcheck%': '<(enable_spellcheck)',
1186 'enable_google_now%': '<(enable_google_now)', 1164 'enable_google_now%': '<(enable_google_now)',
1187 'cld_version%': '<(cld_version)', 1165 'cld_version%': '<(cld_version)',
1188 'cld2_table_size%': '<(cld2_table_size)', 1166 'cld2_table_size%': '<(cld2_table_size)',
1189 'cld2_data_source%': '<(cld2_data_source)',
1190 'enable_captive_portal_detection%': '<(enable_captive_portal_detection)', 1167 'enable_captive_portal_detection%': '<(enable_captive_portal_detection)',
1191 'disable_file_support%': '<(disable_file_support)', 1168 'disable_file_support%': '<(disable_file_support)',
1192 'disable_ftp_support%': '<(disable_ftp_support)', 1169 'disable_ftp_support%': '<(disable_ftp_support)',
1193 'use_icu_alternatives_on_android%': '<(use_icu_alternatives_on_android)', 1170 'use_icu_alternatives_on_android%': '<(use_icu_alternatives_on_android)',
1194 'enable_task_manager%': '<(enable_task_manager)', 1171 'enable_task_manager%': '<(enable_task_manager)',
1195 'sas_dll_path%': '<(sas_dll_path)', 1172 'sas_dll_path%': '<(sas_dll_path)',
1196 'wix_path%': '<(wix_path)', 1173 'wix_path%': '<(wix_path)',
1197 'use_libjpeg_turbo%': '<(use_libjpeg_turbo)', 1174 'use_libjpeg_turbo%': '<(use_libjpeg_turbo)',
1198 'use_system_libjpeg%': '<(use_system_libjpeg)', 1175 'use_system_libjpeg%': '<(use_system_libjpeg)',
1199 'android_channel%': '<(android_channel)', 1176 'android_channel%': '<(android_channel)',
(...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after
1481 1458
1482 # Use brlapi from brltty for braille display support. 1459 # Use brlapi from brltty for braille display support.
1483 'use_brlapi%': 0, 1460 'use_brlapi%': 0,
1484 1461
1485 # Relative path to icu.gyp from this file. 1462 # Relative path to icu.gyp from this file.
1486 'icu_gyp_path': '../third_party/icu/icu.gyp', 1463 'icu_gyp_path': '../third_party/icu/icu.gyp',
1487 1464
1488 # IPC fuzzer is disabled by default. 1465 # IPC fuzzer is disabled by default.
1489 'enable_ipc_fuzzer%': 0, 1466 'enable_ipc_fuzzer%': 0,
1490 1467
1491
1492 # Force disable libstdc++ debug mode. 1468 # Force disable libstdc++ debug mode.
1493 'disable_glibcxx_debug%': 0, 1469 'disable_glibcxx_debug%': 0,
1494 1470
1495 # Set to 1 to compile with MSE support for MPEG2 TS 1471 # Set to 1 to compile with MSE support for MPEG2 TS
1496 'enable_mpeg2ts_stream_parser%': 0, 1472 'enable_mpeg2ts_stream_parser%': 0,
1497 1473
1498 # Support ChromeOS touchpad gestures with ozone. 1474 # Support ChromeOS touchpad gestures with ozone.
1499 'use_evdev_gestures%': 0, 1475 'use_evdev_gestures%': 0,
1500 1476
1501 # Default ozone platform (if no --ozone-platform flag). 1477 # Default ozone platform (if no --ozone-platform flag).
1502 'ozone_platform%': "", 1478 'ozone_platform%': "",
1503 1479
1504 # Ozone platforms to include in the build. 1480 # Ozone platforms to include in the build.
1505 'ozone_platform_caca%': 0, 1481 'ozone_platform_caca%': 0,
1506 'ozone_platform_dri%': 0, 1482 'ozone_platform_dri%': 0,
1507 'ozone_platform_egltest%': 0, 1483 'ozone_platform_egltest%': 0,
1508 'ozone_platform_gbm%': 0, 1484 'ozone_platform_gbm%': 0,
1509 'ozone_platform_ozonex%': 0, 1485 'ozone_platform_ozonex%': 0,
1510 'ozone_platform_test%': 0, 1486 'ozone_platform_test%': 0,
1511 1487
1488 # Whether the browser is non-native (using Views Toolkit) on Mac.
1489 'mac_views_browser%': 0,
1490
1491 # Experiment: http://crbug.com/426914
1492 'envoy%': 0,
1493
1512 'conditions': [ 1494 'conditions': [
1513 ['buildtype=="Official"', { 1495 ['buildtype=="Official"', {
1514 # Continue to embed build meta data in Official builds, basically the 1496 # Continue to embed build meta data in Official builds, basically the
1515 # time it was built. 1497 # time it was built.
1516 # TODO(maruel): This decision should be revisited because having an 1498 # TODO(maruel): This decision should be revisited because having an
1517 # official deterministic build has high value too but MSVC toolset can't 1499 # official deterministic build has high value too but MSVC toolset can't
1518 # generate anything deterministic with WPO enabled AFAIK. 1500 # generate anything deterministic with WPO enabled AFAIK.
1519 'dont_embed_build_metadata%': 0, 1501 'dont_embed_build_metadata%': 0,
1520 }], 1502 }],
1521 # Enable the Syzygy optimization step for the official builds. 1503 # Enable the Syzygy optimization step for the official builds.
(...skipping 541 matching lines...) Expand 10 before | Expand all | Expand 10 after
2063 'grit_defines': ['-D', 'use_titlecase'], 2045 'grit_defines': ['-D', 'use_titlecase'],
2064 }], 2046 }],
2065 ['use_third_party_translations==1', { 2047 ['use_third_party_translations==1', {
2066 'grit_defines': ['-D', 'use_third_party_translations'], 2048 'grit_defines': ['-D', 'use_third_party_translations'],
2067 'locales': [ 2049 'locales': [
2068 'ast', 'bs', 'ca@valencia', 'en-AU', 'eo', 'eu', 'gl', 'hy', 'ia', 2050 'ast', 'bs', 'ca@valencia', 'en-AU', 'eo', 'eu', 'gl', 'hy', 'ia',
2069 'ka', 'ku', 'kw', 'ms', 'ug' 2051 'ka', 'ku', 'kw', 'ms', 'ug'
2070 ], 2052 ],
2071 }], 2053 }],
2072 ['OS=="android"', { 2054 ['OS=="android"', {
2073 'grit_defines': ['-t', 'android', 2055 'grit_defines': [
2074 '-E', 'ANDROID_JAVA_TAGGED_ONLY=true'], 2056 '-t', 'android',
2057 '-E', 'ANDROID_JAVA_TAGGED_ONLY=true',
2058 '--no-output-all-resource-defines',
2059 ],
2075 }], 2060 }],
2076 ['OS=="mac" or OS=="ios"', { 2061 ['OS=="mac" or OS=="ios"', {
2077 'grit_defines': ['-D', 'scale_factors=2x'], 2062 'grit_defines': ['-D', 'scale_factors=2x'],
2078 }], 2063 }],
2079 ['OS == "ios"', { 2064 ['OS == "ios"', {
2080 'grit_defines': [ 2065 'grit_defines': [
2081 '-t', 'ios', 2066 '-t', 'ios',
2082 # iOS uses a whitelist to filter resources. 2067 # iOS uses a whitelist to filter resources.
2083 '-w', '<(DEPTH)/build/ios/grit_whitelist.txt' 2068 '-w', '<(DEPTH)/build/ios/grit_whitelist.txt',
2069 '--no-output-all-resource-defines',
2084 ], 2070 ],
2085 2071
2086 # Enable host builds when generating with ninja-ios. 2072 # Enable host builds when generating with ninja-ios.
2087 'conditions': [ 2073 'conditions': [
2088 ['"<(GENERATOR)"=="ninja"', { 2074 ['"<(GENERATOR)"=="ninja"', {
2089 'host_os%': "mac", 2075 'host_os%': "mac",
2090 }], 2076 }],
2091 2077
2092 # TODO(sdefresne): Remove the target_subarch check once Apple has 2078 # TODO(sdefresne): Remove the target_subarch check once Apple has
2093 # upstreamed the support for "arm64". http://crbug.com/341453 2079 # upstreamed the support for "arm64". http://crbug.com/341453
(...skipping 388 matching lines...) Expand 10 before | Expand all | Expand 10 after
2482 # See http://msdn.microsoft.com/en-us/library/aa652367.aspx 2468 # See http://msdn.microsoft.com/en-us/library/aa652367.aspx
2483 'win_release_RuntimeLibrary%': '0', # 0 = /MT (nondebug static) 2469 'win_release_RuntimeLibrary%': '0', # 0 = /MT (nondebug static)
2484 'win_debug_RuntimeLibrary%': '1', # 1 = /MTd (debug static) 2470 'win_debug_RuntimeLibrary%': '1', # 1 = /MTd (debug static)
2485 }], 2471 }],
2486 ['OS=="ios"', { 2472 ['OS=="ios"', {
2487 # See http://gcc.gnu.org/onlinedocs/gcc-4.4.2/gcc/Optimize-Options.htm l 2473 # See http://gcc.gnu.org/onlinedocs/gcc-4.4.2/gcc/Optimize-Options.htm l
2488 'mac_release_optimization%': 's', # Use -Os unless overridden 2474 'mac_release_optimization%': 's', # Use -Os unless overridden
2489 'mac_debug_optimization%': '0', # Use -O0 unless overridden 2475 'mac_debug_optimization%': '0', # Use -O0 unless overridden
2490 }, { 2476 }, {
2491 # See http://gcc.gnu.org/onlinedocs/gcc-4.4.2/gcc/Optimize-Options.htm l 2477 # See http://gcc.gnu.org/onlinedocs/gcc-4.4.2/gcc/Optimize-Options.htm l
2492 'mac_release_optimization%': '3', # Use -O3 unless overridden 2478 'mac_release_optimization%': '2', # Use -O2 unless overridden
2493 'mac_debug_optimization%': '0', # Use -O0 unless overridden 2479 'mac_debug_optimization%': '0', # Use -O0 unless overridden
2494 }], 2480 }],
2495 ['OS=="android"', { 2481 ['OS=="android"', {
2496 'host_os%': '<(host_os)', # See comment above chromium_code. 2482 'host_os%': '<(host_os)', # See comment above chromium_code.
2497 }], 2483 }],
2498 ], 2484 ],
2499 'clang_warning_flags': [ 2485 'clang_warning_flags': [
2500 '-Wheader-hygiene', 2486 '-Wheader-hygiene',
2501 2487
2502 # Don't die on dtoa code that uses a char as an array index. 2488 # Don't die on dtoa code that uses a char as an array index.
(...skipping 17 matching lines...) Expand all
2520 # This warns on using ints as initializers for floats in 2506 # This warns on using ints as initializers for floats in
2521 # initializer lists (e.g. |int a = f(); CGSize s = { a, a };|), 2507 # initializer lists (e.g. |int a = f(); CGSize s = { a, a };|),
2522 # which happens in several places in chrome code. Not sure if 2508 # which happens in several places in chrome code. Not sure if
2523 # this is worth fixing. 2509 # this is worth fixing.
2524 '-Wno-c++11-narrowing', 2510 '-Wno-c++11-narrowing',
2525 2511
2526 # Clang considers the `register` keyword as deprecated, but e.g. 2512 # Clang considers the `register` keyword as deprecated, but e.g.
2527 # code generated by flex (used in angle) contains that keyword. 2513 # code generated by flex (used in angle) contains that keyword.
2528 # http://crbug.com/255186 2514 # http://crbug.com/255186
2529 '-Wno-deprecated-register', 2515 '-Wno-deprecated-register',
2530
2531 # TODO(hans): Clean this up. Or disable with finer granularity.
2532 '-Wno-unused-local-typedef',
2533 ], 2516 ],
2534 }, 2517 },
2535 'includes': [ 'set_clang_warning_flags.gypi', ], 2518 'includes': [ 'set_clang_warning_flags.gypi', ],
2536 'defines': [ 2519 'defines': [
2537 # Don't use deprecated V8 APIs anywhere. 2520 # Don't use deprecated V8 APIs anywhere.
2538 'V8_DEPRECATION_WARNINGS', 2521 'V8_DEPRECATION_WARNINGS',
2539 ], 2522 ],
2540 'include_dirs': [ 2523 'include_dirs': [
2541 '<(SHARED_INTERMEDIATE_DIR)', 2524 '<(SHARED_INTERMEDIATE_DIR)',
2542 ], 2525 ],
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
2628 }], 2611 }],
2629 ['use_clipboard_aurax11==1', { 2612 ['use_clipboard_aurax11==1', {
2630 'defines': ['USE_CLIPBOARD_AURAX11=1'], 2613 'defines': ['USE_CLIPBOARD_AURAX11=1'],
2631 }], 2614 }],
2632 ['enable_one_click_signin==1', { 2615 ['enable_one_click_signin==1', {
2633 'defines': ['ENABLE_ONE_CLICK_SIGNIN'], 2616 'defines': ['ENABLE_ONE_CLICK_SIGNIN'],
2634 }], 2617 }],
2635 ['enable_pre_sync_backup==1', { 2618 ['enable_pre_sync_backup==1', {
2636 'defines': ['ENABLE_PRE_SYNC_BACKUP'], 2619 'defines': ['ENABLE_PRE_SYNC_BACKUP'],
2637 }], 2620 }],
2638 ['use_xi2_mt!=0 and use_x11==1', {
2639 'defines': ['USE_XI2_MT=<(use_xi2_mt)'],
2640 }],
2641 ['image_loader_extension==1', { 2621 ['image_loader_extension==1', {
2642 'defines': ['IMAGE_LOADER_EXTENSION=1'], 2622 'defines': ['IMAGE_LOADER_EXTENSION=1'],
2643 }], 2623 }],
2644 ['profiling==1', { 2624 ['profiling==1', {
2645 'defines': ['ENABLE_PROFILING=1'], 2625 'defines': ['ENABLE_PROFILING=1'],
2646 }], 2626 }],
2647 ['remoting==1', { 2627 ['remoting==1', {
2648 'defines': ['ENABLE_REMOTING=1'], 2628 'defines': ['ENABLE_REMOTING=1'],
2649 }], 2629 }],
2650 ['enable_webrtc==1', { 2630 ['enable_webrtc==1', {
(...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after
2918 }], 2898 }],
2919 ['enable_background==1', { 2899 ['enable_background==1', {
2920 'defines': ['ENABLE_BACKGROUND=1'], 2900 'defines': ['ENABLE_BACKGROUND=1'],
2921 }], 2901 }],
2922 ['enable_google_now==1', { 2902 ['enable_google_now==1', {
2923 'defines': ['ENABLE_GOOGLE_NOW=1'], 2903 'defines': ['ENABLE_GOOGLE_NOW=1'],
2924 }], 2904 }],
2925 ['cld_version!=0', { 2905 ['cld_version!=0', {
2926 'defines': ['CLD_VERSION=<(cld_version)'], 2906 'defines': ['CLD_VERSION=<(cld_version)'],
2927 }], 2907 }],
2928 ['cld_version==2', {
2929 # This is used to populate the "CLD Data Source" field in:
2930 # chrome://translate-internals
2931 'defines': ['CLD2_DATA_SOURCE=<(cld2_data_source)'],
2932 }],
2933 ['enable_basic_printing==1 or enable_print_preview==1', { 2908 ['enable_basic_printing==1 or enable_print_preview==1', {
2934 # Convenience define for ENABLE_BASIC_PRINTING || ENABLE_PRINT_PREVIEW. 2909 # Convenience define for ENABLE_BASIC_PRINTING || ENABLE_PRINT_PREVIEW.
2935 'defines': ['ENABLE_PRINTING=1'], 2910 'defines': ['ENABLE_PRINTING=1'],
2936 }], 2911 }],
2937 ['enable_basic_printing==1', { 2912 ['enable_basic_printing==1', {
2938 # Enable basic printing support and UI. 2913 # Enable basic printing support and UI.
2939 'defines': ['ENABLE_BASIC_PRINTING=1'], 2914 'defines': ['ENABLE_BASIC_PRINTING=1'],
2940 }], 2915 }],
2941 ['enable_print_preview==1', { 2916 ['enable_print_preview==1', {
2942 # Enable printing with print preview. 2917 # Enable printing with print preview.
(...skipping 1259 matching lines...) Expand 10 before | Expand all | Expand 10 after
4202 }], 4177 }],
4203 ], 4178 ],
4204 }], 4179 }],
4205 ['ubsan==1', { 4180 ['ubsan==1', {
4206 'target_conditions': [ 4181 'target_conditions': [
4207 ['_toolset=="target"', { 4182 ['_toolset=="target"', {
4208 'cflags': [ 4183 'cflags': [
4209 '-fsanitize=undefined', 4184 '-fsanitize=undefined',
4210 # -fsanitize=vptr is incompatible with -fno-rtti. 4185 # -fsanitize=vptr is incompatible with -fno-rtti.
4211 '-fno-sanitize=vptr', 4186 '-fno-sanitize=vptr',
4187 # Employ the experimental PBQP register allocator to avoid
4188 # slow compilation on files with too many basic blocks.
4189 # See http://crbug.com/426271.
4190 '-mllvm -regalloc=pbqp',
4191 # Speculatively use coalescing to slightly improve the code
4192 # generated by PBQP regallocator. May increase compile time.
4193 '-mllvm -pbqp-coalescing',
4212 ], 4194 ],
4213 'ldflags': [ 4195 'ldflags': [
4214 '-fsanitize=undefined', 4196 '-fsanitize=undefined',
4215 # -fsanitize=vptr is incompatible with -fno-rtti. 4197 # -fsanitize=vptr is incompatible with -fno-rtti.
4216 '-fno-sanitize=vptr', 4198 '-fno-sanitize=vptr',
4217 ], 4199 ],
4218 }], 4200 }],
4219 ], 4201 ],
4220 }], 4202 }],
4221 ['ubsan_vptr==1', { 4203 ['ubsan_vptr==1', {
(...skipping 1697 matching lines...) Expand 10 before | Expand all | Expand 10 after
5919 # settings in target dicts. SYMROOT is a special case, because many other 5901 # settings in target dicts. SYMROOT is a special case, because many other
5920 # Xcode variables depend on it, including variables such as 5902 # Xcode variables depend on it, including variables such as
5921 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 5903 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
5922 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 5904 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
5923 # files to appear (when present) in the UI as actual files and not red 5905 # files to appear (when present) in the UI as actual files and not red
5924 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 5906 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
5925 # and therefore SYMROOT, needs to be set at the project level. 5907 # and therefore SYMROOT, needs to be set at the project level.
5926 'SYMROOT': '<(DEPTH)/xcodebuild', 5908 'SYMROOT': '<(DEPTH)/xcodebuild',
5927 }, 5909 },
5928 } 5910 }
OLDNEW
« no previous file with comments | « build/android/test_runner.py ('k') | build/config/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698