Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(263)

Unified Diff: extensions/shell/BUILD.gn

Issue 2281053004: Remove extensions_tests.gyp[i] (Closed)
Patch Set: chromeos Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: extensions/shell/BUILD.gn
diff --git a/extensions/shell/BUILD.gn b/extensions/shell/BUILD.gn
index c4516eaed02fc9943a8e745b07f9c27d68d7b99d..71c7b56c24d90ae3639f2e88d2a4ed10310820c9 100644
--- a/extensions/shell/BUILD.gn
+++ b/extensions/shell/BUILD.gn
@@ -3,6 +3,7 @@
# found in the LICENSE file.
import("//build/config/features.gni")
+import("//build/config/ui.gni")
import("//extensions/shell/app_shell.gni")
# Technically, this directory should not depend on files from src/chrome, but
@@ -218,3 +219,55 @@ if (is_mac) {
]
}
}
+
+source_set("browser_tests") {
+ testonly = true
+ sources = [
+ "browser/geolocation/geolocation_apitest.cc",
+ "browser/shell_browsertest.cc",
+ "test/shell_apitest.cc",
+ "test/shell_apitest.h",
+ "test/shell_test.cc",
+ "test/shell_test.h",
+ "test/shell_test_launcher_delegate.cc",
+ "test/shell_test_launcher_delegate.h",
+ "test/shell_tests_main.cc",
+ ]
+
+ defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ]
+
+ deps = [
+ ":app_shell_lib",
+ "//base",
+ "//base/test:test_support",
+ "//components/version_info",
+ "//content/shell:content_shell_lib",
+ "//content/test:test_support",
+ "//extensions:test_support",
+ "//extensions/browser",
+ "//extensions/common",
+ ]
+
+ if (use_aura) {
+ deps += [ "//ui/aura" ]
+ }
+}
+
+source_set("unit_tests") {
+ testonly = true
+ sources = []
+
+ deps = [
+ ":app_shell_lib",
+ "//base",
+ "//base/test:test_support",
+ "//extensions/browser",
+ ]
+
+ if (is_chromeos) {
+ deps += [
+ "//chromeos:test_support",
+ "//components/keyed_service/content",
+ ]
+ }
+}
« no previous file with comments | « extensions/renderer/api/serial/data_sender_unittest.cc ('k') | extensions/shell/browser/shell_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698