Index: components/contextual_search.gypi |
diff --git a/components/contextual_search.gypi b/components/contextual_search.gypi |
new file mode 100644 |
index 0000000000000000000000000000000000000000..405e6e9792cb38ce74cf900d98c7067aa9573663 |
--- /dev/null |
+++ b/components/contextual_search.gypi |
@@ -0,0 +1,44 @@ |
+# 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:contextual_search |
+ #TODO(donnd): make conditional on OS == android? |
+ 'target_name': 'contextual_search', |
+ 'type': 'static_library', |
+ 'include_dirs': [ |
+ '..', |
+ '../third_party/WebKit', |
+ ], |
+ 'dependencies': [ |
+ 'contextual_search_mojo_bindings', |
+ '../base/base.gyp:base', |
+ ], |
+ 'sources': [ |
+ 'contextual_search/contextual_search_api_service_impl.cc', |
+ 'contextual_search/contextual_search_api_service_impl.h', |
+ 'contextual_search/contextual_search_wrapper.cc', |
+ 'contextual_search/contextual_search_wrapper.h', |
+ 'contextual_search/overlay_page_notifier_service_impl.cc', |
+ 'contextual_search/overlay_page_notifier_service_impl.h', |
+ 'contextual_search/overlay_js_render_frame_observer.cc', |
+ 'contextual_search/overlay_js_render_frame_observer.h', |
+ ], |
+ }, |
+ { |
+ # GN version: //components/contextual_search:mojo_bindings |
+ 'target_name': 'contextual_search_mojo_bindings', |
+ 'type': 'static_library', |
+ 'sources': [ |
+ 'contextual_search/contextual_search_api_service.mojom', |
+ 'contextual_search/overlay_page_notifier_service.mojom', |
+ ], |
+ 'includes': [ |
+ '../third_party/mojo/mojom_bindings_generator.gypi', |
+ ], |
+ }, |
+ ], |
+} |