| 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 1012 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2191 }], | 2179 }], |
| 2192 ['enable_task_manager==1', { | 2180 ['enable_task_manager==1', { |
| 2193 'grit_defines': ['-D', 'enable_task_manager'], | 2181 'grit_defines': ['-D', 'enable_task_manager'], |
| 2194 }], | 2182 }], |
| 2195 ['notifications==1', { | 2183 ['notifications==1', { |
| 2196 'grit_defines': ['-D', 'enable_notifications'], | 2184 'grit_defines': ['-D', 'enable_notifications'], |
| 2197 }], | 2185 }], |
| 2198 ['mac_views_browser==1', { | 2186 ['mac_views_browser==1', { |
| 2199 'grit_defines': ['-D', 'mac_views_browser'], | 2187 'grit_defines': ['-D', 'mac_views_browser'], |
| 2200 }], | 2188 }], |
| 2201 ['enable_topchrome_md==1', { | |
| 2202 'grit_defines': ['-D', 'enable_topchrome_md'], | |
| 2203 }], | |
| 2204 ['enable_resource_whitelist_generation==1 and OS!="win"', { | 2189 ['enable_resource_whitelist_generation==1 and OS!="win"', { |
| 2205 'grit_rc_header_format': ['-h', '#define {textual_id} _Pragma("whitelist
ed_resource_{numeric_id}") {numeric_id}'], | 2190 'grit_rc_header_format': ['-h', '#define {textual_id} _Pragma("whitelist
ed_resource_{numeric_id}") {numeric_id}'], |
| 2206 }], | 2191 }], |
| 2207 ['enable_resource_whitelist_generation==1 and OS=="win"', { | 2192 ['enable_resource_whitelist_generation==1 and OS=="win"', { |
| 2208 'grit_rc_header_format': ['-h', '#define {textual_id} __pragma(message("
whitelisted_resource_{numeric_id}")) {numeric_id}'], | 2193 'grit_rc_header_format': ['-h', '#define {textual_id} __pragma(message("
whitelisted_resource_{numeric_id}")) {numeric_id}'], |
| 2209 }], | 2194 }], |
| 2210 ['enable_mdns==1 or OS=="mac"', { | 2195 ['enable_mdns==1 or OS=="mac"', { |
| 2211 'grit_defines': ['-D', 'enable_service_discovery'], | 2196 'grit_defines': ['-D', 'enable_service_discovery'], |
| 2212 'enable_service_discovery%': 1 | 2197 'enable_service_discovery%': 1 |
| 2213 }], | 2198 }], |
| (...skipping 543 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2757 }], | 2742 }], |
| 2758 ['enable_pepper_cdms==1', { | 2743 ['enable_pepper_cdms==1', { |
| 2759 'defines': ['ENABLE_PEPPER_CDMS'], | 2744 'defines': ['ENABLE_PEPPER_CDMS'], |
| 2760 }], | 2745 }], |
| 2761 ['enable_browser_cdms==1', { | 2746 ['enable_browser_cdms==1', { |
| 2762 'defines': ['ENABLE_BROWSER_CDMS'], | 2747 'defines': ['ENABLE_BROWSER_CDMS'], |
| 2763 }], | 2748 }], |
| 2764 ['notifications==1', { | 2749 ['notifications==1', { |
| 2765 'defines': ['ENABLE_NOTIFICATIONS'], | 2750 'defines': ['ENABLE_NOTIFICATIONS'], |
| 2766 }], | 2751 }], |
| 2767 ['enable_topchrome_md==1', { | |
| 2768 'defines': ['ENABLE_TOPCHROME_MD=1'], | |
| 2769 }], | |
| 2770 ['enable_wayland_server==1', { | 2752 ['enable_wayland_server==1', { |
| 2771 'defines': ['ENABLE_WAYLAND_SERVER=1'], | 2753 'defines': ['ENABLE_WAYLAND_SERVER=1'], |
| 2772 }], | 2754 }], |
| 2773 ['enable_wifi_display==1', { | 2755 ['enable_wifi_display==1', { |
| 2774 'defines': ['ENABLE_WIFI_DISPLAY=1'], | 2756 'defines': ['ENABLE_WIFI_DISPLAY=1'], |
| 2775 }], | 2757 }], |
| 2776 ['use_udev==1', { | 2758 ['use_udev==1', { |
| 2777 'defines': ['USE_UDEV'], | 2759 'defines': ['USE_UDEV'], |
| 2778 }], | 2760 }], |
| 2779 ['fastbuild!=0', { | 2761 ['fastbuild!=0', { |
| (...skipping 3532 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6312 # settings in target dicts. SYMROOT is a special case, because many other | 6294 # settings in target dicts. SYMROOT is a special case, because many other |
| 6313 # Xcode variables depend on it, including variables such as | 6295 # Xcode variables depend on it, including variables such as |
| 6314 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 6296 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
| 6315 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 6297 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
| 6316 # files to appear (when present) in the UI as actual files and not red | 6298 # files to appear (when present) in the UI as actual files and not red |
| 6317 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 6299 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
| 6318 # and therefore SYMROOT, needs to be set at the project level. | 6300 # and therefore SYMROOT, needs to be set at the project level. |
| 6319 'SYMROOT': '<(DEPTH)/xcodebuild', | 6301 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 6320 }, | 6302 }, |
| 6321 } | 6303 } |
| OLD | NEW |