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

Unified Diff: chrome/browser/resources/chromeos/chromevox/merge_manifests.gypi

Issue 295123002: Provide script/gypi support for manifest generation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: More style. Created 6 years, 7 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/browser/resources/chromeos/chromevox/merge_manifests.gypi
diff --git a/chrome/browser/resources/chromeos/chromevox/merge_manifests.gypi b/chrome/browser/resources/chromeos/chromevox/merge_manifests.gypi
new file mode 100644
index 0000000000000000000000000000000000000000..4cb13413e92bf93f4e58563a5c5b67342ec05193
--- /dev/null
+++ b/chrome/browser/resources/chromeos/chromevox/merge_manifests.gypi
@@ -0,0 +1,35 @@
+# Copyright 2014 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.
+
+# Given a base manifest, and an override manifest, produces a merged manifest.
+# The merge operation preserves all key values in base except when also
+# specified in override.
+# For that case, override values replace base (preserving nested dictionaries).
+# The following variables must be set before including this file:
+#
+# base_manifest: a valid JSON file path.
+# override_manifest: a valid JSON file path.
+# output_manifest: file path with the resulting manifest.
+
+{
+ 'actions': [
+ {
+ 'action_name': 'merge_manifests',
+ 'message': 'Output merge manifest for <(_target_name)',
+ 'inputs': [
+ 'tools/merge_manifests.py',
+ ],
Peter Lundblad 2014/05/22 00:28:25 You need to include the manifest files here as wel
David Tseng 2014/05/22 02:42:04 Done.
+ 'outputs': [
+ '<(output_manifest)'
+ ],
+ 'action': [
+ 'python',
+ 'tools/merge_manifests.py',
+ '<(base_manifest)',
+ '<(override_manifest)',
+ '<(output_manifest)',
+ ],
+ },
+ ],
+}

Powered by Google App Engine
This is Rietveld 408576698