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