Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | |
| 2 # Use of this source code is governed by a BSD-style license that can be | |
| 3 # found in the LICENSE file. | |
| 4 | |
| 5 # Given a base manifest, and an override manifest, produces a merged manifest. | |
| 6 # The merge operation preserves all key values in base except when also | |
| 7 # specified in override. | |
| 8 # For that case, override values replace base (preserving nested dictionaries). | |
| 9 # The following variables must be set before including this file: | |
| 10 # | |
| 11 # base_manifest: a valid JSON file path. | |
| 12 # override_manifest: a valid JSON file path. | |
| 13 # output_manifest: file path with the resulting manifest. | |
| 14 | |
| 15 { | |
| 16 'actions': [ | |
| 17 { | |
| 18 'action_name': 'merge_manifests', | |
| 19 'message': 'Output merge manifest for <(_target_name)', | |
| 20 'inputs': [ | |
| 21 'tools/merge_manifests.py', | |
| 22 ], | |
|
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.
| |
| 23 'outputs': [ | |
| 24 '<(output_manifest)' | |
| 25 ], | |
| 26 'action': [ | |
| 27 'python', | |
| 28 'tools/merge_manifests.py', | |
| 29 '<(base_manifest)', | |
| 30 '<(override_manifest)', | |
| 31 '<(output_manifest)', | |
| 32 ], | |
| 33 }, | |
| 34 ], | |
| 35 } | |
| OLD | NEW |