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

Unified Diff: services/dart/BUILD.gn

Issue 816113004: Dart: Adds a content handler and a test. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Merge CLs that address comments Created 5 years, 11 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: services/dart/BUILD.gn
diff --git a/services/dart/BUILD.gn b/services/dart/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..68338c9c6c71bbb0f0171037147dc4a94b7cba86
--- /dev/null
+++ b/services/dart/BUILD.gn
@@ -0,0 +1,54 @@
+# Copyright 2014 The Dart project Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+import("//mojo/public/mojo_application.gni")
+
+group("dart") {
+ deps = [
+ ":dart_content_handler",
+ ]
+}
+
+mojo_native_application("dart_content_handler") {
+ sources = [
+ "content_handler_main.cc",
+ "dart_app.cc",
+ "dart_app.h",
+ ]
+
+ deps = [
+ "//base",
+ "//base:i18n",
+ "//crypto",
+ "//dart/runtime:libdart",
+ "//mojo/application",
+ "//mojo/application:application",
+ "//mojo/application:content_handler",
+ "//mojo/dart/embedder:dart_controller",
+ "//mojo/common",
+ "//mojo/environment:chromium",
+ "//mojo/public/cpp/system",
+ "//mojo/public/cpp/utility",
+ "//mojo/public/interfaces/application",
+ "//mojo/services/content_handler/public/interfaces",
+ "//mojo/services/network/public/interfaces",
+ ]
+}
+
+mojo_native_application("dart_apptests") {
+ testonly = true
+
+ sources = [
+ "echo_apptest.cc",
+ ]
+
+ deps = [
+ "//base",
+ "//mojo/application",
+ "//mojo/application:test_support",
+ "//mojo/public/cpp/bindings",
+ "//mojo/public/cpp/system",
+ "//services/dart/test:echo_service",
+ ]
+}

Powered by Google App Engine
This is Rietveld 408576698