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 'targets': [ | 6 'targets': [ |
7 { | 7 { |
8 'target_name': 'test_support_content', | 8 'target_name': 'test_support_content', |
9 'type': 'static_library', | 9 'type': 'static_library', |
10 'defines!': ['CONTENT_IMPLEMENTATION'], | 10 'defines!': ['CONTENT_IMPLEMENTATION'], |
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
155 ['use_aura==1', { | 155 ['use_aura==1', { |
156 'dependencies': [ | 156 'dependencies': [ |
157 '../ui/aura/aura.gyp:test_support_aura', | 157 '../ui/aura/aura.gyp:test_support_aura', |
158 '../ui/compositor/compositor.gyp:compositor', | 158 '../ui/compositor/compositor.gyp:compositor', |
159 ], | 159 ], |
160 }], | 160 }], |
161 ], | 161 ], |
162 }, | 162 }, |
163 { | 163 { |
164 'target_name': 'content_unittests', | 164 'target_name': 'content_unittests', |
165 'type': 'executable', | 165 'type': '<(gtest_target_type)', |
166 'defines!': ['CONTENT_IMPLEMENTATION'], | 166 'defines!': ['CONTENT_IMPLEMENTATION'], |
167 'dependencies': [ | 167 'dependencies': [ |
168 'content_browser', | 168 'content_browser', |
169 'content_gpu', | 169 'content_gpu', |
170 'content_plugin', | 170 'content_plugin', |
171 'content_renderer', | 171 'content_renderer', |
172 'test_support_content', | 172 'test_support_content', |
173 'content_resources.gyp:content_resources', | 173 'content_resources.gyp:content_resources', |
174 '../base/base.gyp:test_support_base', | 174 '../base/base.gyp:test_support_base', |
175 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic _annotations', | 175 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic _annotations', |
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
390 }], | 390 }], |
391 ['OS == "android"', { | 391 ['OS == "android"', { |
392 'sources!': [ | 392 'sources!': [ |
393 'browser/geolocation/device_data_provider_unittest.cc', | 393 'browser/geolocation/device_data_provider_unittest.cc', |
394 'browser/geolocation/gps_location_provider_unittest_linux.cc', | 394 'browser/geolocation/gps_location_provider_unittest_linux.cc', |
395 'browser/geolocation/network_location_provider_unittest.cc', | 395 'browser/geolocation/network_location_provider_unittest.cc', |
396 'browser/geolocation/wifi_data_provider_common_unittest.cc', | 396 'browser/geolocation/wifi_data_provider_common_unittest.cc', |
397 'browser/geolocation/wifi_data_provider_linux_unittest.cc', | 397 'browser/geolocation/wifi_data_provider_linux_unittest.cc', |
398 ], | 398 ], |
399 }], | 399 }], |
400 ['OS == "android" and gtest_target_type == "shared_library"', { | |
401 'dependencies': [ | |
402 '../testing/android/native_test.gyp:native_test_native_code', | |
403 ] | |
404 }], | |
400 ], | 405 ], |
401 }, | 406 }, |
402 { | 407 { |
403 'target_name': 'content_browsertests', | 408 'target_name': 'content_browsertests', |
404 'type': 'executable', | 409 'type': 'executable', |
405 'defines!': ['CONTENT_IMPLEMENTATION'], | 410 'defines!': ['CONTENT_IMPLEMENTATION'], |
406 'dependencies': [ | 411 'dependencies': [ |
407 'content_browser', | 412 'content_browser', |
408 'content_gpu', | 413 'content_gpu', |
409 'content_plugin', | 414 'content_plugin', |
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
530 'dependencies': [ | 535 'dependencies': [ |
531 'content_common', | 536 'content_common', |
532 '../testing/gtest.gyp:gtest', | 537 '../testing/gtest.gyp:gtest', |
533 ], | 538 ], |
534 'sources': [ | 539 'sources': [ |
535 'common/gpu/media/h264_parser_unittest.cc', | 540 'common/gpu/media/h264_parser_unittest.cc', |
536 ], | 541 ], |
537 } | 542 } |
538 ], | 543 ], |
539 }], | 544 }], |
545 # Special target to wrap a gtest_target_type==shared_library | |
546 # content_unittests into an android apk for execution. | |
547 # See base.gyp for TODO(jrg)s about this strategy. | |
548 ['OS == "android" and gtest_target_type == "shared_library"', { | |
549 'targets': [ | |
550 { | |
551 'target_name': 'content_unittests_apk', | |
552 'type': 'none', | |
553 'dependencies': [ | |
554 'content_unittests', | |
555 '../base/base.gyp:base_java', | |
556 'content_java', | |
Ryan Sleevi
2012/05/24 10:11:15
nit: sort
nilesh
2012/05/24 16:56:23
Done.
| |
557 ], | |
558 'variables': { | |
559 'test_suite_name': 'content_unittests', | |
560 'input_shlib_path': '<(PRODUCT_DIR)/lib.target/<(SHARED_LIB_PREFIX)c ontent_unittests<(SHARED_LIB_SUFFIX)', | |
561 'input_jars_paths': [ | |
562 '<(PRODUCT_DIR)/lib.java/chromium_base.jar', | |
563 '<(PRODUCT_DIR)/lib.java/chromium_content.jar', | |
564 ], | |
565 }, | |
566 'includes': [ '../build/apk_test.gypi' ], | |
567 }, | |
568 ], | |
569 }], | |
540 ], | 570 ], |
541 } | 571 } |
OLD | NEW |