| 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 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 393 }], | 393 }], |
| 394 ['OS == "android"', { | 394 ['OS == "android"', { |
| 395 'sources!': [ | 395 'sources!': [ |
| 396 'browser/geolocation/device_data_provider_unittest.cc', | 396 'browser/geolocation/device_data_provider_unittest.cc', |
| 397 'browser/geolocation/gps_location_provider_unittest_linux.cc', | 397 'browser/geolocation/gps_location_provider_unittest_linux.cc', |
| 398 'browser/geolocation/network_location_provider_unittest.cc', | 398 'browser/geolocation/network_location_provider_unittest.cc', |
| 399 'browser/geolocation/wifi_data_provider_common_unittest.cc', | 399 'browser/geolocation/wifi_data_provider_common_unittest.cc', |
| 400 'browser/geolocation/wifi_data_provider_linux_unittest.cc', | 400 'browser/geolocation/wifi_data_provider_linux_unittest.cc', |
| 401 ], | 401 ], |
| 402 }], | 402 }], |
| 403 ['OS == "android" and gtest_target_type == "shared_library"', { |
| 404 'dependencies': [ |
| 405 '../testing/android/native_test.gyp:native_test_native_code', |
| 406 ] |
| 407 }], |
| 403 ], | 408 ], |
| 404 }, | 409 }, |
| 405 { | 410 { |
| 406 'target_name': 'content_browsertests', | 411 'target_name': 'content_browsertests', |
| 407 'type': 'executable', | 412 'type': 'executable', |
| 408 'defines!': ['CONTENT_IMPLEMENTATION'], | 413 'defines!': ['CONTENT_IMPLEMENTATION'], |
| 409 'dependencies': [ | 414 'dependencies': [ |
| 410 'content_browser', | 415 'content_browser', |
| 411 'content_gpu', | 416 'content_gpu', |
| 412 'content_plugin', | 417 'content_plugin', |
| (...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 533 'dependencies': [ | 538 'dependencies': [ |
| 534 'content_common', | 539 'content_common', |
| 535 '../testing/gtest.gyp:gtest', | 540 '../testing/gtest.gyp:gtest', |
| 536 ], | 541 ], |
| 537 'sources': [ | 542 'sources': [ |
| 538 'common/gpu/media/h264_parser_unittest.cc', | 543 'common/gpu/media/h264_parser_unittest.cc', |
| 539 ], | 544 ], |
| 540 } | 545 } |
| 541 ], | 546 ], |
| 542 }], | 547 }], |
| 548 # Special target to wrap a gtest_target_type==shared_library |
| 549 # content_unittests into an android apk for execution. |
| 550 # See base.gyp for TODO(jrg)s about this strategy. |
| 551 ['OS == "android" and gtest_target_type == "shared_library"', { |
| 552 'targets': [ |
| 553 { |
| 554 'target_name': 'content_unittests_apk', |
| 555 'type': 'none', |
| 556 'dependencies': [ |
| 557 '../base/base.gyp:base_java', |
| 558 'content_java', |
| 559 'content_unittests', |
| 560 ], |
| 561 'variables': { |
| 562 'test_suite_name': 'content_unittests', |
| 563 'input_shlib_path': '<(PRODUCT_DIR)/lib.target/<(SHARED_LIB_PREFIX)c
ontent_unittests<(SHARED_LIB_SUFFIX)', |
| 564 'input_jars_paths': [ |
| 565 '<(PRODUCT_DIR)/lib.java/chromium_base.jar', |
| 566 '<(PRODUCT_DIR)/lib.java/chromium_content.jar', |
| 567 ], |
| 568 }, |
| 569 'includes': [ '../build/apk_test.gypi' ], |
| 570 }, |
| 571 ], |
| 572 }], |
| 543 ], | 573 ], |
| 544 } | 574 } |
| OLD | NEW |