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

Side by Side Diff: remoting/remoting.gyp

Issue 11087059: Add common_resources.grd for non-localizeable chromoting resources. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 2 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 { 5 {
6 'variables': { 6 'variables': {
7 # TODO(dmaclach): can we pick this up some other way? Right now it's 7 # TODO(dmaclach): can we pick this up some other way? Right now it's
8 # duplicated from chrome.gyp 8 # duplicated from chrome.gyp
9 'chromium_code': 1, 9 'chromium_code': 1,
10 10
(...skipping 1250 matching lines...) Expand 10 before | Expand all | Expand 10 after
1261 '<(strings_grd_file)', 1261 '<(strings_grd_file)',
1262 ], 1262 ],
1263 'action': ['python', 'tools/remove_official_branding.py', 1263 'action': ['python', 'tools/remove_official_branding.py',
1264 '<(base_strings_grd_file)', '<(strings_grd_file)' ], 1264 '<(base_strings_grd_file)', '<(strings_grd_file)' ],
1265 }, 1265 },
1266 ], 1266 ],
1267 }], 1267 }],
1268 ], 1268 ],
1269 'actions': [ 1269 'actions': [
1270 { 1270 {
1271 'action_name': 'generate_resources', 1271 'action_name': 'string_resources',
Jamie 2012/10/10 20:40:22 Nit: Is there a convention that action names shoul
Sergey Ulanov 2012/10/10 23:10:03 There is no such convention. In fact most action n
1272 'variables': { 1272 'variables': {
1273 'grit_cmd': ['python', '<(DEPTH)/tools/grit/grit.py'], 1273 'grit_grd_file': '<(strings_grd_file)',
1274 'base_grit_grd_file': '<(base_strings_grd_file)',
1274 }, 1275 },
1275 'inputs': [ 1276 'includes': [ 'grit_action.gypi' ],
1276 '<(strings_grd_file)', 1277 },
1277 '<(resource_ids_file)', 1278 {
1278 ], 1279 'action_name': 'common_resources',
1279 'outputs': [ 1280 'variables': {
1280 '<!@pymod_do_main(grit_info <@(grit_defines) ' 1281 'grit_grd_file': 'resources/common_resources.grd',
1281 '--outputs \'<(grit_out_dir)\' <(base_strings_grd_file))', 1282 'base_grit_grd_file': 'resources/common_resources.grd',
1282 ], 1283 },
1283 'action': ['<@(grit_cmd)', 1284 'includes': [ 'grit_action.gypi' ],
1284 '-i', '<(strings_grd_file)', 'build',
1285 '-fresource_ids',
1286 '-o', '<(grit_out_dir)',
1287 '<@(grit_defines)' ],
1288 'msvs_cygwin_shell': 0,
1289 'message': 'Generating resources from <(strings_grd_file)',
1290 }, 1285 },
1291 ], 1286 ],
1292 'copies': [ 1287 'copies': [
1293 { # Copy results to the product directory. 1288 # Copy results to the product directory.
1289 {
1294 'destination': '<(PRODUCT_DIR)/remoting_locales', 1290 'destination': '<(PRODUCT_DIR)/remoting_locales',
1295 'files': [ 1291 'files': [
1296 '<(grit_out_dir)/remoting/resources/en-US.pak', 1292 '<(grit_out_dir)/remoting/resources/en-US.pak',
1297 ] 1293 ]
1298 }, 1294 },
1295 {
1296 'destination': '<(PRODUCT_DIR)',
1297 'files': [
1298 '<(grit_out_dir)/remoting/resources/chrome_remote_desktop.pak',
1299 ]
1300 },
1299 ], 1301 ],
1300 'includes': [ '../build/grit_target.gypi' ], 1302 'includes': [ '../build/grit_target.gypi' ],
1301 }, # end of target 'remoting_resources' 1303 }, # end of target 'remoting_resources'
1302 1304
1303 { 1305 {
1304 'target_name': 'remoting_base', 1306 'target_name': 'remoting_base',
1305 'type': 'static_library', 1307 'type': 'static_library',
1306 'variables': { 'enable_wexit_time_destructors': 1, }, 1308 'variables': { 'enable_wexit_time_destructors': 1, },
1307 'dependencies': [ 1309 'dependencies': [
1308 '../base/base.gyp:base', 1310 '../base/base.gyp:base',
(...skipping 787 matching lines...) Expand 10 before | Expand all | Expand 10 after
2096 '../base/allocator/allocator.gyp:allocator', 2098 '../base/allocator/allocator.gyp:allocator',
2097 ], 2099 ],
2098 }, 2100 },
2099 ], 2101 ],
2100 ], 2102 ],
2101 }], 2103 }],
2102 ], # end of 'conditions' 2104 ], # end of 'conditions'
2103 }, # end of target 'remoting_unittests' 2105 }, # end of target 'remoting_unittests'
2104 ], # end of targets 2106 ], # end of targets
2105 } 2107 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698