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

Unified Diff: components/contextual_search/BUILD.gn

Issue 1385663002: [Contextual Search] Add Mojo-enabled API component. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added a few more missing dependencies to the new component's BUILD.gn rules for our renderer sectio… Created 5 years 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 | « components/contextual_search.gypi ('k') | components/contextual_search/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/contextual_search/BUILD.gn
diff --git a/components/contextual_search/BUILD.gn b/components/contextual_search/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..096c54a84b3b20b89d8774694326d19d341fc9ed
--- /dev/null
+++ b/components/contextual_search/BUILD.gn
@@ -0,0 +1,48 @@
+# Copyright 2015 The Chromium 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/tools/bindings/mojom.gni")
+
+# GYP version: components/contextual_search.gypi:contextual_search_mojo_bindings
+mojom("mojo_bindings") {
+ sources = [
+ "common/contextual_search_js_api_service.mojom",
+ "common/overlay_page_notifier_service.mojom",
+ ]
+}
+
+# GYP version: components/contextual_search.gypi:contextual_search_browser
+static_library("browser") {
+ sources = [
+ "browser/contextual_search_js_api_service_impl.cc",
+ "browser/contextual_search_js_api_service_impl.h",
+ ]
+ deps = [
+ ":mojo_bindings",
+ "//base",
+ ]
+}
+
+# GYP version: components/contextual_search.gypi:contextual_search_renderer
+static_library("renderer") {
+ sources = [
+ "renderer/contextual_search_wrapper.cc",
+ "renderer/contextual_search_wrapper.h",
+ "renderer/overlay_js_render_frame_observer.cc",
+ "renderer/overlay_js_render_frame_observer.h",
+ "renderer/overlay_page_notifier_service_impl.cc",
+ "renderer/overlay_page_notifier_service_impl.h",
+ ]
+ deps = [
+ ":mojo_bindings",
+ "//base",
+ "//content/public/common",
+ "//content/public/renderer",
+ "//gin",
+ "//mojo/environment:chromium",
+ "//mojo/public/cpp/bindings",
+ "//third_party/WebKit/public:blink_headers",
+ "//v8",
+ ]
+}
« no previous file with comments | « components/contextual_search.gypi ('k') | components/contextual_search/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698