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

Unified Diff: mojo/public/mojo_application_manifest.gypi

Issue 1796033002: Add GYP support for Chrome's mojo manifest (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« no previous file with comments | « content/content.gyp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/mojo_application_manifest.gypi
diff --git a/mojo/public/mojo_application_manifest.gypi b/mojo/public/mojo_application_manifest.gypi
new file mode 100644
index 0000000000000000000000000000000000000000..ddb202d29c274e26e0277780734b6200288afe65
--- /dev/null
+++ b/mojo/public/mojo_application_manifest.gypi
@@ -0,0 +1,41 @@
+# Copyright 2016 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.
+
+{
+ 'variables': {
+ 'variables': {
+ 'application_name%': '<(application_name)',
+ 'application_type%': '<(application_type)',
+ },
+ 'application_type%': '<(application_type)',
+ 'application_name%': '<(application_name)',
+ 'manifest_collator_script%':
+ '<(DEPTH)/mojo/public/tools/manifest/manifest_collator.py',
+ 'source_manifest%': '<(source_manifest)',
+ 'conditions': [
+ ['application_type=="mojo"', {
+ 'output_manifest%': '<(PRODUCT_DIR)/<(application_name)/manifest.json',
+ }, {
+ 'output_manifest%': '<(PRODUCT_DIR)/<(application_name)_manifest.json',
+ }],
+ ],
+ },
+ 'actions': [{
+ 'action_name': '<(_target_name)_collation',
+ 'inputs': [
+ '<(manifest_collator_script)',
+ '<(source_manifest)',
+ ],
+ 'outputs': [
+ '<(output_manifest)',
+ ],
+ 'action': [
+ 'python',
+ '<(manifest_collator_script)',
+ '--application-name', '<(application_name)',
+ '--parent=<(source_manifest)',
+ '--output=<(output_manifest)',
+ ],
+ }],
+}
« no previous file with comments | « content/content.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698