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

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: yzshen and nyquist feedback 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
« no previous file with comments | « blimp/client/DEPS ('k') | blimp/engine/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: blimp/engine/BUILD.gn
diff --git a/blimp/engine/BUILD.gn b/blimp/engine/BUILD.gn
index 7a00a8140cbf63b53755b515dc90768c34bd93a9..76ddb684a5433036125fa95f83c547defeb77c49 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",
":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",
+ "//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_service.cc",
+ "mojo/blob_channel_service.h",
+ ]
+ deps = [
+ ":blob_channel_mojo",
+ ]
+}
+
+mojom("blob_channel_mojo") {
+ sources = [
+ "mojo/blob_channel.mojom",
+ ]
+}
+
source_set("app_unit_tests") {
testonly = true
« no previous file with comments | « blimp/client/DEPS ('k') | blimp/engine/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698