| OLD | NEW |
| 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 684 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 695 | 695 |
| 696 # Allowed level of identical code folding in the gold linker. | 696 # Allowed level of identical code folding in the gold linker. |
| 697 'gold_icf_level%': 'all', | 697 'gold_icf_level%': 'all', |
| 698 | 698 |
| 699 # Libxkbcommon usage. | 699 # Libxkbcommon usage. |
| 700 'use_xkbcommon%': 0, | 700 'use_xkbcommon%': 0, |
| 701 | 701 |
| 702 # Control Flow Integrity for virtual calls and casts. | 702 # Control Flow Integrity for virtual calls and casts. |
| 703 # See http://clang.llvm.org/docs/ControlFlowIntegrity.html | 703 # See http://clang.llvm.org/docs/ControlFlowIntegrity.html |
| 704 'cfi_vptr%': 0, | 704 'cfi_vptr%': 0, |
| 705 'cfi_diag%': 0, |
| 705 | 706 |
| 706 'cfi_blacklist%': '<(PRODUCT_DIR)/../../tools/cfi/blacklist.txt', | 707 'cfi_blacklist%': '<(PRODUCT_DIR)/../../tools/cfi/blacklist.txt', |
| 707 | 708 |
| 708 # Whether the entire browser uses toolkit-views on Mac instead of Cocoa. | 709 # Whether the entire browser uses toolkit-views on Mac instead of Cocoa. |
| 709 'mac_views_browser%': 0, | 710 'mac_views_browser%': 0, |
| 710 | 711 |
| 711 # By default, use ICU data file (icudtl.dat). | 712 # By default, use ICU data file (icudtl.dat). |
| 712 'icu_use_data_file_flag%': 1, | 713 'icu_use_data_file_flag%': 1, |
| 713 | 714 |
| 714 # Turn on JNI generation optimizations by default. | 715 # Turn on JNI generation optimizations by default. |
| (...skipping 518 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1233 'enable_hangout_services_extension%' : '<(enable_hangout_services_extension)
', | 1234 'enable_hangout_services_extension%' : '<(enable_hangout_services_extension)
', |
| 1234 'proprietary_codecs%': '<(proprietary_codecs)', | 1235 'proprietary_codecs%': '<(proprietary_codecs)', |
| 1235 'use_goma%': '<(use_goma)', | 1236 'use_goma%': '<(use_goma)', |
| 1236 'gomadir%': '<(gomadir)', | 1237 'gomadir%': '<(gomadir)', |
| 1237 'use_lto%': '<(use_lto)', | 1238 'use_lto%': '<(use_lto)', |
| 1238 'use_lto_o2%': '<(use_lto_o2)', | 1239 'use_lto_o2%': '<(use_lto_o2)', |
| 1239 'gold_icf_level%': '<(gold_icf_level)', | 1240 'gold_icf_level%': '<(gold_icf_level)', |
| 1240 'video_hole%': '<(video_hole)', | 1241 'video_hole%': '<(video_hole)', |
| 1241 'v8_use_external_startup_data%': '<(v8_use_external_startup_data)', | 1242 'v8_use_external_startup_data%': '<(v8_use_external_startup_data)', |
| 1242 'cfi_vptr%': '<(cfi_vptr)', | 1243 'cfi_vptr%': '<(cfi_vptr)', |
| 1244 'cfi_diag%': '<(cfi_diag)', |
| 1243 'cfi_blacklist%': '<(cfi_blacklist)', | 1245 'cfi_blacklist%': '<(cfi_blacklist)', |
| 1244 'mac_views_browser%': '<(mac_views_browser)', | 1246 'mac_views_browser%': '<(mac_views_browser)', |
| 1245 'android_app_version_name%': '<(android_app_version_name)', | 1247 'android_app_version_name%': '<(android_app_version_name)', |
| 1246 'android_app_version_code%': '<(android_app_version_code)', | 1248 'android_app_version_code%': '<(android_app_version_code)', |
| 1247 'enable_webvr%': '<(enable_webvr)', | 1249 'enable_webvr%': '<(enable_webvr)', |
| 1248 | 1250 |
| 1249 # Turns on compiler optimizations in V8 in Debug build. | 1251 # Turns on compiler optimizations in V8 in Debug build. |
| 1250 'v8_optimized_debug%': 1, | 1252 'v8_optimized_debug%': 1, |
| 1251 | 1253 |
| 1252 # Use system protobuf instead of bundled one. | 1254 # Use system protobuf instead of bundled one. |
| (...skipping 4839 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6092 'target_defaults': { | 6094 'target_defaults': { |
| 6093 'target_conditions': [ | 6095 'target_conditions': [ |
| 6094 ['_toolset=="target"', { | 6096 ['_toolset=="target"', { |
| 6095 'ldflags': [ | 6097 'ldflags': [ |
| 6096 '-flto', | 6098 '-flto', |
| 6097 ], | 6099 ], |
| 6098 }], | 6100 }], |
| 6099 ], | 6101 ], |
| 6100 }, | 6102 }, |
| 6101 }], | 6103 }], |
| 6104 ['cfi_diag==1', { |
| 6105 'target_defaults': { |
| 6106 'target_conditions': [ |
| 6107 ['_toolset=="target"', { |
| 6108 'cflags': [ |
| 6109 '-fno-sanitize-trap=cfi', |
| 6110 '-fsanitize-recover=cfi', |
| 6111 ], |
| 6112 'ldflags': [ |
| 6113 '-fno-sanitize-trap=cfi', |
| 6114 '-fsanitize-recover=cfi', |
| 6115 ], |
| 6116 'xcode_settings': { |
| 6117 'OTHER_CFLAGS': [ |
| 6118 '-fno-sanitize-trap=cfi', |
| 6119 '-fsanitize-recover=cfi', |
| 6120 ], |
| 6121 }, |
| 6122 'msvs_settings': { |
| 6123 'VCCLCompilerTool': { |
| 6124 'AdditionalOptions': [ |
| 6125 '-fno-sanitize-trap=cfi', |
| 6126 '-fsanitize-recover=cfi', |
| 6127 ], |
| 6128 }, |
| 6129 }, |
| 6130 }], |
| 6131 ['_toolset=="target" and _type!="static_library"', { |
| 6132 'xcode_settings': { |
| 6133 'OTHER_LDFLAGS': [ |
| 6134 '-fno-sanitize-trap=cfi', |
| 6135 '-fsanitize-recover=cfi', |
| 6136 ], |
| 6137 }, |
| 6138 }], |
| 6139 ], |
| 6140 }, |
| 6141 }], |
| 6102 ['cfi_vptr==1', { | 6142 ['cfi_vptr==1', { |
| 6103 'target_defaults': { | 6143 'target_defaults': { |
| 6104 'target_conditions': [ | 6144 'target_conditions': [ |
| 6105 ['_toolset=="target"', { | 6145 ['_toolset=="target"', { |
| 6106 'cflags': [ | 6146 'cflags': [ |
| 6107 '-fsanitize=cfi-vcall', | 6147 '-fsanitize=cfi-vcall', |
| 6108 '-fsanitize=cfi-derived-cast', | 6148 '-fsanitize=cfi-derived-cast', |
| 6109 '-fsanitize=cfi-unrelated-cast', | 6149 '-fsanitize=cfi-unrelated-cast', |
| 6110 '-fsanitize-blacklist=<(cfi_blacklist)', | 6150 '-fsanitize-blacklist=<(cfi_blacklist)', |
| 6111 ], | 6151 ], |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6208 # settings in target dicts. SYMROOT is a special case, because many other | 6248 # settings in target dicts. SYMROOT is a special case, because many other |
| 6209 # Xcode variables depend on it, including variables such as | 6249 # Xcode variables depend on it, including variables such as |
| 6210 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 6250 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
| 6211 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 6251 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
| 6212 # files to appear (when present) in the UI as actual files and not red | 6252 # files to appear (when present) in the UI as actual files and not red |
| 6213 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 6253 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
| 6214 # and therefore SYMROOT, needs to be set at the project level. | 6254 # and therefore SYMROOT, needs to be set at the project level. |
| 6215 'SYMROOT': '<(DEPTH)/xcodebuild', | 6255 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 6216 }, | 6256 }, |
| 6217 } | 6257 } |
| OLD | NEW |