| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 import("//build/config/features.gni") | 5 import("//build/config/features.gni") |
| 6 import("//build/config/ui.gni") | 6 import("//build/config/ui.gni") |
| 7 | 7 |
| 8 # GYP version: chrome/chrome_tests_unit.gypi:test_support_common | 8 # GYP version: chrome/chrome_tests_unit.gypi:test_support_common |
| 9 source_set("test_support") { | 9 source_set("test_support") { |
| 10 defines = [] |
| 10 testonly = true | 11 testonly = true |
| 11 | 12 |
| 12 sources = [ | 13 sources = [ |
| 13 "base/chrome_process_util.cc", | 14 "base/chrome_process_util.cc", |
| 14 "base/chrome_process_util.h", | 15 "base/chrome_process_util.h", |
| 15 "base/chrome_process_util_mac.cc", | 16 "base/chrome_process_util_mac.cc", |
| 16 "base/chrome_render_view_host_test_harness.cc", | 17 "base/chrome_render_view_host_test_harness.cc", |
| 17 "base/chrome_render_view_host_test_harness.h", | 18 "base/chrome_render_view_host_test_harness.h", |
| 18 "base/chrome_test_launcher.cc", | 19 "base/chrome_test_launcher.cc", |
| 19 "base/chrome_test_launcher.h", | 20 "base/chrome_test_launcher.h", |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 102 "//sql:test_support", | 103 "//sql:test_support", |
| 103 "//sync", | 104 "//sync", |
| 104 "//testing/gmock", | 105 "//testing/gmock", |
| 105 "//testing/gtest", | 106 "//testing/gtest", |
| 106 "//third_party/zlib", | 107 "//third_party/zlib", |
| 107 "//ui/message_center:test_support", | 108 "//ui/message_center:test_support", |
| 108 ] | 109 ] |
| 109 | 110 |
| 110 if (!is_ios) { | 111 if (!is_ios) { |
| 111 deps += [ | 112 deps += [ |
| 112 "//chrome/common/extensions/api", | |
| 113 "//chrome/plugin", | 113 "//chrome/plugin", |
| 114 "//chrome/renderer", | 114 "//chrome/renderer", |
| 115 "//chrome/utility", | 115 "//chrome/utility", |
| 116 "//content/public/child", | 116 "//content/public/child", |
| 117 "//content/public/common", | 117 "//content/public/common", |
| 118 "//content/public/plugin", | 118 "//content/public/plugin", |
| 119 "//content/public/renderer", | 119 "//content/public/renderer", |
| 120 "//content/public/utility", | 120 "//content/public/utility", |
| 121 "//components/autofill/core/browser:test_support", | 121 "//components/autofill/core/browser:test_support", |
| 122 "//components/captive_portal:test_support", | 122 "//components/captive_portal:test_support", |
| 123 "//components/infobars/core", | 123 "//components/infobars/core", |
| 124 "//components/sessions:test_support", | 124 "//components/sessions:test_support", |
| 125 "//extensions:test_support", | |
| 126 "//google_apis:test_support", | 125 "//google_apis:test_support", |
| 127 "//ipc:test_support", | 126 "//ipc:test_support", |
| 128 "//media:test_support", | 127 "//media:test_support", |
| 129 "//ppapi:ppapi_shared", | 128 "//ppapi:ppapi_shared", |
| 130 "//sql:test_support", | 129 "//sql:test_support", |
| 131 "//third_party/leveldatabase", | 130 "//third_party/leveldatabase", |
| 132 "//ui/base", | 131 "//ui/base", |
| 133 "//ui/events:events_base", | 132 "//ui/events:events_base", |
| 134 "//ui/gl", | 133 "//ui/gl", |
| 135 ] | 134 ] |
| (...skipping 21 matching lines...) Expand all Loading... |
| 157 "ppapi/ppapi_test.h", | 156 "ppapi/ppapi_test.h", |
| 158 ] | 157 ] |
| 159 } | 158 } |
| 160 | 159 |
| 161 if (use_ash) { | 160 if (use_ash) { |
| 162 deps += [ "//ash:test_support" ] | 161 deps += [ "//ash:test_support" ] |
| 163 } | 162 } |
| 164 if (toolkit_views) { | 163 if (toolkit_views) { |
| 165 deps += [ "//ui/views:test_support" ] | 164 deps += [ "//ui/views:test_support" ] |
| 166 } | 165 } |
| 166 |
| 167 if (enable_background) { |
| 168 defines += [ "ENABLE_BACKGROUND=1" ] |
| 169 } |
| 170 |
| 171 if (enable_extensions) { |
| 172 deps += [ |
| 173 "//chrome/common/extensions/api", |
| 174 "//extensions:test_support", |
| 175 ] |
| 176 } |
| 167 } | 177 } |
| 168 | 178 |
| 169 source_set("test_support_unit") { | 179 source_set("test_support_unit") { |
| 170 testonly = true | 180 testonly = true |
| 171 sources = [ | 181 sources = [ |
| 172 "../browser/sync/glue/session_sync_test_helper.cc", | 182 "../browser/sync/glue/session_sync_test_helper.cc", |
| 173 "../browser/sync/glue/session_sync_test_helper.h", | 183 "../browser/sync/glue/session_sync_test_helper.h", |
| 174 "base/run_all_unittests.cc", | 184 "base/run_all_unittests.cc", |
| 175 ] | 185 ] |
| 176 | 186 |
| 177 deps = [ | 187 deps = [ |
| 178 ":test_support", | 188 ":test_support", |
| 179 "//base", | 189 "//base", |
| 180 "//chrome:resources", | 190 "//chrome:resources", |
| 181 "//chrome:strings", | 191 "//chrome:strings", |
| 182 "//chrome/browser", | 192 "//chrome/browser", |
| 183 "//chrome/common", | 193 "//chrome/common", |
| 184 "//mojo/edk/system", | 194 "//mojo/edk/system", |
| 185 "//mojo/environment:chromium", | 195 "//mojo/environment:chromium", |
| 186 ] | 196 ] |
| 187 } | 197 } |
| OLD | NEW |