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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 # verification. On other targets, this flag also enables OpenSSL for | 69 # verification. On other targets, this flag also enables OpenSSL for |
70 # certificate verification, but this configuration is unsupported. | 70 # certificate verification, but this configuration is unsupported. |
71 'use_openssl_certs%': 0, | 71 'use_openssl_certs%': 0, |
72 | 72 |
73 # Disable viewport meta tag by default. | 73 # Disable viewport meta tag by default. |
74 'enable_viewport%': 0, | 74 'enable_viewport%': 0, |
75 | 75 |
76 # Enable HiDPI support. | 76 # Enable HiDPI support. |
77 'enable_hidpi%': 0, | 77 'enable_hidpi%': 0, |
78 | 78 |
79 # Enable top chrome material design. | |
80 'enable_topchrome_md%' : 0, | |
81 | |
82 # Enable Wayland display server support. | 79 # Enable Wayland display server support. |
83 'enable_wayland_server%' : 0, | 80 'enable_wayland_server%' : 0, |
84 | 81 |
85 # Enable Wi-Fi Display support. | 82 # Enable Wi-Fi Display support. |
86 # WARNING: This enables MPEG Transport Stream (MPEG-TS) encoding! | 83 # WARNING: This enables MPEG Transport Stream (MPEG-TS) encoding! |
87 'enable_wifi_display%' : 0, | 84 'enable_wifi_display%' : 0, |
88 | 85 |
89 # By default we build against a stable sysroot image to avoid | 86 # By default we build against a stable sysroot image to avoid |
90 # depending on the packages installed on the local machine. Set this | 87 # depending on the packages installed on the local machine. Set this |
91 # to 0 to build against locally installed headers and libraries (e.g. | 88 # to 0 to build against locally installed headers and libraries (e.g. |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
158 'desktop_linux%': '<(desktop_linux)', | 155 'desktop_linux%': '<(desktop_linux)', |
159 'use_aura%': '<(use_aura)', | 156 'use_aura%': '<(use_aura)', |
160 'use_ash%': '<(use_ash)', | 157 'use_ash%': '<(use_ash)', |
161 'use_cras%': '<(use_cras)', | 158 'use_cras%': '<(use_cras)', |
162 'use_ozone%': '<(use_ozone)', | 159 'use_ozone%': '<(use_ozone)', |
163 'embedded%': '<(embedded)', | 160 'embedded%': '<(embedded)', |
164 'use_libpci%': '<(use_libpci)', | 161 'use_libpci%': '<(use_libpci)', |
165 'use_openssl_certs%': '<(use_openssl_certs)', | 162 'use_openssl_certs%': '<(use_openssl_certs)', |
166 'enable_viewport%': '<(enable_viewport)', | 163 'enable_viewport%': '<(enable_viewport)', |
167 'enable_hidpi%': '<(enable_hidpi)', | 164 'enable_hidpi%': '<(enable_hidpi)', |
168 'enable_topchrome_md%': '<(enable_topchrome_md)', | |
169 'enable_wayland_server%': '<(enable_wayland_server)', | 165 'enable_wayland_server%': '<(enable_wayland_server)', |
170 'enable_wifi_display%': '<(enable_wifi_display)', | 166 'enable_wifi_display%': '<(enable_wifi_display)', |
171 'buildtype%': '<(buildtype)', | 167 'buildtype%': '<(buildtype)', |
172 'branding%': '<(branding)', | 168 'branding%': '<(branding)', |
173 'branding_path_component%': '<(branding)', | 169 'branding_path_component%': '<(branding)', |
174 'host_arch%': '<(host_arch)', | 170 'host_arch%': '<(host_arch)', |
175 'target_arch%': '<(target_arch)', | 171 'target_arch%': '<(target_arch)', |
176 'use_sysroot%': '<(use_sysroot)', | 172 'use_sysroot%': '<(use_sysroot)', |
177 | 173 |
178 # Set to true to instrument the code with function call logger. | 174 # Set to true to instrument the code with function call logger. |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
245 'is_cast_desktop_build%': 1, | 241 'is_cast_desktop_build%': 1, |
246 }, { | 242 }, { |
247 'is_cast_desktop_build%': 0, | 243 'is_cast_desktop_build%': 0, |
248 }], | 244 }], |
249 | 245 |
250 # Enable HiDPI on Mac OS, Windows and Linux (including Chrome OS). | 246 # Enable HiDPI on Mac OS, Windows and Linux (including Chrome OS). |
251 ['OS=="mac" or OS=="win" or OS=="linux" or OS=="openbsd" or OS=="freeb
sd"', { | 247 ['OS=="mac" or OS=="win" or OS=="linux" or OS=="openbsd" or OS=="freeb
sd"', { |
252 'enable_hidpi%': 1, | 248 'enable_hidpi%': 1, |
253 }], | 249 }], |
254 | 250 |
255 # Enable Top Chrome Material Design on Chrome OS, Windows, and Linux, | |
256 # Mac, and *BSD. | |
257 ['chromeos==1 or OS=="win" or OS=="linux" or OS=="mac" or OS=="openbsd
" or OS=="freebsd"', { | |
258 'enable_topchrome_md%': 1, | |
259 }], | |
260 | |
261 # Enable App Launcher on ChromeOS only. | 251 # Enable App Launcher on ChromeOS only. |
262 ['chromeos==1', { | 252 ['chromeos==1', { |
263 'enable_app_list%': 1, | 253 'enable_app_list%': 1, |
264 }, { | 254 }, { |
265 'enable_app_list%': 0, | 255 'enable_app_list%': 0, |
266 }], | 256 }], |
267 | 257 |
268 ['use_aura==1 and OS!="android"', { | 258 ['use_aura==1 and OS!="android"', { |
269 'use_default_render_theme%': 1, | 259 'use_default_render_theme%': 1, |
270 }, { | 260 }, { |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
344 'use_ash%': '<(use_ash)', | 334 'use_ash%': '<(use_ash)', |
345 'use_cras%': '<(use_cras)', | 335 'use_cras%': '<(use_cras)', |
346 'use_libpci%': '<(use_libpci)', | 336 'use_libpci%': '<(use_libpci)', |
347 'use_ozone%': '<(use_ozone)', | 337 'use_ozone%': '<(use_ozone)', |
348 'use_ozone_evdev%': '<(use_ozone_evdev)', | 338 'use_ozone_evdev%': '<(use_ozone_evdev)', |
349 'use_clipboard_aurax11%': '<(use_clipboard_aurax11)', | 339 'use_clipboard_aurax11%': '<(use_clipboard_aurax11)', |
350 'embedded%': '<(embedded)', | 340 'embedded%': '<(embedded)', |
351 'use_openssl_certs%': '<(use_openssl_certs)', | 341 'use_openssl_certs%': '<(use_openssl_certs)', |
352 'enable_viewport%': '<(enable_viewport)', | 342 'enable_viewport%': '<(enable_viewport)', |
353 'enable_hidpi%': '<(enable_hidpi)', | 343 'enable_hidpi%': '<(enable_hidpi)', |
354 'enable_topchrome_md%': '<(enable_topchrome_md)', | |
355 'enable_wayland_server%': '<(enable_wayland_server)', | 344 'enable_wayland_server%': '<(enable_wayland_server)', |
356 'enable_wifi_display%': '<(enable_wifi_display)', | 345 'enable_wifi_display%': '<(enable_wifi_display)', |
357 'android_channel%': '<(android_channel)', | 346 'android_channel%': '<(android_channel)', |
358 'use_goma%': '<(use_goma)', | 347 'use_goma%': '<(use_goma)', |
359 'gomadir%': '<(gomadir)', | 348 'gomadir%': '<(gomadir)', |
360 'enable_app_list%': '<(enable_app_list)', | 349 'enable_app_list%': '<(enable_app_list)', |
361 'use_default_render_theme%': '<(use_default_render_theme)', | 350 'use_default_render_theme%': '<(use_default_render_theme)', |
362 'buildtype%': '<(buildtype)', | 351 'buildtype%': '<(buildtype)', |
363 'branding%': '<(branding)', | 352 'branding%': '<(branding)', |
364 'branding_path_component%': '<(branding_path_component)', | 353 'branding_path_component%': '<(branding_path_component)', |
(...skipping 793 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1158 'use_clipboard_aurax11%': '<(use_clipboard_aurax11)', | 1147 'use_clipboard_aurax11%': '<(use_clipboard_aurax11)', |
1159 'desktop_linux%': '<(desktop_linux)', | 1148 'desktop_linux%': '<(desktop_linux)', |
1160 'use_x11%': '<(use_x11)', | 1149 'use_x11%': '<(use_x11)', |
1161 'use_gnome_keyring%': '<(use_gnome_keyring)', | 1150 'use_gnome_keyring%': '<(use_gnome_keyring)', |
1162 'linux_fpic%': '<(linux_fpic)', | 1151 'linux_fpic%': '<(linux_fpic)', |
1163 'chromeos%': '<(chromeos)', | 1152 'chromeos%': '<(chromeos)', |
1164 'chromecast%': '<(chromecast)', | 1153 'chromecast%': '<(chromecast)', |
1165 'is_cast_desktop_build%': '<(is_cast_desktop_build)', | 1154 'is_cast_desktop_build%': '<(is_cast_desktop_build)', |
1166 'enable_viewport%': '<(enable_viewport)', | 1155 'enable_viewport%': '<(enable_viewport)', |
1167 'enable_hidpi%': '<(enable_hidpi)', | 1156 'enable_hidpi%': '<(enable_hidpi)', |
1168 'enable_topchrome_md%': '<(enable_topchrome_md)', | |
1169 'enable_wayland_server%': '<(enable_wayland_server)', | 1157 'enable_wayland_server%': '<(enable_wayland_server)', |
1170 'enable_wifi_display%': '<(enable_wifi_display)', | 1158 'enable_wifi_display%': '<(enable_wifi_display)', |
1171 'image_loader_extension%': '<(image_loader_extension)', | 1159 'image_loader_extension%': '<(image_loader_extension)', |
1172 'fastbuild%': '<(fastbuild)', | 1160 'fastbuild%': '<(fastbuild)', |
1173 'win_z7%': '<(win_z7)', | 1161 'win_z7%': '<(win_z7)', |
1174 'dcheck_always_on%': '<(dcheck_always_on)', | 1162 'dcheck_always_on%': '<(dcheck_always_on)', |
1175 'tracing_like_official_build%': '<(tracing_like_official_build)', | 1163 'tracing_like_official_build%': '<(tracing_like_official_build)', |
1176 'fieldtrial_testing_like_official_build%': '<(fieldtrial_testing_like_offici
al_build)', | 1164 'fieldtrial_testing_like_official_build%': '<(fieldtrial_testing_like_offici
al_build)', |
1177 'arm_version%': '<(arm_version)', | 1165 'arm_version%': '<(arm_version)', |
1178 'arm_neon%': '<(arm_neon)', | 1166 'arm_neon%': '<(arm_neon)', |
(...skipping 1011 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2190 }], | 2178 }], |
2191 ['enable_task_manager==1', { | 2179 ['enable_task_manager==1', { |
2192 'grit_defines': ['-D', 'enable_task_manager'], | 2180 'grit_defines': ['-D', 'enable_task_manager'], |
2193 }], | 2181 }], |
2194 ['notifications==1', { | 2182 ['notifications==1', { |
2195 'grit_defines': ['-D', 'enable_notifications'], | 2183 'grit_defines': ['-D', 'enable_notifications'], |
2196 }], | 2184 }], |
2197 ['mac_views_browser==1', { | 2185 ['mac_views_browser==1', { |
2198 'grit_defines': ['-D', 'mac_views_browser'], | 2186 'grit_defines': ['-D', 'mac_views_browser'], |
2199 }], | 2187 }], |
2200 ['enable_topchrome_md==1', { | |
2201 'grit_defines': ['-D', 'enable_topchrome_md'], | |
2202 }], | |
2203 ['enable_resource_whitelist_generation==1 and OS!="win"', { | 2188 ['enable_resource_whitelist_generation==1 and OS!="win"', { |
2204 'grit_rc_header_format': ['-h', '#define {textual_id} _Pragma("whitelist
ed_resource_{numeric_id}") {numeric_id}'], | 2189 'grit_rc_header_format': ['-h', '#define {textual_id} _Pragma("whitelist
ed_resource_{numeric_id}") {numeric_id}'], |
2205 }], | 2190 }], |
2206 ['enable_resource_whitelist_generation==1 and OS=="win"', { | 2191 ['enable_resource_whitelist_generation==1 and OS=="win"', { |
2207 'grit_rc_header_format': ['-h', '#define {textual_id} __pragma(message("
whitelisted_resource_{numeric_id}")) {numeric_id}'], | 2192 'grit_rc_header_format': ['-h', '#define {textual_id} __pragma(message("
whitelisted_resource_{numeric_id}")) {numeric_id}'], |
2208 }], | 2193 }], |
2209 ['enable_mdns==1 or OS=="mac"', { | 2194 ['enable_mdns==1 or OS=="mac"', { |
2210 'grit_defines': ['-D', 'enable_service_discovery'], | 2195 'grit_defines': ['-D', 'enable_service_discovery'], |
2211 'enable_service_discovery%': 1 | 2196 'enable_service_discovery%': 1 |
2212 }], | 2197 }], |
(...skipping 543 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2756 }], | 2741 }], |
2757 ['enable_pepper_cdms==1', { | 2742 ['enable_pepper_cdms==1', { |
2758 'defines': ['ENABLE_PEPPER_CDMS'], | 2743 'defines': ['ENABLE_PEPPER_CDMS'], |
2759 }], | 2744 }], |
2760 ['enable_browser_cdms==1', { | 2745 ['enable_browser_cdms==1', { |
2761 'defines': ['ENABLE_BROWSER_CDMS'], | 2746 'defines': ['ENABLE_BROWSER_CDMS'], |
2762 }], | 2747 }], |
2763 ['notifications==1', { | 2748 ['notifications==1', { |
2764 'defines': ['ENABLE_NOTIFICATIONS'], | 2749 'defines': ['ENABLE_NOTIFICATIONS'], |
2765 }], | 2750 }], |
2766 ['enable_topchrome_md==1', { | |
2767 'defines': ['ENABLE_TOPCHROME_MD=1'], | |
2768 }], | |
2769 ['enable_wayland_server==1', { | 2751 ['enable_wayland_server==1', { |
2770 'defines': ['ENABLE_WAYLAND_SERVER=1'], | 2752 'defines': ['ENABLE_WAYLAND_SERVER=1'], |
2771 }], | 2753 }], |
2772 ['enable_wifi_display==1', { | 2754 ['enable_wifi_display==1', { |
2773 'defines': ['ENABLE_WIFI_DISPLAY=1'], | 2755 'defines': ['ENABLE_WIFI_DISPLAY=1'], |
2774 }], | 2756 }], |
2775 ['use_udev==1', { | 2757 ['use_udev==1', { |
2776 'defines': ['USE_UDEV'], | 2758 'defines': ['USE_UDEV'], |
2777 }], | 2759 }], |
2778 ['fastbuild!=0', { | 2760 ['fastbuild!=0', { |
(...skipping 3532 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6311 # settings in target dicts. SYMROOT is a special case, because many other | 6293 # settings in target dicts. SYMROOT is a special case, because many other |
6312 # Xcode variables depend on it, including variables such as | 6294 # Xcode variables depend on it, including variables such as |
6313 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 6295 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
6314 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 6296 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
6315 # files to appear (when present) in the UI as actual files and not red | 6297 # files to appear (when present) in the UI as actual files and not red |
6316 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 6298 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
6317 # and therefore SYMROOT, needs to be set at the project level. | 6299 # and therefore SYMROOT, needs to be set at the project level. |
6318 'SYMROOT': '<(DEPTH)/xcodebuild', | 6300 'SYMROOT': '<(DEPTH)/xcodebuild', |
6319 }, | 6301 }, |
6320 } | 6302 } |
OLD | NEW |