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

Unified Diff: ios/chrome/ios_chrome_resources.gyp

Issue 2041603002: [ios Mojo] Implemented chrome://version. Base URL: https://chromium.googlesource.com/chromium/src.git@mojo_version
Patch Set: Self review Created 4 years, 5 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 | « ios/chrome/ios_chrome.gyp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/ios_chrome_resources.gyp
diff --git a/ios/chrome/ios_chrome_resources.gyp b/ios/chrome/ios_chrome_resources.gyp
index b2116430d4760eff091267380b22a8aa6faa2ae3..92472436537b6574126c0d40231f88f64afed588 100644
--- a/ios/chrome/ios_chrome_resources.gyp
+++ b/ios/chrome/ios_chrome_resources.gyp
@@ -38,6 +38,7 @@
'ios_resources_gen',
'ios_strings_gen',
'ios_theme_resources_gen',
+ 'web_ui_mojo_bindings',
],
},
{
@@ -87,6 +88,9 @@
'action_name': 'ios_resources',
'variables': {
'grit_grd_file': 'app/resources/ios_resources.grd',
+ 'grit_additional_defines': [
+ '-E', 'root_gen_dir=<(SHARED_INTERMEDIATE_DIR)',
+ ],
},
'includes': [ '../../build/grit_action.gypi' ],
},
@@ -262,5 +266,16 @@
'<(SHARED_INTERMEDIATE_DIR)/<(ui_string_overrider_output_basename).h',
],
},
+ {
+ 'target_name': 'web_ui_mojo_bindings',
+ # The type of this target must be none. This is so that resources can
+ # depend upon this target for generating the js bindings files. Any
+ # generated cpp files be listed explicitly in browser_ui.
+ 'type': 'none',
+ 'sources': [
+ '../../chrome/browser/ui/webui/version.mojom',
+ ],
+ 'includes': [ '../../mojo/mojom_bindings_generator.gypi' ],
+ },
],
}
« no previous file with comments | « ios/chrome/ios_chrome.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698