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

Unified Diff: blimp/engine/BUILD.gn

Issue 1859753002: Blimp: create Mojo component for renderer/browser communication. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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: blimp/engine/BUILD.gn
diff --git a/blimp/engine/BUILD.gn b/blimp/engine/BUILD.gn
index 7a00a8140cbf63b53755b515dc90768c34bd93a9..ebeb89049c8277a95520b35d1023ef2806485175 100644
--- a/blimp/engine/BUILD.gn
+++ b/blimp/engine/BUILD.gn
@@ -5,6 +5,7 @@
import("//build/config/features.gni")
import("//build/config/sanitizers/sanitizers.gni")
import("//build/config/ui.gni")
+import("//mojo/public/tools/bindings/mojom.gni")
import("//tools/grit/repack.gni")
import("//tools/grit/grit_rule.gni")
@@ -72,7 +73,9 @@ source_set("app") {
deps = [
":app_ui",
+ ":blob_channel",
nyquist 2016/04/05 22:13:19 Did you mean to just depend on //blimp/engine/mojo
Kevin M 2016/04/06 00:01:43 Sorry - b/e/mojo/BUILD.gn should have been removed
":common",
+ ":renderer",
":session",
"//base",
"//blimp/common/proto",
@@ -146,6 +149,23 @@ source_set("feature") {
]
}
+source_set("renderer") {
+ sources = [
+ "renderer/engine_image_serialization_processor.cc",
+ "renderer/engine_image_serialization_processor.h",
+ ]
+
+ deps = [
+ ":blob_channel_mojo",
nyquist 2016/04/05 22:13:19 Did you mean to just depend on the stuff in //blim
Kevin M 2016/04/06 00:01:43 Acknowledged.
+ "//base",
+ "//cc",
+ "//skia",
+ "//third_party/libwebp",
+ "//ui/gfx/geometry",
+ "//ui/gl",
+ ]
+}
+
source_set("session") {
sources = [
"session/blimp_engine_session.cc",
@@ -163,6 +183,23 @@ source_set("session") {
]
}
+# Implements the browser portions of the Mojo bridge to BlobChannel.
+source_set("blob_channel") {
+ sources = [
+ "mojo/blob_channel_mojo_impl.cc",
+ "mojo/blob_channel_mojo_impl.h",
+ ]
+ deps = [
+ ":blob_channel_mojo",
+ ]
+}
+
+mojom("blob_channel_mojo") {
+ sources = [
+ "mojo/blob_channel.mojom",
+ ]
+}
+
source_set("app_unit_tests") {
testonly = true

Powered by Google App Engine
This is Rietveld 408576698