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

Side by Side Diff: content/content_resources.gypi

Issue 1828733004: Load application manifests from resources (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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_resources.grd ('k') | content/public/app/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 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 'targets': [ 6 'targets': [
7 { 7 {
8 # GN version: //content:resources 8 # GN version: //content:resources
9 'target_name': 'content_resources', 9 'target_name': 'content_resources',
10 'type': 'none', 10 'type': 'none',
11 'variables': { 11 'variables': {
12 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/content', 12 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/content',
13 }, 13 },
14 'actions': [ 14 'actions': [
15 { 15 {
16 'action_name': 'generate_content_resources', 16 'action_name': 'generate_content_resources',
17 'variables': { 17 'variables': {
18 'grit_grd_file': 'content_resources.grd', 18 'grit_grd_file': 'content_resources.grd',
19 'grit_additional_defines': [
20 '-E', 'root_out_dir=<(PRODUCT_DIR)',
21 ],
19 }, 22 },
20 'includes': [ '../build/grit_action.gypi' ], 23 'includes': [ '../build/grit_action.gypi' ],
21 }, 24 },
22 ], 25 ],
23 'copies': [ 26 'copies': [
24 { 27 {
25 'destination': '<(PRODUCT_DIR)', 28 'destination': '<(PRODUCT_DIR)',
26 'files': [ 29 'files': [
27 '<(SHARED_INTERMEDIATE_DIR)/content/content_resources.pak' 30 '<(SHARED_INTERMEDIATE_DIR)/content/content_resources.pak'
28 ], 31 ],
29 }, 32 },
30 ], 33 ],
34 'dependencies': [
35 '<(DEPTH)/mojo/mojo_shell.gyp:mojo_catalog_manifest',
36 'content_app_browser_manifest',
37 'content_app_renderer_manifest',
38 ],
31 }, 39 },
32 ], 40 ],
33 } 41 }
OLDNEW
« no previous file with comments | « content/content_resources.grd ('k') | content/public/app/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698