Chromium Code Reviews| 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': [ | |
| 7 { | |
| 8 'target_name': 'components_unittests', | |
| 9 'type': '<(gtest_target_type)', | |
| 10 'sources': [ | |
| 11 'autofill/core/common/form_data_unittest.cc', | |
| 12 'autofill/core/common/form_field_data_unittest.cc', | |
| 13 'auto_login_parser/auto_login_parser_unittest.cc', | |
| 14 'browser_context_keyed_service/browser_context_dependency_manager_unitte st.cc', | |
| 15 'browser_context_keyed_service/dependency_graph_unittest.cc', | |
| 16 'dom_distiller/core/dom_distiller_database_unittest.cc', | |
| 17 'json_schema/json_schema_validator_unittest.cc', | |
| 18 'json_schema/json_schema_validator_unittest_base.cc', | |
| 19 'json_schema/json_schema_validator_unittest_base.h', | |
| 20 'navigation_interception/intercept_navigation_resource_throttle_unittest .cc', | |
| 21 'sessions/serialized_navigation_entry_unittest.cc', | |
| 22 'test/run_all_unittests.cc', | |
| 23 # TODO(asvitkine): These should be tested on iOS too. | |
|
blundell
2013/10/02 11:45:03
Move this comment down to where you're excluding a
| |
| 24 'variations/entropy_provider_unittest.cc', | |
| 25 'variations/metrics_util_unittest.cc', | |
| 26 'variations/variations_associated_data_unittest.cc', | |
| 27 'variations/variations_seed_processor_unittest.cc', | |
| 28 'visitedlink/test/visitedlink_unittest.cc', | |
| 29 'webdata/encryptor/encryptor_password_mac_unittest.cc', | |
| 30 'webdata/encryptor/encryptor_unittest.cc', | |
| 31 'web_modal/web_contents_modal_dialog_manager_unittest.cc', | |
| 32 ], | |
| 33 'include_dirs': [ | |
| 34 '..', | |
| 35 ], | |
| 36 'dependencies': [ | |
| 37 '../base/base.gyp:test_support_base', | |
| 38 '../testing/gmock.gyp:gmock', | |
| 39 '../testing/gtest.gyp:gtest', | |
| 40 | |
| 41 # Dependencies of autofill | |
| 42 'autofill_core_common', | |
| 43 | |
| 44 # Dependencies of auto_login_parser | |
| 45 'auto_login_parser', | |
| 46 | |
| 47 # Dependencies of browser_context_keyed_service | |
| 48 'browser_context_keyed_service', | |
| 49 | |
| 50 # Dependencies of dom_distiller | |
| 51 'dom_distiller_core', | |
| 52 'dom_distiller_core_proto', | |
| 53 | |
| 54 # Dependencies of encryptor | |
| 55 'encryptor', | |
| 56 | |
| 57 # Dependencies of json_schema | |
| 58 'json_schema', | |
| 59 | |
| 60 # Dependencies of intercept_navigation_resource_throttle_unittest.cc | |
| 61 '../content/content.gyp:test_support_content', | |
| 62 '../skia/skia.gyp:skia', | |
| 63 'navigation_interception', | |
| 64 | |
| 65 # Dependencies of policy | |
| 66 'policy_component', | |
| 67 | |
| 68 # Dependencies of sessions | |
| 69 '../third_party/protobuf/protobuf.gyp:protobuf_lite', | |
| 70 'sessions', | |
| 71 'sessions_test_support', | |
| 72 | |
| 73 # Dependencies of variations | |
| 74 'variations', | |
| 75 | |
| 76 # Dependencies of visitedlink | |
| 77 'visitedlink_browser', | |
| 78 'visitedlink_renderer', | |
| 79 '../content/content_resources.gyp:content_resources', | |
| 80 | |
| 81 'web_modal', | |
| 82 ], | |
| 83 'conditions': [ | |
| 84 ['OS == "ios"', { | |
| 85 'sources/': [ | |
| 86 ['exclude', '\\.cc$'], | |
| 87 ['include', '^test/run_all_unittests\\.cc$'], | |
| 88 # TODO(ios): Include files here as they are made to work. | |
| 89 ], | |
| 90 'dependencies!': [ | |
| 91 'autofill_core_common', | |
| 92 'dom_distiller_core', | |
| 93 'dom_distiller_core_proto', | |
| 94 'navigation_interception', | |
| 95 'visitedlink_renderer', | |
| 96 ], | |
| 97 }], | |
| 98 ['OS == "android"', { | |
| 99 'sources!': [ | |
| 100 'web_modal/web_contents_modal_dialog_manager_unittest.cc', | |
| 101 ], | |
| 102 'dependencies!': [ | |
| 103 'web_modal', | |
| 104 ], | |
| 105 }], | |
| 106 ['OS == "android" and gtest_target_type == "shared_library"', { | |
| 107 'dependencies': [ | |
| 108 '../testing/android/native_test.gyp:native_test_native_code', | |
| 109 ] | |
| 110 }], | |
| 111 ['OS=="win" and win_use_allocator_shim==1', { | |
| 112 'dependencies': [ | |
| 113 '../base/allocator/allocator.gyp:allocator', | |
| 114 ], | |
| 115 }], | |
| 116 ['android_webview_build == 0', { | |
| 117 'dependencies': [ | |
| 118 '../sync/sync.gyp:sync', | |
| 119 ], | |
| 120 }], | |
| 121 ['OS=="linux" and component=="shared_library" and linux_use_tcmalloc==1' , { | |
| 122 'dependencies': [ | |
| 123 '<(DEPTH)/base/allocator/allocator.gyp:allocator', | |
| 124 ], | |
| 125 'link_settings': { | |
| 126 'ldflags': ['-rdynamic'], | |
| 127 }, | |
| 128 }], | |
| 129 ['configuration_policy==1', { | |
| 130 'sources': [ | |
| 131 'policy/core/common/schema_unittest.cc', | |
| 132 ], | |
| 133 }], | |
| 134 ], | |
| 135 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | |
| 136 'msvs_disabled_warnings': [4267, ], | |
| 137 }, | |
| 138 ], | |
| 6 'conditions': [ | 139 'conditions': [ |
| 7 ['OS != "ios"', { | 140 ['OS != "ios"', { |
| 8 'targets': [ | 141 'targets': [ |
| 9 { | 142 { |
| 10 'target_name': 'components_unittests', | |
| 11 'type': '<(gtest_target_type)', | |
| 12 'sources': [ | |
| 13 'autofill/core/common/form_data_unittest.cc', | |
| 14 'autofill/core/common/form_field_data_unittest.cc', | |
| 15 'auto_login_parser/auto_login_parser_unittest.cc', | |
| 16 'browser_context_keyed_service/browser_context_dependency_manager_un ittest.cc', | |
| 17 'browser_context_keyed_service/dependency_graph_unittest.cc', | |
| 18 'dom_distiller/core/dom_distiller_database_unittest.cc', | |
| 19 'json_schema/json_schema_validator_unittest.cc', | |
| 20 'json_schema/json_schema_validator_unittest_base.cc', | |
| 21 'json_schema/json_schema_validator_unittest_base.h', | |
| 22 'navigation_interception/intercept_navigation_resource_throttle_unit test.cc', | |
| 23 'sessions/serialized_navigation_entry_unittest.cc', | |
| 24 'test/run_all_unittests.cc', | |
| 25 # TODO(asvitkine): These should be tested on iOS too. | |
| 26 'variations/entropy_provider_unittest.cc', | |
| 27 'variations/metrics_util_unittest.cc', | |
| 28 'variations/variations_associated_data_unittest.cc', | |
| 29 'variations/variations_seed_processor_unittest.cc', | |
| 30 'visitedlink/test/visitedlink_unittest.cc', | |
| 31 'webdata/encryptor/encryptor_password_mac_unittest.cc', | |
| 32 'webdata/encryptor/encryptor_unittest.cc', | |
| 33 'web_modal/web_contents_modal_dialog_manager_unittest.cc', | |
| 34 ], | |
| 35 'include_dirs': [ | |
| 36 '..', | |
| 37 ], | |
| 38 'dependencies': [ | |
| 39 '../base/base.gyp:test_support_base', | |
| 40 '../testing/gmock.gyp:gmock', | |
| 41 '../testing/gtest.gyp:gtest', | |
| 42 | |
| 43 # Dependencies of autofill | |
| 44 'autofill_core_common', | |
| 45 | |
| 46 # Dependencies of auto_login_parser | |
| 47 'auto_login_parser', | |
| 48 | |
| 49 # Dependencies of browser_context_keyed_service | |
| 50 'browser_context_keyed_service', | |
| 51 | |
| 52 # Dependencies of dom_distiller | |
| 53 'dom_distiller_core', | |
| 54 'dom_distiller_core_proto', | |
| 55 | |
| 56 # Dependencies of encryptor | |
| 57 'encryptor', | |
| 58 | |
| 59 # Dependencies of json_schema | |
| 60 'json_schema', | |
| 61 | |
| 62 # Dependencies of intercept_navigation_resource_throttle_unittest.cc | |
| 63 '../content/content.gyp:test_support_content', | |
| 64 '../skia/skia.gyp:skia', | |
| 65 'navigation_interception', | |
| 66 | |
| 67 # Dependencies of policy | |
| 68 'policy_component', | |
| 69 | |
| 70 # Dependencies of sessions | |
| 71 '../third_party/protobuf/protobuf.gyp:protobuf_lite', | |
| 72 'sessions', | |
| 73 'sessions_test_support', | |
| 74 | |
| 75 # Dependencies of variations | |
| 76 'variations', | |
| 77 | |
| 78 # Dependencies of visitedlink | |
| 79 'visitedlink_browser', | |
| 80 'visitedlink_renderer', | |
| 81 '../content/content_resources.gyp:content_resources', | |
| 82 | |
| 83 'web_modal', | |
| 84 ], | |
| 85 'conditions': [ | |
| 86 ['OS == "android"', { | |
| 87 'sources!': [ | |
| 88 'web_modal/web_contents_modal_dialog_manager_unittest.cc', | |
| 89 ], | |
| 90 'dependencies!': [ | |
| 91 'web_modal', | |
| 92 ], | |
| 93 }], | |
| 94 ['OS == "android" and gtest_target_type == "shared_library"', { | |
| 95 'dependencies': [ | |
| 96 '../testing/android/native_test.gyp:native_test_native_code', | |
| 97 ] | |
| 98 }], | |
| 99 ['OS=="win" and win_use_allocator_shim==1', { | |
| 100 'dependencies': [ | |
| 101 '../base/allocator/allocator.gyp:allocator', | |
| 102 ], | |
| 103 }], | |
| 104 ['android_webview_build == 0', { | |
| 105 'dependencies': [ | |
| 106 '../sync/sync.gyp:sync', | |
| 107 ], | |
| 108 }], | |
| 109 ['OS=="linux" and component=="shared_library" and linux_use_tcmalloc ==1', { | |
| 110 'dependencies': [ | |
| 111 '<(DEPTH)/base/allocator/allocator.gyp:allocator', | |
| 112 ], | |
| 113 'link_settings': { | |
| 114 'ldflags': ['-rdynamic'], | |
| 115 }, | |
| 116 }], | |
| 117 ['configuration_policy==1', { | |
| 118 'sources': [ | |
| 119 'policy/core/common/schema_unittest.cc', | |
| 120 ], | |
| 121 }], | |
| 122 ], | |
| 123 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | |
| 124 'msvs_disabled_warnings': [4267, ], | |
| 125 }, | |
| 126 { | |
| 127 'target_name': 'components_perftests', | 143 'target_name': 'components_perftests', |
| 128 'type': '<(gtest_target_type)', | 144 'type': '<(gtest_target_type)', |
| 129 'dependencies': [ | 145 'dependencies': [ |
| 130 '../base/base.gyp:base', | 146 '../base/base.gyp:base', |
| 131 '../base/base.gyp:test_support_perf', | 147 '../base/base.gyp:test_support_perf', |
| 132 '../content/content.gyp:test_support_content', | 148 '../content/content.gyp:test_support_content', |
| 133 '../testing/gtest.gyp:gtest', | 149 '../testing/gtest.gyp:gtest', |
| 134 '../ui/compositor/compositor.gyp:compositor', | 150 '../ui/compositor/compositor.gyp:compositor', |
| 135 'visitedlink_browser', | 151 'visitedlink_browser', |
| 136 ], | 152 ], |
| (...skipping 28 matching lines...) Expand all Loading... | |
| 165 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)compo nents_unittests<(SHARED_LIB_SUFFIX)', | 181 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)compo nents_unittests<(SHARED_LIB_SUFFIX)', |
| 166 }, | 182 }, |
| 167 'includes': [ '../build/apk_test.gypi' ], | 183 'includes': [ '../build/apk_test.gypi' ], |
| 168 }, | 184 }, |
| 169 ], | 185 ], |
| 170 }], | 186 }], |
| 171 ], | 187 ], |
| 172 }], | 188 }], |
| 173 ], | 189 ], |
| 174 } | 190 } |
| OLD | NEW |