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

Unified Diff: mojo/services/gfx/images/cpp/BUILD.gn

Issue 1595773002: Added ImagePipe (Closed) Base URL: https://github.com/domokit/mojo.git@submit-2
Patch Set: Expose InterfacePtr::encountered_error() through ImagePipeProducerEndpoint so the GL on ImagePipe i… Created 4 years, 10 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: mojo/services/gfx/images/cpp/BUILD.gn
diff --git a/mojo/services/gfx/images/cpp/BUILD.gn b/mojo/services/gfx/images/cpp/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..84082dde5f69ac766c2cb2d59571d96232e928d8
--- /dev/null
+++ b/mojo/services/gfx/images/cpp/BUILD.gn
@@ -0,0 +1,43 @@
+# Copyright 2015 The Chromium Authors. All rights reserved.
jamesr 2016/02/18 20:40:58 2016 (and elsewhere)
Forrest Reiling 2016/02/25 00:35:13 Ok I think I got them all
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+import("//build/module_args/mojo.gni")
+import("$mojo_sdk_root/mojo/public/mojo_sdk.gni")
+import("$mojo_sdk_root/mojo/public/mojo_application.gni")
+
+mojo_sdk_source_set("lib") {
+ restrict_external_deps = false
+ sources = [
+ "image_pipe_consumer_delegate.h",
+ "image_pipe_consumer_endpoint.cc",
+ "image_pipe_consumer_endpoint.h",
+ "image_pipe_endpoint.cc",
+ "image_pipe_endpoint.h",
+ "image_pipe_producer_endpoint.cc",
+ "image_pipe_producer_endpoint.h",
+ ]
+
+ deps = [
+ "../interfaces",
+ ]
+}
+
+mojo_native_application("image_pipe_apptest") {
+ output_name = "image_pipe_apptests"
+
+ testonly = true
+
+ sources = [
+ "image_pipe_apptest.cc",
+ ]
+
+ deps = [
+ ":lib",
+ "$mojo_sdk_root/mojo/public/cpp/application:standalone",
+ "$mojo_sdk_root/mojo/public/cpp/application:test_support_standalone",
+ "$mojo_sdk_root/mojo/public/cpp/environment",
+ "$mojo_sdk_root/mojo/public/cpp/system",
+ "$mojo_sdk_root/mojo/public/cpp/utility:utility",
jamesr 2016/02/18 20:40:58 just ".../cpp/utility"
Forrest Reiling 2016/02/25 00:35:13 Done.
+ ]
+}

Powered by Google App Engine
This is Rietveld 408576698