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

Side by Side Diff: content/browser/tracing/tracing_resources.gyp

Issue 407243002: Some linking fixes for GN build. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge Created 6 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « BUILD.gn ('k') | content/content.gyp » ('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 2013 The Chromium Authors. All rights reserved. 1 # Copyright 2013 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 'trace_viewer_src_dir': '../../../third_party/trace-viewer', 7 'trace_viewer_src_dir': '../../../third_party/trace-viewer',
8 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/content/browser/tracing', 8 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/content/browser/tracing',
9 }, 9 },
10 'targets': [ 10 'targets': [
11 { 11 {
12 # GN version: //content/browser/tracing:generate_tracing_grd
12 'target_name': 'generate_tracing_grd', 13 'target_name': 'generate_tracing_grd',
13 'type': 'none', 14 'type': 'none',
14 'dependencies': [ 15 'dependencies': [
15 '<(trace_viewer_src_dir)/trace_viewer.gyp:generate_about_tracing', 16 '<(trace_viewer_src_dir)/trace_viewer.gyp:generate_about_tracing',
16 ], 17 ],
17 'actions': [ 18 'actions': [
18 { 19 {
19 'action_name': 'generate_tracing_grd', 20 'action_name': 'generate_tracing_grd',
20 'script_name': 'generate_trace_viewer_grd.py', 21 'script_name': 'generate_trace_viewer_grd.py',
21 'input_pages': [ 22 'input_pages': [
22 '<(SHARED_INTERMEDIATE_DIR)/content/browser/tracing/about_tracing.ht ml', 23 '<(SHARED_INTERMEDIATE_DIR)/content/browser/tracing/about_tracing.ht ml',
23 '<(SHARED_INTERMEDIATE_DIR)/content/browser/tracing/about_tracing.js ' 24 '<(SHARED_INTERMEDIATE_DIR)/content/browser/tracing/about_tracing.js '
24 ], 25 ],
25 'inputs': [ 26 'inputs': [
26 '<@(_script_name)', 27 '<@(_script_name)',
27 '<@(_input_pages)' 28 '<@(_input_pages)'
28 ], 29 ],
29 'outputs': [ 30 'outputs': [
30 '<(SHARED_INTERMEDIATE_DIR)/content/browser/tracing/tracing_resource s.grd' 31 '<(SHARED_INTERMEDIATE_DIR)/content/browser/tracing/tracing_resource s.grd'
31 ], 32 ],
32 'action': [ 33 'action': [
33 'python', '<@(_script_name)', '<@(_input_pages)', '--output', '<@(_o utputs)' 34 'python', '<@(_script_name)', '<@(_input_pages)', '--output', '<@(_o utputs)'
34 ] 35 ]
35 } 36 }
36 ] 37 ]
37 }, 38 },
38 39
39 { 40 {
41 # GN version: //content/browser/tracing:resources
40 'target_name': 'tracing_resources', 42 'target_name': 'tracing_resources',
41 'type': 'none', 43 'type': 'none',
42 'dependencies': [ 44 'dependencies': [
43 '<(trace_viewer_src_dir)/trace_viewer.gyp:generate_about_tracing', 45 '<(trace_viewer_src_dir)/trace_viewer.gyp:generate_about_tracing',
44 'generate_tracing_grd', 46 'generate_tracing_grd',
45 ], 47 ],
46 'variables': { 48 'variables': {
47 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/content/browser/tracing', 49 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/content/browser/tracing',
48 }, 50 },
49 'actions': [ 51 'actions': [
(...skipping 22 matching lines...) Expand all
72 '-D', 'SHARED_INTERMEDIATE_DIR=<(SHARED_INTERMEDIATE_DIR)', 74 '-D', 'SHARED_INTERMEDIATE_DIR=<(SHARED_INTERMEDIATE_DIR)',
73 '<@(grit_defines)', 75 '<@(grit_defines)',
74 '<@(grit_rc_header_format)'], 76 '<@(grit_rc_header_format)'],
75 'message': 'Generating resources from <(grit_grd_file)', 77 'message': 'Generating resources from <(grit_grd_file)',
76 } 78 }
77 ], 79 ],
78 'includes': [ '../../../build/grit_target.gypi' ] 80 'includes': [ '../../../build/grit_target.gypi' ]
79 } 81 }
80 ] 82 ]
81 } 83 }
OLDNEW
« no previous file with comments | « BUILD.gn ('k') | content/content.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698