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 '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 2169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2180 ], | 2180 ], |
2181 }, { # safe_browsing == 0 | 2181 }, { # safe_browsing == 0 |
2182 'sources!': [ | 2182 'sources!': [ |
2183 'browser/download/download_safe_browsing_client_unittest.cc', | 2183 'browser/download/download_safe_browsing_client_unittest.cc', |
2184 ], | 2184 ], |
2185 'sources/': [ | 2185 'sources/': [ |
2186 ['exclude', '^browser/safe_browsing/'], | 2186 ['exclude', '^browser/safe_browsing/'], |
2187 ['exclude', '^renderer/safe_browsing/'], | 2187 ['exclude', '^renderer/safe_browsing/'], |
2188 ], | 2188 ], |
2189 }], | 2189 }], |
| 2190 ['enable_automation!=1', { |
| 2191 'sources/': [ |
| 2192 ['exclude', '^browser/automation/'], |
| 2193 ], |
| 2194 }], |
2190 ['chromeos==1', { | 2195 ['chromeos==1', { |
2191 'sources/': [ | 2196 'sources/': [ |
2192 ['exclude', '^browser/password_manager/native_backend_gnome_x_unitte
st.cc'], | 2197 ['exclude', '^browser/password_manager/native_backend_gnome_x_unitte
st.cc'], |
2193 ['exclude', '^browser/password_manager/native_backend_kwallet_x_unit
test.cc'], | 2198 ['exclude', '^browser/password_manager/native_backend_kwallet_x_unit
test.cc'], |
2194 ['exclude', '^browser/safe_browsing/download_protection_service_unit
test.cc' ], | 2199 ['exclude', '^browser/safe_browsing/download_protection_service_unit
test.cc' ], |
2195 ], | 2200 ], |
2196 }, { # else: chromeos == 0 | 2201 }, { # else: chromeos == 0 |
2197 'sources/': [ | 2202 'sources/': [ |
2198 ['exclude', '^browser/chromeos/'], | 2203 ['exclude', '^browser/chromeos/'], |
2199 ['exclude', '^browser/oom_priority_manager_unittest.cc'], | 2204 ['exclude', '^browser/oom_priority_manager_unittest.cc'], |
(...skipping 2050 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4250 'test/security_tests/security_tests.cc', | 4255 'test/security_tests/security_tests.cc', |
4251 '../content/common/injection_test_dll.h', | 4256 '../content/common/injection_test_dll.h', |
4252 '../sandbox/tests/validation_tests/commands.cc', | 4257 '../sandbox/tests/validation_tests/commands.cc', |
4253 '../sandbox/tests/validation_tests/commands.h', | 4258 '../sandbox/tests/validation_tests/commands.h', |
4254 ], | 4259 ], |
4255 }, | 4260 }, |
4256 ]}, # 'targets' | 4261 ]}, # 'targets' |
4257 ], # OS=="win" | 4262 ], # OS=="win" |
4258 # If you change this condition, make sure you also change it in all.gyp | 4263 # If you change this condition, make sure you also change it in all.gyp |
4259 # for the chromium_builder_qa target. | 4264 # for the chromium_builder_qa target. |
4260 ['OS == "mac" or OS == "win" or (os_posix == 1 and OS != "android" and targe
t_arch == python_arch)', { | 4265 ['enable_automation==1 and (OS=="mac" or OS=="win" or (os_posix==1 and targe
t_arch==python_arch))', { |
4261 'targets': [ | 4266 'targets': [ |
4262 { | 4267 { |
4263 # Documentation: http://dev.chromium.org/developers/testing/pyauto | 4268 # Documentation: http://dev.chromium.org/developers/testing/pyauto |
4264 'target_name': 'pyautolib', | 4269 'target_name': 'pyautolib', |
4265 'type': 'loadable_module', | 4270 'type': 'loadable_module', |
4266 'product_prefix': '_', | 4271 'product_prefix': '_', |
4267 'dependencies': [ | 4272 'dependencies': [ |
4268 'chrome', | 4273 'chrome', |
4269 'chrome_resources.gyp:chrome_resources', | 4274 'chrome_resources.gyp:chrome_resources', |
4270 'chrome_resources.gyp:chrome_strings', | 4275 'chrome_resources.gyp:chrome_strings', |
(...skipping 278 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4549 # Use outputs of this action as inputs for the main target build. | 4554 # Use outputs of this action as inputs for the main target build. |
4550 # Seems as a misnomer but makes this happy on Linux (scons). | 4555 # Seems as a misnomer but makes this happy on Linux (scons). |
4551 'process_outputs_as_sources': 1, | 4556 'process_outputs_as_sources': 1, |
4552 }, | 4557 }, |
4553 ], # 'actions' | 4558 ], # 'actions' |
4554 }, | 4559 }, |
4555 ] | 4560 ] |
4556 }], # 'coverage!=0' | 4561 }], # 'coverage!=0' |
4557 ], # 'conditions' | 4562 ], # 'conditions' |
4558 } | 4563 } |
OLD | NEW |