| 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 215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 226 'toolkit_views%': 0, | 226 'toolkit_views%': 0, |
| 227 }], | 227 }], |
| 228 | 228 |
| 229 # Embedded builds use aura without ash or views. | 229 # Embedded builds use aura without ash or views. |
| 230 ['embedded==1', { | 230 ['embedded==1', { |
| 231 'use_aura%': 1, | 231 'use_aura%': 1, |
| 232 'use_ash%': 0, | 232 'use_ash%': 0, |
| 233 'toolkit_views%': 0, | 233 'toolkit_views%': 0, |
| 234 }], | 234 }], |
| 235 | 235 |
| 236 # Chromecast builds on x86 Linux should default to desktop builds. |
| 237 ['chromecast==1 and OS=="linux" and (target_arch=="ia32" or target_arc
h=="x64")', { |
| 238 'is_cast_desktop_build%': 1, |
| 239 }, { |
| 240 'is_cast_desktop_build%': 0, |
| 241 }], |
| 242 |
| 236 # Enable HiDPI on Mac OS, Windows and Linux (including Chrome OS). | 243 # Enable HiDPI on Mac OS, Windows and Linux (including Chrome OS). |
| 237 ['OS=="mac" or OS=="win" or OS=="linux"', { | 244 ['OS=="mac" or OS=="win" or OS=="linux"', { |
| 238 'enable_hidpi%': 1, | 245 'enable_hidpi%': 1, |
| 239 }], | 246 }], |
| 240 | 247 |
| 241 # Enable Top Chrome Material Design on Chrome OS, Windows, and Linux. | 248 # Enable Top Chrome Material Design on Chrome OS, Windows, and Linux. |
| 242 ['chromeos==1 or OS=="win" or OS=="linux"', { | 249 ['chromeos==1 or OS=="win" or OS=="linux"', { |
| 243 'enable_topchrome_md%': 1, | 250 'enable_topchrome_md%': 1, |
| 244 }], | 251 }], |
| 245 | 252 |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 315 ], | 322 ], |
| 316 }, { | 323 }, { |
| 317 'sysroot%': '' | 324 'sysroot%': '' |
| 318 }], # OS=="linux" and use_sysroot==1 | 325 }], # OS=="linux" and use_sysroot==1 |
| 319 ], | 326 ], |
| 320 }, | 327 }, |
| 321 | 328 |
| 322 # Copy conditionally-set variables out one scope. | 329 # Copy conditionally-set variables out one scope. |
| 323 'chromeos%': '<(chromeos)', | 330 'chromeos%': '<(chromeos)', |
| 324 'chromecast%': '<(chromecast)', | 331 'chromecast%': '<(chromecast)', |
| 332 'is_cast_desktop_build%': '<(is_cast_desktop_build)', |
| 325 'host_arch%': '<(host_arch)', | 333 'host_arch%': '<(host_arch)', |
| 326 'target_arch%': '<(target_arch)', | 334 'target_arch%': '<(target_arch)', |
| 327 'target_subarch%': '<(target_subarch)', | 335 'target_subarch%': '<(target_subarch)', |
| 328 'mips_arch_variant%': '<(mips_arch_variant)', | 336 'mips_arch_variant%': '<(mips_arch_variant)', |
| 329 'mips_dsp_rev%': '<(mips_dsp_rev)', | 337 'mips_dsp_rev%': '<(mips_dsp_rev)', |
| 330 'toolkit_views%': '<(toolkit_views)', | 338 'toolkit_views%': '<(toolkit_views)', |
| 331 'desktop_linux%': '<(desktop_linux)', | 339 'desktop_linux%': '<(desktop_linux)', |
| 332 'use_aura%': '<(use_aura)', | 340 'use_aura%': '<(use_aura)', |
| 333 'use_ash%': '<(use_ash)', | 341 'use_ash%': '<(use_ash)', |
| 334 'use_cras%': '<(use_cras)', | 342 'use_cras%': '<(use_cras)', |
| (...skipping 795 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1130 'use_ozone_evdev%': '<(use_ozone_evdev)', | 1138 'use_ozone_evdev%': '<(use_ozone_evdev)', |
| 1131 'use_xkbcommon%': '<(use_xkbcommon)', | 1139 'use_xkbcommon%': '<(use_xkbcommon)', |
| 1132 'use_gtk3%': '<(use_gtk3)', | 1140 'use_gtk3%': '<(use_gtk3)', |
| 1133 'use_clipboard_aurax11%': '<(use_clipboard_aurax11)', | 1141 'use_clipboard_aurax11%': '<(use_clipboard_aurax11)', |
| 1134 'desktop_linux%': '<(desktop_linux)', | 1142 'desktop_linux%': '<(desktop_linux)', |
| 1135 'use_x11%': '<(use_x11)', | 1143 'use_x11%': '<(use_x11)', |
| 1136 'use_gnome_keyring%': '<(use_gnome_keyring)', | 1144 'use_gnome_keyring%': '<(use_gnome_keyring)', |
| 1137 'linux_fpic%': '<(linux_fpic)', | 1145 'linux_fpic%': '<(linux_fpic)', |
| 1138 'chromeos%': '<(chromeos)', | 1146 'chromeos%': '<(chromeos)', |
| 1139 'chromecast%': '<(chromecast)', | 1147 'chromecast%': '<(chromecast)', |
| 1148 'is_cast_desktop_build%': '<(is_cast_desktop_build)', |
| 1140 'enable_viewport%': '<(enable_viewport)', | 1149 'enable_viewport%': '<(enable_viewport)', |
| 1141 'enable_hidpi%': '<(enable_hidpi)', | 1150 'enable_hidpi%': '<(enable_hidpi)', |
| 1142 'enable_topchrome_md%': '<(enable_topchrome_md)', | 1151 'enable_topchrome_md%': '<(enable_topchrome_md)', |
| 1143 'enable_wayland_server%': '<(enable_wayland_server)', | 1152 'enable_wayland_server%': '<(enable_wayland_server)', |
| 1144 'image_loader_extension%': '<(image_loader_extension)', | 1153 'image_loader_extension%': '<(image_loader_extension)', |
| 1145 'fastbuild%': '<(fastbuild)', | 1154 'fastbuild%': '<(fastbuild)', |
| 1146 'dont_embed_build_metadata%': '<(dont_embed_build_metadata)', | 1155 'dont_embed_build_metadata%': '<(dont_embed_build_metadata)', |
| 1147 'win_z7%': '<(win_z7)', | 1156 'win_z7%': '<(win_z7)', |
| 1148 'dcheck_always_on%': '<(dcheck_always_on)', | 1157 'dcheck_always_on%': '<(dcheck_always_on)', |
| 1149 'tracing_like_official_build%': '<(tracing_like_official_build)', | 1158 'tracing_like_official_build%': '<(tracing_like_official_build)', |
| (...skipping 1235 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2385 'conditions': [ | 2394 'conditions': [ |
| 2386 ['disable_display==0', { | 2395 ['disable_display==0', { |
| 2387 # Enable the Cast ozone platform on all A/V Cast builds. | 2396 # Enable the Cast ozone platform on all A/V Cast builds. |
| 2388 'ozone_platform_cast%': 1, | 2397 'ozone_platform_cast%': 1, |
| 2389 | 2398 |
| 2390 # For desktop Chromecast builds, override the default "headless" | 2399 # For desktop Chromecast builds, override the default "headless" |
| 2391 # platform with --ozone-platform=egltest | 2400 # platform with --ozone-platform=egltest |
| 2392 # TODO(slan|halliwell): Make the default platform "cast" on | 2401 # TODO(slan|halliwell): Make the default platform "cast" on |
| 2393 # desktop too. | 2402 # desktop too. |
| 2394 'conditions': [ | 2403 'conditions': [ |
| 2395 ['OS=="linux" and target_arch!="arm"', { | 2404 ['is_cast_desktop_build==1', { |
| 2396 'ozone_platform_egltest%': 1, | 2405 'ozone_platform_egltest%': 1, |
| 2397 'ozone_platform_ozonex%': 1, | 2406 'ozone_platform_ozonex%': 1, |
| 2398 }, { | 2407 }, { |
| 2399 # On device builds, enable "cast" as the default platform. | 2408 # On device builds, enable "cast" as the default platform. |
| 2400 'ozone_platform%': 'cast', | 2409 'ozone_platform%': 'cast', |
| 2401 }], | 2410 }], |
| 2402 ], | 2411 ], |
| 2403 }], | 2412 }], |
| 2404 ], | 2413 ], |
| 2405 }, { # chromecast!=1 | 2414 }, { # chromecast!=1 |
| (...skipping 4003 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6409 # settings in target dicts. SYMROOT is a special case, because many other | 6418 # settings in target dicts. SYMROOT is a special case, because many other |
| 6410 # Xcode variables depend on it, including variables such as | 6419 # Xcode variables depend on it, including variables such as |
| 6411 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 6420 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
| 6412 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 6421 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
| 6413 # files to appear (when present) in the UI as actual files and not red | 6422 # files to appear (when present) in the UI as actual files and not red |
| 6414 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 6423 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
| 6415 # and therefore SYMROOT, needs to be set at the project level. | 6424 # and therefore SYMROOT, needs to be set at the project level. |
| 6416 'SYMROOT': '<(DEPTH)/xcodebuild', | 6425 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 6417 }, | 6426 }, |
| 6418 } | 6427 } |
| OLD | NEW |