OLD | NEW |
(Empty) | |
| 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 |
| 3 # found in the LICENSE file. |
| 4 |
| 5 { |
| 6 'variables': { |
| 7 'variables': { |
| 8 'application_name%': '<(application_name)', |
| 9 'application_type%': '<(application_type)', |
| 10 }, |
| 11 'application_type%': '<(application_type)', |
| 12 'application_name%': '<(application_name)', |
| 13 'manifest_collator_script%': |
| 14 '<(DEPTH)/mojo/public/tools/manifest/manifest_collator.py', |
| 15 'source_manifest%': '<(source_manifest)', |
| 16 'conditions': [ |
| 17 ['application_type=="mojo"', { |
| 18 'output_manifest%': '<(PRODUCT_DIR)/<(application_name)/manifest.json', |
| 19 }, { |
| 20 'output_manifest%': '<(PRODUCT_DIR)/<(application_name)_manifest.json', |
| 21 }], |
| 22 ], |
| 23 }, |
| 24 'actions': [{ |
| 25 'action_name': '<(_target_name)_collation', |
| 26 'inputs': [ |
| 27 '<(manifest_collator_script)', |
| 28 '<(source_manifest)', |
| 29 ], |
| 30 'outputs': [ |
| 31 '<(output_manifest)', |
| 32 ], |
| 33 'action': [ |
| 34 'python', |
| 35 '<(manifest_collator_script)', |
| 36 '--application-name', '<(application_name)', |
| 37 '--parent=<(source_manifest)', |
| 38 '--output=<(output_manifest)', |
| 39 ], |
| 40 }], |
| 41 } |
OLD | NEW |