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("//extensions/shell/app_shell.gni") | 7 import("//extensions/shell/app_shell.gni") |
7 | 8 |
8 # Technically, this directory should not depend on files from src/chrome, but | 9 # Technically, this directory should not depend on files from src/chrome, but |
9 # that's where the VERSION file is. This should probably all be moved to | 10 # that's where the VERSION file is. This should probably all be moved to |
10 # src/build. | 11 # src/build. |
11 import("//chrome/version.gni") | 12 import("//chrome/version.gni") |
12 import("//testing/test.gni") | 13 import("//testing/test.gni") |
13 import("//tools/grit/grit_rule.gni") | 14 import("//tools/grit/grit_rule.gni") |
14 | 15 |
15 assert(enable_extensions) | 16 assert(enable_extensions) |
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
211 testonly = true | 212 testonly = true |
212 sources = [ | 213 sources = [ |
213 "app/shell_main_mac.cc", | 214 "app/shell_main_mac.cc", |
214 "app/shell_main_mac.h", | 215 "app/shell_main_mac.h", |
215 ] | 216 ] |
216 deps = [ | 217 deps = [ |
217 ":app_shell_lib", | 218 ":app_shell_lib", |
218 ] | 219 ] |
219 } | 220 } |
220 } | 221 } |
| 222 |
| 223 source_set("browser_tests") { |
| 224 testonly = true |
| 225 sources = [ |
| 226 "browser/geolocation/geolocation_apitest.cc", |
| 227 "browser/shell_browsertest.cc", |
| 228 "test/shell_apitest.cc", |
| 229 "test/shell_apitest.h", |
| 230 "test/shell_test.cc", |
| 231 "test/shell_test.h", |
| 232 "test/shell_test_launcher_delegate.cc", |
| 233 "test/shell_test_launcher_delegate.h", |
| 234 "test/shell_tests_main.cc", |
| 235 ] |
| 236 |
| 237 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ] |
| 238 |
| 239 deps = [ |
| 240 ":app_shell_lib", |
| 241 "//base", |
| 242 "//base/test:test_support", |
| 243 "//components/version_info", |
| 244 "//content/shell:content_shell_lib", |
| 245 "//content/test:test_support", |
| 246 "//extensions:test_support", |
| 247 "//extensions/browser", |
| 248 "//extensions/common", |
| 249 ] |
| 250 |
| 251 if (use_aura) { |
| 252 deps += [ "//ui/aura" ] |
| 253 } |
| 254 } |
| 255 |
| 256 source_set("unit_tests") { |
| 257 testonly = true |
| 258 sources = [] |
| 259 |
| 260 deps = [ |
| 261 ":app_shell_lib", |
| 262 "//base", |
| 263 "//base/test:test_support", |
| 264 "//extensions/browser", |
| 265 ] |
| 266 |
| 267 if (is_chromeos) { |
| 268 deps += [ |
| 269 "//chromeos:test_support", |
| 270 "//components/keyed_service/content", |
| 271 ] |
| 272 } |
| 273 } |
OLD | NEW |