Chromium Code Reviews| 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 694 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 705 | 705 |
| 706 # Whether the entire browser uses toolkit-views on Mac instead of Cocoa. | 706 # Whether the entire browser uses toolkit-views on Mac instead of Cocoa. |
| 707 'mac_views_browser%': 0, | 707 'mac_views_browser%': 0, |
| 708 | 708 |
| 709 # By default, use ICU data file (icudtl.dat). | 709 # By default, use ICU data file (icudtl.dat). |
| 710 'icu_use_data_file_flag%': 1, | 710 'icu_use_data_file_flag%': 1, |
| 711 | 711 |
| 712 # Turn on JNI generation optimizations by default. | 712 # Turn on JNI generation optimizations by default. |
| 713 'optimize_jni_generation%': 1, | 713 'optimize_jni_generation%': 1, |
| 714 | 714 |
| 715 # Use vulcanized HTML/CSS/JS resources to speed up WebUI (chrome://) | |
| 716 # pages. https://github.com/polymer/vulcanize | |
| 717 'use_vulcanize%': 1, | |
|
Nico
2015/12/07 21:29:13
1. Do you need to do this in gn too?
2. Have you s
Dan Beam
2015/12/30 05:07:52
Done.
| |
| 718 | |
| 715 'conditions': [ | 719 'conditions': [ |
| 716 # A flag for POSIX platforms | 720 # A flag for POSIX platforms |
| 717 ['OS=="win"', { | 721 ['OS=="win"', { |
| 718 'os_posix%': 0, | 722 'os_posix%': 0, |
| 719 }, { | 723 }, { |
| 720 'os_posix%': 1, | 724 'os_posix%': 1, |
| 721 }], | 725 }], |
| 722 | 726 |
| 723 # A flag for BSD platforms | 727 # A flag for BSD platforms |
| 724 ['OS=="freebsd" or OS=="openbsd"', { | 728 ['OS=="freebsd" or OS=="openbsd"', { |
| (...skipping 519 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1244 'gold_icf_level%': '<(gold_icf_level)', | 1248 'gold_icf_level%': '<(gold_icf_level)', |
| 1245 'video_hole%': '<(video_hole)', | 1249 'video_hole%': '<(video_hole)', |
| 1246 'v8_use_external_startup_data%': '<(v8_use_external_startup_data)', | 1250 'v8_use_external_startup_data%': '<(v8_use_external_startup_data)', |
| 1247 'cfi_vptr%': '<(cfi_vptr)', | 1251 'cfi_vptr%': '<(cfi_vptr)', |
| 1248 'cfi_diag%': '<(cfi_diag)', | 1252 'cfi_diag%': '<(cfi_diag)', |
| 1249 'cfi_blacklist%': '<(cfi_blacklist)', | 1253 'cfi_blacklist%': '<(cfi_blacklist)', |
| 1250 'mac_views_browser%': '<(mac_views_browser)', | 1254 'mac_views_browser%': '<(mac_views_browser)', |
| 1251 'android_app_version_name%': '<(android_app_version_name)', | 1255 'android_app_version_name%': '<(android_app_version_name)', |
| 1252 'android_app_version_code%': '<(android_app_version_code)', | 1256 'android_app_version_code%': '<(android_app_version_code)', |
| 1253 'enable_webvr%': '<(enable_webvr)', | 1257 'enable_webvr%': '<(enable_webvr)', |
| 1258 'use_vulcanize%': '<(use_vulcanize)', | |
| 1254 | 1259 |
| 1255 # Turns on compiler optimizations in V8 in Debug build. | 1260 # Turns on compiler optimizations in V8 in Debug build. |
| 1256 'v8_optimized_debug%': 1, | 1261 'v8_optimized_debug%': 1, |
| 1257 | 1262 |
| 1258 # Use system protobuf instead of bundled one. | 1263 # Use system protobuf instead of bundled one. |
| 1259 'use_system_protobuf%': 0, | 1264 'use_system_protobuf%': 0, |
| 1260 | 1265 |
| 1261 # Use system yasm instead of bundled one. | 1266 # Use system yasm instead of bundled one. |
| 1262 'use_system_yasm%': 0, | 1267 'use_system_yasm%': 0, |
| 1263 | 1268 |
| (...skipping 933 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 2197 ['enable_resource_whitelist_generation==1 and OS!="win"', { | 2202 ['enable_resource_whitelist_generation==1 and OS!="win"', { |
| 2198 'grit_rc_header_format': ['-h', '#define {textual_id} _Pragma("whitelist ed_resource_{numeric_id}") {numeric_id}'], | 2203 'grit_rc_header_format': ['-h', '#define {textual_id} _Pragma("whitelist ed_resource_{numeric_id}") {numeric_id}'], |
| 2199 }], | 2204 }], |
| 2200 ['enable_resource_whitelist_generation==1 and OS=="win"', { | 2205 ['enable_resource_whitelist_generation==1 and OS=="win"', { |
| 2201 'grit_rc_header_format': ['-h', '#define {textual_id} __pragma(message(" whitelisted_resource_{numeric_id}")) {numeric_id}'], | 2206 'grit_rc_header_format': ['-h', '#define {textual_id} __pragma(message(" whitelisted_resource_{numeric_id}")) {numeric_id}'], |
| 2202 }], | 2207 }], |
| 2203 ['enable_mdns==1 or OS=="mac"', { | 2208 ['enable_mdns==1 or OS=="mac"', { |
| 2204 'grit_defines': ['-D', 'enable_service_discovery'], | 2209 'grit_defines': ['-D', 'enable_service_discovery'], |
| 2205 'enable_service_discovery%': 1 | 2210 'enable_service_discovery%': 1 |
| 2206 }], | 2211 }], |
| 2212 ['use_vulcanize==1', { | |
| 2213 'grit_defines': ['-D', 'use_vulcanize'], | |
| 2214 }], | |
| 2207 ['clang_use_chrome_plugins==1', { | 2215 ['clang_use_chrome_plugins==1', { |
| 2208 'variables': { | 2216 'variables': { |
| 2209 'conditions': [ | 2217 'conditions': [ |
| 2210 ['OS!="win"', { | 2218 ['OS!="win"', { |
| 2211 'variables': { | 2219 'variables': { |
| 2212 'conditions': [ | 2220 'conditions': [ |
| 2213 ['OS=="mac" or OS=="ios"', { | 2221 ['OS=="mac" or OS=="ios"', { |
| 2214 'clang_lib_path%': '<!(cd <(DEPTH) && pwd -P)/third_party/ll vm-build/Release+Asserts/lib/libFindBadConstructs.dylib', | 2222 'clang_lib_path%': '<!(cd <(DEPTH) && pwd -P)/third_party/ll vm-build/Release+Asserts/lib/libFindBadConstructs.dylib', |
| 2215 }, { # OS != "mac" or OS != "ios" | 2223 }, { # OS != "mac" or OS != "ios" |
| 2216 'clang_lib_path%': '<!(cd <(DEPTH) && pwd -P)/third_party/ll vm-build/Release+Asserts/lib/libFindBadConstructs.so', | 2224 'clang_lib_path%': '<!(cd <(DEPTH) && pwd -P)/third_party/ll vm-build/Release+Asserts/lib/libFindBadConstructs.so', |
| (...skipping 835 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 3052 }], | 3060 }], |
| 3053 ['video_hole==1', { | 3061 ['video_hole==1', { |
| 3054 'defines': ['VIDEO_HOLE=1'], | 3062 'defines': ['VIDEO_HOLE=1'], |
| 3055 }], | 3063 }], |
| 3056 ['v8_use_external_startup_data==1', { | 3064 ['v8_use_external_startup_data==1', { |
| 3057 'defines': ['V8_USE_EXTERNAL_STARTUP_DATA'], | 3065 'defines': ['V8_USE_EXTERNAL_STARTUP_DATA'], |
| 3058 }], | 3066 }], |
| 3059 ['enable_webvr==1', { | 3067 ['enable_webvr==1', { |
| 3060 'defines': ['ENABLE_WEBVR'], | 3068 'defines': ['ENABLE_WEBVR'], |
| 3061 }], | 3069 }], |
| 3070 ['use_vulcanize==1', { | |
| 3071 'defines': ['USE_VULCANIZE'], | |
| 3072 }], | |
| 3062 | 3073 |
| 3063 # SAFE_BROWSING_DB_LOCAL - service manages a local database. | 3074 # SAFE_BROWSING_DB_LOCAL - service manages a local database. |
| 3064 # SAFE_BROWSING_DB_REMOTE - service talks via API to a database | 3075 # SAFE_BROWSING_DB_REMOTE - service talks via API to a database |
| 3065 # SAFE_BROWSING_CSD - enable client-side phishing detection. | 3076 # SAFE_BROWSING_CSD - enable client-side phishing detection. |
| 3066 ['safe_browsing==1', { | 3077 ['safe_browsing==1', { |
| 3067 'defines': [ | 3078 'defines': [ |
| 3068 # TODO(nparker): Remove existing uses of FULL_SAFE_BROWSING | 3079 # TODO(nparker): Remove existing uses of FULL_SAFE_BROWSING |
| 3069 'FULL_SAFE_BROWSING', | 3080 'FULL_SAFE_BROWSING', |
| 3070 'SAFE_BROWSING_CSD', | 3081 'SAFE_BROWSING_CSD', |
| 3071 'SAFE_BROWSING_DB_LOCAL', | 3082 'SAFE_BROWSING_DB_LOCAL', |
| (...skipping 3298 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 6370 # settings in target dicts. SYMROOT is a special case, because many other | 6381 # settings in target dicts. SYMROOT is a special case, because many other |
| 6371 # Xcode variables depend on it, including variables such as | 6382 # Xcode variables depend on it, including variables such as |
| 6372 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 6383 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
| 6373 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 6384 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
| 6374 # files to appear (when present) in the UI as actual files and not red | 6385 # files to appear (when present) in the UI as actual files and not red |
| 6375 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 6386 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
| 6376 # and therefore SYMROOT, needs to be set at the project level. | 6387 # and therefore SYMROOT, needs to be set at the project level. |
| 6377 'SYMROOT': '<(DEPTH)/xcodebuild', | 6388 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 6378 }, | 6389 }, |
| 6379 } | 6390 } |
| OLD | NEW |