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

Side by Side Diff: chrome/chrome_resources.gyp

Issue 9113079: DevTools: refactor remote debugging server to enable content_shell debugging. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Patch for landing. Created 8 years, 11 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
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 'variables': { 5 'variables': {
6 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/chrome', 6 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/chrome',
7 'repack_locales_cmd': ['python', 'tools/build/repack_locales.py'], 7 'repack_locales_cmd': ['python', 'tools/build/repack_locales.py'],
8 }, 8 },
9 'targets': [ 9 'targets': [
10 { 10 {
11 'target_name': 'chrome_extra_resources', 11 'target_name': 'chrome_extra_resources',
12 'type': 'none', 12 'type': 'none',
13 'dependencies': [ 13 'dependencies': [
14 '../third_party/WebKit/Source/WebKit/chromium/WebKit.gyp:generate_devtoo ls_grd', 14 '../content/browser/debugger/devtools_resources.gyp:devtools_resources',
15 ], 15 ],
16 # These resources end up in resources.pak because they are resources 16 # These resources end up in resources.pak because they are resources
17 # used by internal pages. Putting them in a spearate pak file makes 17 # used by internal pages. Putting them in a spearate pak file makes
18 # it easier for us to reference them internally. 18 # it easier for us to reference them internally.
19 'actions': [ 19 'actions': [
20 { 20 {
21 'action_name': 'component_extension_resources', 21 'action_name': 'component_extension_resources',
22 'variables': { 22 'variables': {
23 'grit_grd_file': 'browser/resources/component_extension_resources.gr d', 23 'grit_grd_file': 'browser/resources/component_extension_resources.gr d',
24 }, 24 },
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 'includes': [ '../build/grit_action.gypi' ], 67 'includes': [ '../build/grit_action.gypi' ],
68 }, 68 },
69 { 69 {
70 'action_name': 'workers_resources', 70 'action_name': 'workers_resources',
71 'variables': { 71 'variables': {
72 'grit_grd_file': 'browser/resources/workers_resources.grd', 72 'grit_grd_file': 'browser/resources/workers_resources.grd',
73 }, 73 },
74 'includes': [ '../build/grit_action.gypi' ], 74 'includes': [ '../build/grit_action.gypi' ],
75 }, 75 },
76 { 76 {
77 'action_name': 'devtools_frontend_resources', 77 'action_name': 'devtools_discovery_page_resources',
78 'variables': { 78 'variables': {
79 'grit_grd_file': 79 'grit_grd_file':
80 'browser/debugger/frontend/devtools_frontend_resources.grd', 80 'browser/debugger/frontend/devtools_discovery_page_resources.grd' ,
81 }, 81 },
82 'includes': [ '../build/grit_action.gypi' ] 82 'includes': [ '../build/grit_action.gypi' ]
83 }, 83 },
84 {
85 'action_name': 'devtools_resources',
86 # This can't use ../build/grit_action.gypi because the grd file
87 # is generated a build time, so the trick of using grit_info to get
88 # the real inputs/outputs at GYP time isn't possible.
89 'variables': {
90 'grit_cmd': ['python', '../tools/grit/grit.py'],
91 'grit_grd_file': '<(SHARED_INTERMEDIATE_DIR)/devtools/devtools_resou rces.grd',
92 },
93 'inputs': [
94 '<(grit_grd_file)',
95 '<!@pymod_do_main(grit_info --inputs)',
96 ],
97 'outputs': [
98 '<(grit_out_dir)/grit/devtools_resources.h',
99 '<(grit_out_dir)/devtools_resources.pak',
100 '<(grit_out_dir)/grit/devtools_resources_map.cc',
101 '<(grit_out_dir)/grit/devtools_resources_map.h',
102 ],
103 'action': ['<@(grit_cmd)',
104 '-i', '<(grit_grd_file)', 'build',
105 '-o', '<(grit_out_dir)',
106 '-D', 'SHARED_INTERMEDIATE_DIR=<(SHARED_INTERMEDIATE_DIR)',
107 '<@(grit_defines)' ],
108 'message': 'Generating resources from <(grit_grd_file)',
109 },
110 ], 84 ],
111 'includes': [ '../build/grit_target.gypi' ], 85 'includes': [ '../build/grit_target.gypi' ],
112 }, 86 },
113 { 87 {
114 # TODO(mark): It would be better if each static library that needed 88 # TODO(mark): It would be better if each static library that needed
115 # to run grit would list its own .grd files, but unfortunately some 89 # to run grit would list its own .grd files, but unfortunately some
116 # of the static libraries currently have circular dependencies among 90 # of the static libraries currently have circular dependencies among
117 # generated headers. 91 # generated headers.
118 'target_name': 'chrome_resources', 92 'target_name': 'chrome_resources',
119 'type': 'none', 93 'type': 'none',
(...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after
365 'files': ['<@(default_apps_list)'] 339 'files': ['<@(default_apps_list)']
366 }, 340 },
367 ], 341 ],
368 }], 342 }],
369 ], # conditions 343 ], # conditions
370 }], # end OS != "mac" 344 }], # end OS != "mac"
371 ], # conditions 345 ], # conditions
372 }, 346 },
373 ], # targets 347 ], # targets
374 } 348 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698