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

Unified Diff: components/translate.gypi

Issue 2143383002: [Translate] Migrate IPCs to Mojo interfaces. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix trybots Created 4 years, 4 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 | « chrome/renderer/translate/translate_helper_browsertest.cc ('k') | components/translate/content/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/translate.gypi
diff --git a/components/translate.gypi b/components/translate.gypi
index d4babfa7335ffca86cebc12f733b9b061a8ca858..9e390c72cc4a98a0773e563ede9c615c97d403fc 100644
--- a/components/translate.gypi
+++ b/components/translate.gypi
@@ -150,21 +150,30 @@
# GN version: //components/translate/content/common
'target_name': 'translate_content_common',
'type': 'static_library',
+ 'variables': {
+ 'mojom_typemaps': [
+ 'translate/content/common/translate.typemap',
+ '<(DEPTH)/mojo/common/common_custom_types.typemap',
+ '<(DEPTH)/url/mojo/gurl.typemap',
+ ],
+ },
+ 'sources': [
+ 'translate/content/common/translate_struct_traits.cc',
+ 'translate/content/common/translate.mojom',
+ ],
+ 'export_dependent_settings': [
+ '../mojo/mojo_base.gyp:mojo_common_custom_types_mojom',
+ '../url/url.gyp:url_mojom',
+ ],
'dependencies': [
'translate_core_common',
'translate_core_language_detection',
'../base/base.gyp:base',
- '../ipc/ipc.gyp:ipc',
- '../url/ipc/url_ipc.gyp:url_ipc',
+ '../mojo/mojo_base.gyp:mojo_common_custom_types_mojom',
+ '../mojo/mojo_public.gyp:mojo_cpp_bindings',
+ '../url/url.gyp:url_mojom',
],
- 'include_dirs': [
- '..',
- ],
- 'sources': [
- # Note: sources list duplicated in GN build.
- 'translate/content/common/translate_messages.cc',
- 'translate/content/common/translate_messages.h',
- ],
+ 'includes': [ '../mojo/mojom_bindings_generator.gypi' ],
},
{
# GN version: //components/translate/content/renderer
@@ -177,7 +186,6 @@
'../base/base.gyp:base',
'../content/content.gyp:content_common',
'../content/content.gyp:content_renderer',
- '../ipc/ipc.gyp:ipc',
'../third_party/WebKit/public/blink.gyp:blink',
'../third_party/cld_2/cld_2.gyp:cld_2',
'../url/url.gyp:url_lib',
« no previous file with comments | « chrome/renderer/translate/translate_helper_browsertest.cc ('k') | components/translate/content/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698