| 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 'conditions': [ | 6 'conditions': [ |
| 7 ['OS != "ios"', { | 7 ['OS != "ios"', { |
| 8 'targets': [ | 8 'targets': [ |
| 9 { | 9 { |
| 10 'target_name': 'components_unittests', | 10 'target_name': 'components_unittests', |
| 11 'type': '<(gtest_target_type)', | 11 'type': '<(gtest_target_type)', |
| 12 'sources': [ | 12 'sources': [ |
| 13 'navigation_interception/intercept_navigation_resource_throttle_unit
test.cc', | 13 'navigation_interception/intercept_navigation_resource_throttle_unit
test.cc', |
| 14 'test/run_all_unittests.cc', | 14 'test/run_all_unittests.cc', |
| 15 ], | 15 ], |
| 16 'include_dirs': [ | 16 'include_dirs': [ |
| 17 '..', | 17 '..', |
| 18 ], | 18 ], |
| 19 'dependencies': [ | 19 'dependencies': [ |
| 20 '../base/base.gyp:test_support_base', | 20 '../base/base.gyp:test_support_base', |
| 21 '../testing/gmock.gyp:gmock', | 21 '../testing/gmock.gyp:gmock', |
| 22 '../testing/gtest.gyp:gtest', | 22 '../testing/gtest.gyp:gtest', |
| 23 | 23 |
| 24 # Dependencies of intercept_navigation_resource_throttle_unittest.cc | 24 # Dependencies of intercept_navigation_resource_throttle_unittest.cc |
| 25 '../content/content.gyp:test_support_content', | 25 '../content/content.gyp:test_support_content', |
| 26 '../skia/skia.gyp:skia', | 26 '../skia/skia.gyp:skia', |
| 27 'navigation_interception', | 27 'navigation_interception', |
| 28 ], | 28 ], |
| 29 'conditions': [ |
| 30 ['OS == "android" and gtest_target_type == "shared_library"', { |
| 31 'dependencies': [ |
| 32 '../testing/android/native_test.gyp:native_test_native_code', |
| 33 ] |
| 34 }], |
| 35 ], |
| 29 } | 36 } |
| 30 ], | 37 ], |
| 38 'conditions': [ |
| 39 ['OS == "android" and gtest_target_type == "shared_library"', { |
| 40 'targets': [ |
| 41 { |
| 42 'target_name': 'components_unittests_apk', |
| 43 'type': 'none', |
| 44 'dependencies': [ |
| 45 'components_unittests', |
| 46 ], |
| 47 'variables': { |
| 48 'test_suite_name': 'components_unittests', |
| 49 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)compo
nents_unittests<(SHARED_LIB_SUFFIX)', |
| 50 }, |
| 51 'includes': [ '../build/apk_test.gypi' ], |
| 52 }, |
| 53 ], |
| 54 }], |
| 55 ], |
| 31 }], | 56 }], |
| 32 ], | 57 ], |
| 33 } | 58 } |
| OLD | NEW |