blob: 422f7f04b946016855c7d4fdacd7fd1f520dfb04 [file] [log] [blame]
[email protected]64f5650c2013-01-11 05:35:091# 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
3# found in the LICENSE file.
4
5{
[email protected]62885ab2013-01-23 03:55:166 'conditions': [
7 ['OS != "ios"', {
8 'targets': [
9 {
10 'target_name': 'components_unittests',
11 'type': '<(gtest_target_type)',
12 'sources': [
[email protected]28a66e252013-01-25 07:54:0213 'auto_login_parser/auto_login_parser_unittest.cc',
[email protected]62885ab2013-01-23 03:55:1614 'navigation_interception/intercept_navigation_resource_throttle_unittest.cc',
15 'test/run_all_unittests.cc',
[email protected]28a66e252013-01-25 07:54:0216 'visitedlink/test/visitedlink_unittest.cc',
[email protected]62885ab2013-01-23 03:55:1617 ],
18 'include_dirs': [
19 '..',
20 ],
21 'dependencies': [
22 '../base/base.gyp:test_support_base',
23 '../testing/gmock.gyp:gmock',
24 '../testing/gtest.gyp:gtest',
25
[email protected]28a66e252013-01-25 07:54:0226 # Dependencies of auto_login_parser
27 'components.gyp:auto_login_parser',
28
[email protected]62885ab2013-01-23 03:55:1629 # Dependencies of intercept_navigation_resource_throttle_unittest.cc
30 '../content/content.gyp:test_support_content',
31 '../skia/skia.gyp:skia',
32 'navigation_interception',
[email protected]28a66e252013-01-25 07:54:0233
34 # Dependencies of visitedlink
35 'components.gyp:visitedlink_browser',
36 'components.gyp:visitedlink_renderer',
37 '../content/content_resources.gyp:content_resources',
[email protected]62885ab2013-01-23 03:55:1638 ],
[email protected]c03ef212013-01-24 23:44:3039 'conditions': [
40 ['OS == "android" and gtest_target_type == "shared_library"', {
41 'dependencies': [
42 '../testing/android/native_test.gyp:native_test_native_code',
43 ]
44 }],
[email protected]c5c9e6dc2013-01-30 12:46:5845 ['OS=="win" and win_use_allocator_shim==1', {
46 'dependencies': [
47 '../base/allocator/allocator.gyp:allocator',
48 ],
49 }],
[email protected]c03ef212013-01-24 23:44:3050 ],
[email protected]62885ab2013-01-23 03:55:1651 }
[email protected]64f5650c2013-01-11 05:35:0952 ],
[email protected]c03ef212013-01-24 23:44:3053 'conditions': [
54 ['OS == "android" and gtest_target_type == "shared_library"', {
55 'targets': [
56 {
57 'target_name': 'components_unittests_apk',
58 'type': 'none',
59 'dependencies': [
60 'components_unittests',
61 ],
62 'variables': {
63 'test_suite_name': 'components_unittests',
64 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)components_unittests<(SHARED_LIB_SUFFIX)',
65 },
66 'includes': [ '../build/apk_test.gypi' ],
67 },
68 ],
69 }],
70 ],
[email protected]62885ab2013-01-23 03:55:1671 }],
72 ],
[email protected]64f5650c2013-01-11 05:35:0973}