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

Side by Side Diff: chrome/chrome_tests.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 'variables' : { 5 'variables' : {
6 'pyautolib_sources': [ 6 'pyautolib_sources': [
7 'app/chrome_command_ids.h', 7 'app/chrome_command_ids.h',
8 'app/chrome_dll_resource.h', 8 'app/chrome_dll_resource.h',
9 'common/automation_constants.h', 9 'common/automation_constants.h',
10 'common/pref_names.cc', 10 'common/pref_names.cc',
(...skipping 2200 matching lines...) Expand 10 before | Expand all | Expand 10 after
2211 ], 2211 ],
2212 }, { # safe_browsing == 0 2212 }, { # safe_browsing == 0
2213 'sources!': [ 2213 'sources!': [
2214 'browser/download/download_safe_browsing_client_unittest.cc', 2214 'browser/download/download_safe_browsing_client_unittest.cc',
2215 ], 2215 ],
2216 'sources/': [ 2216 'sources/': [
2217 ['exclude', '^browser/safe_browsing/'], 2217 ['exclude', '^browser/safe_browsing/'],
2218 ['exclude', '^renderer/safe_browsing/'], 2218 ['exclude', '^renderer/safe_browsing/'],
2219 ], 2219 ],
2220 }], 2220 }],
2221 ['enable_automation!=1', {
2222 'sources/': [
2223 ['exclude', '^browser/automation/'],
2224 ],
2225 }],
2221 ['chromeos==1', { 2226 ['chromeos==1', {
2222 'sources/': [ 2227 'sources/': [
2223 ['exclude', '^browser/password_manager/native_backend_gnome_x_unitte st.cc'], 2228 ['exclude', '^browser/password_manager/native_backend_gnome_x_unitte st.cc'],
2224 ['exclude', '^browser/password_manager/native_backend_kwallet_x_unit test.cc'], 2229 ['exclude', '^browser/password_manager/native_backend_kwallet_x_unit test.cc'],
2225 ['exclude', '^browser/safe_browsing/download_protection_service_unit test.cc' ], 2230 ['exclude', '^browser/safe_browsing/download_protection_service_unit test.cc' ],
2226 ], 2231 ],
2227 }, { # else: chromeos == 0 2232 }, { # else: chromeos == 0
2228 'sources/': [ 2233 'sources/': [
2229 ['exclude', '^browser/chromeos/'], 2234 ['exclude', '^browser/chromeos/'],
2230 ['exclude', '^browser/oom_priority_manager_unittest.cc'], 2235 ['exclude', '^browser/oom_priority_manager_unittest.cc'],
(...skipping 2207 matching lines...) Expand 10 before | Expand all | Expand 10 after
4438 'test/security_tests/security_tests.cc', 4443 'test/security_tests/security_tests.cc',
4439 '../content/common/injection_test_dll.h', 4444 '../content/common/injection_test_dll.h',
4440 '../sandbox/tests/validation_tests/commands.cc', 4445 '../sandbox/tests/validation_tests/commands.cc',
4441 '../sandbox/tests/validation_tests/commands.h', 4446 '../sandbox/tests/validation_tests/commands.h',
4442 ], 4447 ],
4443 }, 4448 },
4444 ]}, # 'targets' 4449 ]}, # 'targets'
4445 ], # OS=="win" 4450 ], # OS=="win"
4446 # If you change this condition, make sure you also change it in all.gyp 4451 # If you change this condition, make sure you also change it in all.gyp
4447 # for the chromium_builder_qa target. 4452 # for the chromium_builder_qa target.
4448 ['OS == "mac" or OS == "win" or (os_posix == 1 and OS != "android" and targe t_arch == python_arch)', { 4453 ['enable_automation==1 and (OS=="mac" or OS=="win" or (os_posix==1 and targe t_arch==python_arch))', {
4449 'targets': [ 4454 'targets': [
4450 { 4455 {
4451 # Documentation: http://dev.chromium.org/developers/testing/pyauto 4456 # Documentation: http://dev.chromium.org/developers/testing/pyauto
4452 'target_name': 'pyautolib', 4457 'target_name': 'pyautolib',
4453 'type': 'loadable_module', 4458 'type': 'loadable_module',
4454 'product_prefix': '_', 4459 'product_prefix': '_',
4455 'dependencies': [ 4460 'dependencies': [
4456 'chrome', 4461 'chrome',
4457 'chrome_resources.gyp:chrome_resources', 4462 'chrome_resources.gyp:chrome_resources',
4458 'chrome_resources.gyp:chrome_strings', 4463 'chrome_resources.gyp:chrome_strings',
(...skipping 284 matching lines...) Expand 10 before | Expand all | Expand 10 after
4743 # Use outputs of this action as inputs for the main target build. 4748 # Use outputs of this action as inputs for the main target build.
4744 # Seems as a misnomer but makes this happy on Linux (scons). 4749 # Seems as a misnomer but makes this happy on Linux (scons).
4745 'process_outputs_as_sources': 1, 4750 'process_outputs_as_sources': 1,
4746 }, 4751 },
4747 ], # 'actions' 4752 ], # 'actions'
4748 }, 4753 },
4749 ] 4754 ]
4750 }], # 'coverage!=0' 4755 }], # 'coverage!=0'
4751 ], # 'conditions' 4756 ], # 'conditions'
4752 } 4757 }
OLDNEW
« chrome/browser/ui/browser_init.cc ('K') | « chrome/chrome_browser.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698