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 { | 5 { |
6 'variables': { | 6 'variables': { |
7 # This turns on e.g. the filename-based detection of which | 7 # This turns on e.g. the filename-based detection of which |
8 # platforms to include source files on (e.g. files ending in | 8 # platforms to include source files on (e.g. files ending in |
9 # _mac.h or _mac.cc are only compiled on MacOSX). | 9 # _mac.h or _mac.cc are only compiled on MacOSX). |
10 'chromium_code': 1, | 10 'chromium_code': 1, |
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
157 # TODO(asvitkine): Bring up variations/ unittests on iOS. | 157 # TODO(asvitkine): Bring up variations/ unittests on iOS. |
158 # TODO(blundell): Bring up json_schema/ unittests on iOS. | 158 # TODO(blundell): Bring up json_schema/ unittests on iOS. |
159 ['include', '^auto_login_parser/'], | 159 ['include', '^auto_login_parser/'], |
160 ['include', '^autofill/'], | 160 ['include', '^autofill/'], |
161 ['include', '^dom_distiller/'], | 161 ['include', '^dom_distiller/'], |
162 ['include', '^language_usage_metrics/'], | 162 ['include', '^language_usage_metrics/'], |
163 ['include', '^precache/core/'], | 163 ['include', '^precache/core/'], |
164 ['include', '^signin/'], | 164 ['include', '^signin/'], |
165 ['include', '^translate/'], | 165 ['include', '^translate/'], |
166 ], | 166 ], |
167 'conditions': [ | |
168 ['configuration_policy==1', { | |
169 'sources/': [ | |
170 ['include', '^policy/'], | |
171 ], | |
172 }], | |
173 ], | |
167 }], | 174 }], |
168 ['disable_nacl==0', { | 175 ['disable_nacl==0', { |
169 'sources': [ | 176 'sources': [ |
170 'nacl/browser/nacl_file_host_unittest.cc', | 177 'nacl/browser/nacl_file_host_unittest.cc', |
171 'nacl/browser/nacl_process_host_unittest.cc', | 178 'nacl/browser/nacl_process_host_unittest.cc', |
172 'nacl/browser/nacl_validation_cache_unittest.cc', | 179 'nacl/browser/nacl_validation_cache_unittest.cc', |
173 'nacl/browser/pnacl_host_unittest.cc', | 180 'nacl/browser/pnacl_host_unittest.cc', |
174 'nacl/browser/pnacl_translation_cache_unittest.cc', | 181 'nacl/browser/pnacl_translation_cache_unittest.cc', |
175 'nacl/browser/test_nacl_browser_delegate.cc', | 182 'nacl/browser/test_nacl_browser_delegate.cc', |
176 ], | 183 ], |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
252 'policy/core/common/policy_service_impl_unittest.cc', | 259 'policy/core/common/policy_service_impl_unittest.cc', |
253 'policy/core/common/policy_statistics_collector_unittest.cc', | 260 'policy/core/common/policy_statistics_collector_unittest.cc', |
254 'policy/core/common/preg_parser_win_unittest.cc', | 261 'policy/core/common/preg_parser_win_unittest.cc', |
255 'policy/core/common/registry_dict_win_unittest.cc', | 262 'policy/core/common/registry_dict_win_unittest.cc', |
256 'policy/core/common/schema_map_unittest.cc', | 263 'policy/core/common/schema_map_unittest.cc', |
257 'policy/core/common/schema_registry_unittest.cc', | 264 'policy/core/common/schema_registry_unittest.cc', |
258 'policy/core/common/schema_unittest.cc', | 265 'policy/core/common/schema_unittest.cc', |
259 ], | 266 ], |
260 'conditions': [ | 267 'conditions': [ |
261 ['OS=="android" or OS=="ios"', { | 268 ['OS=="android" or OS=="ios"', { |
262 'sources!': [ | 269 # Note: 'sources!' is processed before any 'sources/', so the |
263 'policy/core/common/async_policy_provider_unittest.cc', | 270 # ['include', '^policy/'] on iOS above will include all of the |
264 'policy/core/common/cloud/component_cloud_policy_service_uni ttest.cc', | 271 # policy source files again. Using 'source/' here too will get |
265 'policy/core/common/cloud/component_cloud_policy_store_unitt est.cc', | 272 # these files excluded as expected. |
jochen (gone - plz use gerrit)
2014/01/22 11:28:48
that comment is kinda moot assuming you know the g
| |
266 'policy/core/common/cloud/component_cloud_policy_updater_uni ttest.cc', | 273 'sources/': [ |
267 'policy/core/common/cloud/external_policy_data_fetcher_unitt est.cc', | 274 ['exclude', '^policy/core/common/async_policy_provider_unitt est\\.cc'], |
268 'policy/core/common/cloud/external_policy_data_updater_unitt est.cc', | 275 ['exclude', '^policy/core/common/cloud/component_cloud_polic y_service_unittest\\.cc'], |
269 'policy/core/common/cloud/resource_cache_unittest.cc', | 276 ['exclude', '^policy/core/common/cloud/component_cloud_polic y_store_unittest\\.cc'], |
270 'policy/core/common/config_dir_policy_loader_unittest.cc', | 277 ['exclude', '^policy/core/common/cloud/component_cloud_polic y_updater_unittest\\.cc'], |
278 ['exclude', '^policy/core/common/cloud/external_policy_data_ fetcher_unittest\\.cc'], | |
279 ['exclude', '^policy/core/common/cloud/external_policy_data_ updater_unittest\\.cc'], | |
280 ['exclude', '^policy/core/common/cloud/resource_cache_unitte st\\.cc'], | |
281 ['exclude', '^policy/core/common/config_dir_policy_loader_un ittest\\.cc'], | |
271 ], | 282 ], |
272 }], | 283 }], |
273 ['chromeos==1', { | 284 ['chromeos==1', { |
274 'sources': [ | 285 'sources': [ |
275 'policy/core/common/proxy_policy_provider_unittest.cc', | 286 'policy/core/common/proxy_policy_provider_unittest.cc', |
276 ], | 287 ], |
277 'sources!': [ | 288 'sources!': [ |
278 'policy/core/common/cloud/user_cloud_policy_manager_unittest .cc', | 289 'policy/core/common/cloud/user_cloud_policy_manager_unittest .cc', |
279 'policy/core/common/cloud/user_cloud_policy_store_unittest.c c', | 290 'policy/core/common/cloud/user_cloud_policy_store_unittest.c c', |
280 ], | 291 ], |
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
399 'dependencies': [ | 410 'dependencies': [ |
400 '../base/allocator/allocator.gyp:allocator', | 411 '../base/allocator/allocator.gyp:allocator', |
401 ], | 412 ], |
402 }], | 413 }], |
403 ], | 414 ], |
404 }, | 415 }, |
405 ], | 416 ], |
406 }], | 417 }], |
407 ], | 418 ], |
408 } | 419 } |
OLD | NEW |