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

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
« no previous file with comments | « remoting/grit_action.gypi ('k') | remoting/resources/common_resources.grd » ('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 '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 1266 matching lines...) Expand 10 before | Expand all | Expand 10 after
1277 '<(strings_grd_file)', 1277 '<(strings_grd_file)',
1278 ], 1278 ],
1279 'action': ['python', 'tools/remove_official_branding.py', 1279 'action': ['python', 'tools/remove_official_branding.py',
1280 '<(base_strings_grd_file)', '<(strings_grd_file)' ], 1280 '<(base_strings_grd_file)', '<(strings_grd_file)' ],
1281 }, 1281 },
1282 ], 1282 ],
1283 }], 1283 }],
1284 ], 1284 ],
1285 'actions': [ 1285 'actions': [
1286 { 1286 {
1287 'action_name': 'generate_resources', 1287 'action_name': 'string_resources',
1288 'variables': { 1288 'variables': {
1289 'grit_cmd': ['python', '<(DEPTH)/tools/grit/grit.py'], 1289 'grit_grd_file': '<(strings_grd_file)',
1290 'base_grit_grd_file': '<(base_strings_grd_file)',
1290 }, 1291 },
1291 'inputs': [ 1292 'includes': [ 'grit_action.gypi' ],
1292 '<(strings_grd_file)', 1293 },
1293 '<(resource_ids_file)', 1294 {
1294 ], 1295 'action_name': 'common_resources',
1295 'outputs': [ 1296 'variables': {
1296 '<!@pymod_do_main(grit_info <@(grit_defines) ' 1297 'grit_grd_file': 'resources/common_resources.grd',
1297 '--outputs \'<(grit_out_dir)\' <(base_strings_grd_file))', 1298 'base_grit_grd_file': 'resources/common_resources.grd',
1298 ], 1299 },
1299 'action': ['<@(grit_cmd)', 1300 'includes': [ 'grit_action.gypi' ],
1300 '-i', '<(strings_grd_file)', 'build',
1301 '-fresource_ids',
1302 '-o', '<(grit_out_dir)',
1303 '<@(grit_defines)' ],
1304 'msvs_cygwin_shell': 0,
1305 'message': 'Generating resources from <(strings_grd_file)',
1306 }, 1301 },
1307 ], 1302 ],
1308 'copies': [ 1303 'copies': [
1309 { # Copy results to the product directory. 1304 # Copy results to the product directory.
1305 {
1310 'destination': '<(PRODUCT_DIR)/remoting_locales', 1306 'destination': '<(PRODUCT_DIR)/remoting_locales',
1311 'files': [ 1307 'files': [
1312 '<(grit_out_dir)/remoting/resources/en-US.pak', 1308 '<(grit_out_dir)/remoting/resources/en-US.pak',
1313 ] 1309 ]
1314 }, 1310 },
1311 {
1312 'destination': '<(PRODUCT_DIR)',
1313 'files': [
1314 '<(grit_out_dir)/remoting/resources/chrome_remote_desktop.pak',
1315 ]
1316 },
1315 ], 1317 ],
1316 'includes': [ '../build/grit_target.gypi' ], 1318 'includes': [ '../build/grit_target.gypi' ],
1317 }, # end of target 'remoting_resources' 1319 }, # end of target 'remoting_resources'
1318 1320
1319 { 1321 {
1320 'target_name': 'remoting_base', 1322 'target_name': 'remoting_base',
1321 'type': 'static_library', 1323 'type': 'static_library',
1322 'variables': { 'enable_wexit_time_destructors': 1, }, 1324 'variables': { 'enable_wexit_time_destructors': 1, },
1323 'dependencies': [ 1325 'dependencies': [
1324 '../base/base.gyp:base', 1326 '../base/base.gyp:base',
(...skipping 827 matching lines...) Expand 10 before | Expand all | Expand 10 after
2152 '../base/allocator/allocator.gyp:allocator', 2154 '../base/allocator/allocator.gyp:allocator',
2153 ], 2155 ],
2154 }, 2156 },
2155 ], 2157 ],
2156 ], 2158 ],
2157 }], # end of 'toolkit_uses_gtk == 1' 2159 }], # end of 'toolkit_uses_gtk == 1'
2158 ], # end of 'conditions' 2160 ], # end of 'conditions'
2159 }, # end of target 'remoting_unittests' 2161 }, # end of target 'remoting_unittests'
2160 ], # end of targets 2162 ], # end of targets
2161 } 2163 }
OLDNEW
« no previous file with comments | « remoting/grit_action.gypi ('k') | remoting/resources/common_resources.grd » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698