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

Unified Diff: chrome/chrome_resources.gyp

Issue 1828733004: Load application manifests from resources (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 9 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
Index: chrome/chrome_resources.gyp
diff --git a/chrome/chrome_resources.gyp b/chrome/chrome_resources.gyp
index dc41d4188ece31b00ab279ddb0a0257cd179feb7..361d2cc21cd20593e74528a405262f47399262b4 100644
--- a/chrome/chrome_resources.gyp
+++ b/chrome/chrome_resources.gyp
@@ -177,6 +177,7 @@
'type': 'none',
'dependencies': [
'chrome_internal_resources_gen',
+ 'chrome_mojo_manifests',
'chrome_web_ui_mojo_bindings.gyp:web_ui_mojo_bindings',
],
'actions': [
@@ -188,6 +189,7 @@
'grit_additional_defines': [
'-E', 'additional_modules_list_file=<(additional_modules_list_file)',
'-E', 'root_gen_dir=<(SHARED_INTERMEDIATE_DIR)',
+ '-E', 'root_out_dir=<(PRODUCT_DIR)',
],
},
'includes': [ 'chrome_grit_action.gypi' ],
@@ -686,5 +688,44 @@
},
],
},
+ {
+ # GN version: //chrome/app:chrome_manifest
+ 'target_name': 'chrome_manifest',
+ 'type': 'none',
+ 'variables': {
+ 'application_type': 'exe',
+ 'application_name': 'chrome',
+ 'source_manifest': '<(DEPTH)/chrome/app/mojo/chrome_manifest.json',
+ },
+ 'includes': [
+ '../mojo/public/mojo_application_manifest.gypi',
+ ],
+ 'hard_dependency': 1,
+ },
+ {
+ # GN version: //chrome/app:chrome_renderer_manifest
+ 'target_name': 'chrome_renderer_manifest',
+ 'type': 'none',
+ 'variables': {
+ 'application_type': 'exe',
+ 'application_name': 'chrome_renderer',
+ 'source_manifest':
+ '<(DEPTH)/chrome/app/mojo/chrome_renderer_manifest.json',
+ },
+ 'includes': [
+ '../mojo/public/mojo_application_manifest.gypi',
+ ],
+ 'hard_dependency': 1,
+ },
+ {
+ # GN version: //chrome/app:mojo_manifests
+ 'target_name': 'chrome_mojo_manifests',
+ 'type': 'none',
+ 'dependencies': [
+ 'chrome_manifest',
+ 'chrome_renderer_manifest',
+ ],
+ 'hard_dependency': 1,
+ },
], # targets
}

Powered by Google App Engine
This is Rietveld 408576698