| 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 407 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 418 }], | 418 }], |
| 419 | 419 |
| 420 # linux_use_gold_flags: whether to use build flags that rely on gold. | 420 # linux_use_gold_flags: whether to use build flags that rely on gold. |
| 421 # On by default for x64 Linux. Temporarily off for ChromeOS as | 421 # On by default for x64 Linux. Temporarily off for ChromeOS as |
| 422 # it failed on a buildbot. | 422 # it failed on a buildbot. |
| 423 ['OS=="linux" and chromeos==0', { | 423 ['OS=="linux" and chromeos==0', { |
| 424 'linux_use_gold_flags%': 1, | 424 'linux_use_gold_flags%': 1, |
| 425 }, { | 425 }, { |
| 426 'linux_use_gold_flags%': 0, | 426 'linux_use_gold_flags%': 0, |
| 427 }], | 427 }], |
| 428 |
| 429 # Enable automation on platforms other than Android. |
| 430 ['OS=="android"', { |
| 431 'enable_automation%': 0, |
| 432 }, { |
| 433 'enable_automation%': 1, |
| 434 }], |
| 428 ], | 435 ], |
| 429 }, | 436 }, |
| 430 | 437 |
| 431 # Copy conditionally-set variables out one scope. | 438 # Copy conditionally-set variables out one scope. |
| 432 'branding%': '<(branding)', | 439 'branding%': '<(branding)', |
| 433 'buildtype%': '<(buildtype)', | 440 'buildtype%': '<(buildtype)', |
| 434 'target_arch%': '<(target_arch)', | 441 'target_arch%': '<(target_arch)', |
| 435 'host_arch%': '<(host_arch)', | 442 'host_arch%': '<(host_arch)', |
| 436 'library%': 'static_library', | 443 'library%': 'static_library', |
| 437 'toolkit_views%': '<(toolkit_views)', | 444 'toolkit_views%': '<(toolkit_views)', |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 483 'asan_blacklist%': '<(asan_blacklist)', | 490 'asan_blacklist%': '<(asan_blacklist)', |
| 484 'order_text_section%': '<(order_text_section)', | 491 'order_text_section%': '<(order_text_section)', |
| 485 'enable_register_protocol_handler%': '<(enable_register_protocol_handler)', | 492 'enable_register_protocol_handler%': '<(enable_register_protocol_handler)', |
| 486 'enable_web_intents%': '<(enable_web_intents)', | 493 'enable_web_intents%': '<(enable_web_intents)', |
| 487 'enable_web_intents_tag%': '<(enable_web_intents_tag)', | 494 'enable_web_intents_tag%': '<(enable_web_intents_tag)', |
| 488 'enable_plugin_installation%': '<(enable_plugin_installation)', | 495 'enable_plugin_installation%': '<(enable_plugin_installation)', |
| 489 'linux_use_gold_binary%': '<(linux_use_gold_binary)', | 496 'linux_use_gold_binary%': '<(linux_use_gold_binary)', |
| 490 'linux_use_gold_flags%': '<(linux_use_gold_flags)', | 497 'linux_use_gold_flags%': '<(linux_use_gold_flags)', |
| 491 'use_canvas_skia_skia%': '<(use_canvas_skia_skia)', | 498 'use_canvas_skia_skia%': '<(use_canvas_skia_skia)', |
| 492 'tests_run%': '<(tests_run)', | 499 'tests_run%': '<(tests_run)', |
| 500 'enable_automation%': '<(enable_automation)', |
| 493 | 501 |
| 494 # Whether to build for Wayland display server | 502 # Whether to build for Wayland display server |
| 495 'use_wayland%': 0, | 503 'use_wayland%': 0, |
| 496 | 504 |
| 497 # Use system yasm instead of bundled one. | 505 # Use system yasm instead of bundled one. |
| 498 'use_system_yasm%': 0, | 506 'use_system_yasm%': 0, |
| 499 | 507 |
| 500 # Default to enabled PIE; this is important for ASLR but we may need to be | 508 # Default to enabled PIE; this is important for ASLR but we may need to be |
| 501 # able to turn it off for various reasons. | 509 # able to turn it off for various reasons. |
| 502 'linux_disable_pie%': 0, | 510 'linux_disable_pie%': 0, |
| (...skipping 839 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1342 }], | 1350 }], |
| 1343 ['OS=="win" and branding=="Chrome"', { | 1351 ['OS=="win" and branding=="Chrome"', { |
| 1344 'defines': ['ENABLE_SWIFTSHADER'], | 1352 'defines': ['ENABLE_SWIFTSHADER'], |
| 1345 }], | 1353 }], |
| 1346 ['enable_dart==1', { | 1354 ['enable_dart==1', { |
| 1347 'defines': ['WEBKIT_USING_DART=1'], | 1355 'defines': ['WEBKIT_USING_DART=1'], |
| 1348 }], | 1356 }], |
| 1349 ['enable_plugin_installation==1', { | 1357 ['enable_plugin_installation==1', { |
| 1350 'defines': ['ENABLE_PLUGIN_INSTALLATION=1'], | 1358 'defines': ['ENABLE_PLUGIN_INSTALLATION=1'], |
| 1351 }], | 1359 }], |
| 1360 ['enable_automation==1', { |
| 1361 'defines': ['ENABLE_AUTOMATION=1'], |
| 1362 }], |
| 1352 ], # conditions for 'target_defaults' | 1363 ], # conditions for 'target_defaults' |
| 1353 'target_conditions': [ | 1364 'target_conditions': [ |
| 1354 ['enable_wexit_time_destructors==1', { | 1365 ['enable_wexit_time_destructors==1', { |
| 1355 'conditions': [ | 1366 'conditions': [ |
| 1356 [ 'clang==1', { | 1367 [ 'clang==1', { |
| 1357 'cflags': [ | 1368 'cflags': [ |
| 1358 '-Wexit-time-destructors', | 1369 '-Wexit-time-destructors', |
| 1359 ], | 1370 ], |
| 1360 'xcode_settings': { | 1371 'xcode_settings': { |
| 1361 'WARNING_CFLAGS': [ | 1372 'WARNING_CFLAGS': [ |
| (...skipping 1532 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2894 # settings in target dicts. SYMROOT is a special case, because many other | 2905 # settings in target dicts. SYMROOT is a special case, because many other |
| 2895 # Xcode variables depend on it, including variables such as | 2906 # Xcode variables depend on it, including variables such as |
| 2896 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 2907 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
| 2897 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 2908 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
| 2898 # files to appear (when present) in the UI as actual files and not red | 2909 # files to appear (when present) in the UI as actual files and not red |
| 2899 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 2910 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
| 2900 # and therefore SYMROOT, needs to be set at the project level. | 2911 # and therefore SYMROOT, needs to be set at the project level. |
| 2901 'SYMROOT': '<(DEPTH)/xcodebuild', | 2912 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 2902 }, | 2913 }, |
| 2903 } | 2914 } |
| OLD | NEW |