Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(515)

Side by Side Diff: build/common.gypi

Issue 9696049: Add enable_automation build switch. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 411 matching lines...) Expand 10 before | Expand all | Expand 10 after
422 }], 422 }],
423 423
424 # linux_use_gold_flags: whether to use build flags that rely on gold. 424 # linux_use_gold_flags: whether to use build flags that rely on gold.
425 # On by default for x64 Linux. Temporarily off for ChromeOS as 425 # On by default for x64 Linux. Temporarily off for ChromeOS as
426 # it failed on a buildbot. 426 # it failed on a buildbot.
427 ['OS=="linux" and chromeos==0', { 427 ['OS=="linux" and chromeos==0', {
428 'linux_use_gold_flags%': 1, 428 'linux_use_gold_flags%': 1,
429 }, { 429 }, {
430 'linux_use_gold_flags%': 0, 430 'linux_use_gold_flags%': 0,
431 }], 431 }],
432
433 # Enable automation on platforms other than Android.
434 ['OS=="android"', {
435 'enable_automation%': 0,
436 }, {
437 'enable_automation%': 1,
438 }],
432 ], 439 ],
433 }, 440 },
434 441
435 # Copy conditionally-set variables out one scope. 442 # Copy conditionally-set variables out one scope.
436 'branding%': '<(branding)', 443 'branding%': '<(branding)',
437 'buildtype%': '<(buildtype)', 444 'buildtype%': '<(buildtype)',
438 'target_arch%': '<(target_arch)', 445 'target_arch%': '<(target_arch)',
439 'host_arch%': '<(host_arch)', 446 'host_arch%': '<(host_arch)',
440 'library%': 'static_library', 447 'library%': 'static_library',
441 'toolkit_views%': '<(toolkit_views)', 448 'toolkit_views%': '<(toolkit_views)',
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
488 'asan_blacklist%': '<(asan_blacklist)', 495 'asan_blacklist%': '<(asan_blacklist)',
489 'order_text_section%': '<(order_text_section)', 496 'order_text_section%': '<(order_text_section)',
490 'enable_register_protocol_handler%': '<(enable_register_protocol_handler)', 497 'enable_register_protocol_handler%': '<(enable_register_protocol_handler)',
491 'enable_web_intents%': '<(enable_web_intents)', 498 'enable_web_intents%': '<(enable_web_intents)',
492 'enable_web_intents_tag%': '<(enable_web_intents_tag)', 499 'enable_web_intents_tag%': '<(enable_web_intents_tag)',
493 'enable_plugin_installation%': '<(enable_plugin_installation)', 500 'enable_plugin_installation%': '<(enable_plugin_installation)',
494 'linux_use_gold_binary%': '<(linux_use_gold_binary)', 501 'linux_use_gold_binary%': '<(linux_use_gold_binary)',
495 'linux_use_gold_flags%': '<(linux_use_gold_flags)', 502 'linux_use_gold_flags%': '<(linux_use_gold_flags)',
496 'use_canvas_skia_skia%': '<(use_canvas_skia_skia)', 503 'use_canvas_skia_skia%': '<(use_canvas_skia_skia)',
497 'tests_run%': '<(tests_run)', 504 'tests_run%': '<(tests_run)',
505 'enable_automation%': '<(enable_automation)',
498 506
499 # Whether to build for Wayland display server 507 # Whether to build for Wayland display server
500 'use_wayland%': 0, 508 'use_wayland%': 0,
501 509
502 # Use system yasm instead of bundled one. 510 # Use system yasm instead of bundled one.
503 'use_system_yasm%': 0, 511 'use_system_yasm%': 0,
504 512
505 # Default to enabled PIE; this is important for ASLR but we may need to be 513 # Default to enabled PIE; this is important for ASLR but we may need to be
506 # able to turn it off for various reasons. 514 # able to turn it off for various reasons.
507 'linux_disable_pie%': 0, 515 'linux_disable_pie%': 0,
(...skipping 838 matching lines...) Expand 10 before | Expand all | Expand 10 after
1346 }], 1354 }],
1347 ['OS=="win" and branding=="Chrome"', { 1355 ['OS=="win" and branding=="Chrome"', {
1348 'defines': ['ENABLE_SWIFTSHADER'], 1356 'defines': ['ENABLE_SWIFTSHADER'],
1349 }], 1357 }],
1350 ['enable_dart==1', { 1358 ['enable_dart==1', {
1351 'defines': ['WEBKIT_USING_DART=1'], 1359 'defines': ['WEBKIT_USING_DART=1'],
1352 }], 1360 }],
1353 ['enable_plugin_installation==1', { 1361 ['enable_plugin_installation==1', {
1354 'defines': ['ENABLE_PLUGIN_INSTALLATION=1'], 1362 'defines': ['ENABLE_PLUGIN_INSTALLATION=1'],
1355 }], 1363 }],
1364 ['enable_automation==1', {
1365 'defines': ['ENABLE_AUTOMATION=1'],
1366 }],
1356 ], # conditions for 'target_defaults' 1367 ], # conditions for 'target_defaults'
1357 'target_conditions': [ 1368 'target_conditions': [
1358 ['enable_wexit_time_destructors==1', { 1369 ['enable_wexit_time_destructors==1', {
1359 'conditions': [ 1370 'conditions': [
1360 [ 'clang==1', { 1371 [ 'clang==1', {
1361 'cflags': [ 1372 'cflags': [
1362 '-Wexit-time-destructors', 1373 '-Wexit-time-destructors',
1363 ], 1374 ],
1364 'xcode_settings': { 1375 'xcode_settings': {
1365 'WARNING_CFLAGS': [ 1376 'WARNING_CFLAGS': [
(...skipping 1532 matching lines...) Expand 10 before | Expand all | Expand 10 after
2898 # settings in target dicts. SYMROOT is a special case, because many other 2909 # settings in target dicts. SYMROOT is a special case, because many other
2899 # Xcode variables depend on it, including variables such as 2910 # Xcode variables depend on it, including variables such as
2900 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 2911 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
2901 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 2912 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
2902 # files to appear (when present) in the UI as actual files and not red 2913 # files to appear (when present) in the UI as actual files and not red
2903 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 2914 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
2904 # and therefore SYMROOT, needs to be set at the project level. 2915 # and therefore SYMROOT, needs to be set at the project level.
2905 'SYMROOT': '<(DEPTH)/xcodebuild', 2916 'SYMROOT': '<(DEPTH)/xcodebuild',
2906 }, 2917 },
2907 } 2918 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698