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

Unified Diff: components/contextual_search.gypi

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/components.gyp ('k') | components/contextual_search/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/contextual_search.gypi
diff --git a/components/contextual_search.gypi b/components/contextual_search.gypi
new file mode 100644
index 0000000000000000000000000000000000000000..d9f323e8290ef2e168caa463c27901bab097fd51
--- /dev/null
+++ b/components/contextual_search.gypi
@@ -0,0 +1,57 @@
+# 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.
+
+{
+ 'targets': [
+ {
+ # GN: //components/contextual_search:browser
+ 'target_name': 'contextual_search_browser',
+ 'type': 'static_library',
+ 'include_dirs': [
+ '..',
+ ],
+ 'dependencies': [
+ 'contextual_search_mojo_bindings',
+ '../base/base.gyp:base',
+ ],
+ 'sources': [
+ 'contextual_search/browser/contextual_search_js_api_service_impl.cc',
+ 'contextual_search/browser/contextual_search_js_api_service_impl.h',
+ ],
+ },
+ {
+ # GN: //components/contextual_search:renderer
+ 'target_name': 'contextual_search_renderer',
+ 'type': 'static_library',
+ 'include_dirs': [
+ '..',
+ '../third_party/WebKit',
+ ],
+ 'dependencies': [
+ 'contextual_search_mojo_bindings',
+ '../base/base.gyp:base',
+ ],
+ 'sources': [
+ 'contextual_search/renderer/contextual_search_wrapper.cc',
+ 'contextual_search/renderer/contextual_search_wrapper.h',
+ 'contextual_search/renderer/overlay_js_render_frame_observer.cc',
+ 'contextual_search/renderer/overlay_js_render_frame_observer.h',
+ 'contextual_search/renderer/overlay_page_notifier_service_impl.cc',
+ 'contextual_search/renderer/overlay_page_notifier_service_impl.h',
+ ],
+ },
+ {
+ # GN version: //components/contextual_search:mojo_bindings
+ 'target_name': 'contextual_search_mojo_bindings',
+ 'type': 'static_library',
+ 'sources': [
+ 'contextual_search/common/contextual_search_js_api_service.mojom',
+ 'contextual_search/common/overlay_page_notifier_service.mojom',
+ ],
+ 'includes': [
+ '../third_party/mojo/mojom_bindings_generator.gypi',
+ ],
+ },
+ ],
+}
« no previous file with comments | « components/components.gyp ('k') | components/contextual_search/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698