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

Side by Side Diff: mojo/public/mojo_application_manifest.gypi

Issue 1951673002: Add GYP support for packaged manifests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 unified diff | Download patch
« no previous file with comments | « content/content.gyp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 'application_name%': '<(application_name)', 8 'application_name%': '<(application_name)',
9 'application_type%': '<(application_type)', 9 'application_type%': '<(application_type)',
10 'base_manifest%': 'none', 10 'base_manifest%': 'none',
11 'packaged_manifests%': []
11 }, 12 },
12 'application_type%': '<(application_type)', 13 'application_type%': '<(application_type)',
13 'application_name%': '<(application_name)', 14 'application_name%': '<(application_name)',
14 'base_manifest%': '<(base_manifest)', 15 'base_manifest%': '<(base_manifest)',
15 'manifest_collator_script%': 16 'manifest_collator_script%':
16 '<(DEPTH)/mojo/public/tools/manifest/manifest_collator.py', 17 '<(DEPTH)/mojo/public/tools/manifest/manifest_collator.py',
18 'packaged_manifests%': '<(packaged_manifests)',
17 'source_manifest%': '<(source_manifest)', 19 'source_manifest%': '<(source_manifest)',
18 'conditions': [ 20 'conditions': [
19 ['application_type=="mojo"', { 21 ['application_type=="mojo"', {
20 'output_manifest%': '<(PRODUCT_DIR)/<(application_name)/manifest.json', 22 'output_manifest%': '<(PRODUCT_DIR)/Mojo Applications/<(application_name )/manifest.json',
21 }, { 23 }, {
22 'output_manifest%': '<(PRODUCT_DIR)/<(application_name)_manifest.json', 24 'output_manifest%': '<(PRODUCT_DIR)/<(application_name)_manifest.json',
23 }], 25 }],
24 ['base_manifest!="none"', { 26 ['base_manifest!="none"', {
25 'extra_args%': [ '--base-manifest=<(base_manifest)', ], 27 'extra_args%': [
28 '--base-manifest=<(base_manifest)',
29 '<@(packaged_manifests)',
30 ],
26 }, { 31 }, {
27 'extra_args%': [], 32 'extra_args%': [
33 '<@(packaged_manifests)',
34 ],
28 }] 35 }]
29 ], 36 ],
30 }, 37 },
31 'actions': [{ 38 'actions': [{
32 'action_name': '<(_target_name)_collation', 39 'action_name': '<(_target_name)_collation',
33 'inputs': [ 40 'inputs': [
34 '<(manifest_collator_script)', 41 '<(manifest_collator_script)',
35 '<(source_manifest)', 42 '<(source_manifest)',
36 ], 43 ],
37 'outputs': [ 44 'outputs': [
38 '<(output_manifest)', 45 '<(output_manifest)',
39 ], 46 ],
40 'action': [ 47 'action': [
41 'python', 48 'python',
42 '<(manifest_collator_script)', 49 '<(manifest_collator_script)',
43 '--application-name', '<(application_name)', 50 '--application-name', '<(application_name)',
44 '--parent=<(source_manifest)', 51 '--parent=<(source_manifest)',
45 '--output=<(output_manifest)', 52 '--output=<(output_manifest)',
46 '<@(extra_args)', 53 '<@(extra_args)',
47 ], 54 ],
48 }], 55 }],
49 } 56 }
OLDNEW
« 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