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

Unified Diff: mojo/shell/BUILD.gn

Issue 461903002: GN: Add mojo_shell_tests, get more things working on android (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix up android linking Created 6 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
« no previous file with comments | « mojo/services/view_manager/BUILD.gn ('k') | mojo/system.gni » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/shell/BUILD.gn
diff --git a/mojo/shell/BUILD.gn b/mojo/shell/BUILD.gn
index 700b9ab449a1552cd07b6cb1bece969efd2751d0..1038b6f38d54ee4dd0ee669e0b95964c13eaaa75 100644
--- a/mojo/shell/BUILD.gn
+++ b/mojo/shell/BUILD.gn
@@ -33,11 +33,12 @@ source_set("lib") {
"//base",
"//base/third_party/dynamic_annotations",
"//base:base_static",
+ "//mojo/application_manager",
"//mojo/common",
"//mojo/gles2",
"//mojo/public/cpp/application:chromium",
+ "//mojo/public/gles2",
"//mojo/public/interfaces/application",
- "//mojo/application_manager",
"//mojo/services/native_viewport",
"//mojo/services/public/interfaces/native_viewport",
"//mojo/services/public/interfaces/network",
@@ -102,7 +103,6 @@ source_set("lib") {
deps += [
# These are only necessary as long as we hard code use of ViewManager.
"//skia",
- "//mojo/public/gles2",
"//mojo/services/view_manager",
"//mojo/services/public/interfaces/view_manager",
]
@@ -124,3 +124,42 @@ mojom("external_service_bindings") {
"external_service.mojom"
]
}
+
+test("mojo_shell_tests") {
+ deps = [
+ ":lib",
+ "//base",
+ "//base:i18n",
+ "//base/test:test_support",
+ "//testing/gtest",
+ "//net:test_support",
+ "//url",
+ "//mojo/application_manager",
+ "//mojo/services/test_service:bindings",
+ "//mojo/common",
+ "//mojo/environment:chromium",
+ "//mojo/system",
+ ]
+
+ datadeps = [
+ "//mojo/services/test_service:mojo_test_app",
+ "//mojo/services/test_service:mojo_test_request_tracker_app",
+ ]
+
+ sources = [
+ "child_process_host_unittest.cc",
+ "dynamic_application_loader_unittest.cc",
+ "in_process_dynamic_service_runner_unittest.cc",
+ "shell_test_base.cc",
+ "shell_test_base.h",
+ "shell_test_base_unittest.cc",
+ "shell_test_main.cc",
+ ]
+
+ if (is_android) {
+ deps += [
+ # TODO(GYP):
+ #'../testing/android/native_test.gyp:native_test_native_code',
+ ]
+ }
+}
« no previous file with comments | « mojo/services/view_manager/BUILD.gn ('k') | mojo/system.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698