| OLD | NEW |
| 1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 { | 5 { |
| 6 'variables': { | 6 'variables': { |
| 7 'variables': { | 7 'variables': { |
| 8 'name%': '<(name)', | 8 'name%': '<(name)', |
| 9 'type%': '<(type)', | 9 'type%': '<(type)', |
| 10 'base_manifest%': 'none', | 10 'base_manifest%': 'none', |
| 11 'packaged_manifests%': [] | 11 'packaged_manifests%': [] |
| 12 }, | 12 }, |
| 13 'type%': '<(type)', | 13 'type%': '<(type)', |
| 14 'name%': '<(name)', | 14 'name%': '<(name)', |
| 15 'base_manifest%': '<(base_manifest)', | 15 'base_manifest%': '<(base_manifest)', |
| 16 'manifest_collator_script%': | 16 'manifest_collator_script%': |
| 17 '<(DEPTH)/services/shell/public/tools/manifest/manifest_collator.py', | 17 '<(DEPTH)/services/shell/public/tools/manifest/manifest_collator.py', |
| 18 'packaged_manifests%': '<(packaged_manifests)', | 18 'packaged_manifests%': '<(packaged_manifests)', |
| 19 'source_manifest%': '<(source_manifest)', | 19 'source_manifest%': '<(source_manifest)', |
| 20 'conditions': [ | 20 'conditions': [ |
| 21 ['type=="mojo"', { | 21 ['type=="mojo"', { |
| 22 'output_manifest%': '<(PRODUCT_DIR)/Mojo Applications/<(name)/manifest.j
son', | 22 'output_manifest%': '<(PRODUCT_DIR)/Packages/<(name)/manifest.json', |
| 23 }, { | 23 }, { |
| 24 'output_manifest%': '<(PRODUCT_DIR)/<(name)_manifest.json', | 24 'output_manifest%': '<(PRODUCT_DIR)/<(name)_manifest.json', |
| 25 }], | 25 }], |
| 26 ['base_manifest!="none"', { | 26 ['base_manifest!="none"', { |
| 27 'extra_args%': [ | 27 'extra_args%': [ |
| 28 '--base-manifest=<(base_manifest)', | 28 '--base-manifest=<(base_manifest)', |
| 29 '<@(packaged_manifests)', | 29 '<@(packaged_manifests)', |
| 30 ], | 30 ], |
| 31 }, { | 31 }, { |
| 32 'extra_args%': [ | 32 'extra_args%': [ |
| (...skipping 14 matching lines...) Expand all Loading... |
| 47 'action': [ | 47 'action': [ |
| 48 'python', | 48 'python', |
| 49 '<(manifest_collator_script)', | 49 '<(manifest_collator_script)', |
| 50 '--name', '<(name)', | 50 '--name', '<(name)', |
| 51 '--parent=<(source_manifest)', | 51 '--parent=<(source_manifest)', |
| 52 '--output=<(output_manifest)', | 52 '--output=<(output_manifest)', |
| 53 '<@(extra_args)', | 53 '<@(extra_args)', |
| 54 ], | 54 ], |
| 55 }], | 55 }], |
| 56 } | 56 } |
| OLD | NEW |