| OLD | NEW |
| 1 # Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2010 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 'chromium_code': 1, | 7 'chromium_code': 1, |
| 8 }, | 8 }, |
| 9 'targets': [ | 9 'targets': [ |
| 10 { | 10 { |
| (...skipping 1217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1228 }], | 1228 }], |
| 1229 ], | 1229 ], |
| 1230 }], | 1230 }], |
| 1231 ], | 1231 ], |
| 1232 }, | 1232 }, |
| 1233 { | 1233 { |
| 1234 'target_name': 'net_resources', | 1234 'target_name': 'net_resources', |
| 1235 'type': 'none', | 1235 'type': 'none', |
| 1236 'msvs_guid': '8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942', | 1236 'msvs_guid': '8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942', |
| 1237 'variables': { | 1237 'variables': { |
| 1238 'grit_cmd': ['python', '../tools/grit/grit.py'], | 1238 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/net', |
| 1239 'grit_info_cmd': ['python', '../tools/grit/grit_info.py', | |
| 1240 '<@(grit_defines)'], | |
| 1241 'input_paths': [ | |
| 1242 'base/net_resources.grd', | |
| 1243 ], | |
| 1244 }, | 1239 }, |
| 1245 'rules': [ | 1240 'actions': [ |
| 1246 { | 1241 { |
| 1247 'rule_name': 'grit', | 1242 'action_name': 'net_resources', |
| 1248 'extension': 'grd', | 1243 'variables': { |
| 1249 'inputs': [ | 1244 'grit_grd_file': 'base/net_resources.grd', |
| 1250 '<!@(<(grit_info_cmd) --inputs <(input_paths))', | 1245 }, |
| 1251 ], | 1246 'includes': [ '../build/grit_action.gypi' ], |
| 1252 'outputs': [ | |
| 1253 '<!@(<(grit_info_cmd) ' | |
| 1254 '--outputs \'<(SHARED_INTERMEDIATE_DIR)/net\' <(input_paths))', | |
| 1255 ], | |
| 1256 'action': | |
| 1257 ['<@(grit_cmd)', | |
| 1258 '-i', '<(RULE_INPUT_PATH)', 'build', | |
| 1259 '-o', '<(SHARED_INTERMEDIATE_DIR)/net', | |
| 1260 '<@(grit_defines)'], | |
| 1261 'message': 'Generating resources from <(RULE_INPUT_PATH)', | |
| 1262 }, | 1247 }, |
| 1263 ], | 1248 ], |
| 1264 'sources': [ | 1249 'includes': [ '../build/grit_target.gypi' ], |
| 1265 '<@(input_paths)', | |
| 1266 ], | |
| 1267 'direct_dependent_settings': { | |
| 1268 'include_dirs': [ | |
| 1269 '<(SHARED_INTERMEDIATE_DIR)/net', | |
| 1270 ], | |
| 1271 }, | |
| 1272 'conditions': [ | |
| 1273 ['OS=="win"', { | |
| 1274 'dependencies': ['../build/win/system.gyp:cygwin'], | |
| 1275 }], | |
| 1276 ], | |
| 1277 }, | 1250 }, |
| 1278 { | 1251 { |
| 1279 'target_name': 'fetch_client', | 1252 'target_name': 'fetch_client', |
| 1280 'type': 'executable', | 1253 'type': 'executable', |
| 1281 'dependencies': [ | 1254 'dependencies': [ |
| 1282 'net', | 1255 'net', |
| 1283 '../base/base.gyp:base', | 1256 '../base/base.gyp:base', |
| 1284 '../testing/gtest.gyp:gtest', | 1257 '../testing/gtest.gyp:gtest', |
| 1285 ], | 1258 ], |
| 1286 'msvs_guid': 'DABB8796-B9A2-4CD9-BF89-09B03E92B123', | 1259 'msvs_guid': 'DABB8796-B9A2-4CD9-BF89-09B03E92B123', |
| (...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1479 ], | 1452 ], |
| 1480 }], | 1453 }], |
| 1481 ], | 1454 ], |
| 1482 } | 1455 } |
| 1483 | 1456 |
| 1484 # Local Variables: | 1457 # Local Variables: |
| 1485 # tab-width:2 | 1458 # tab-width:2 |
| 1486 # indent-tabs-mode:nil | 1459 # indent-tabs-mode:nil |
| 1487 # End: | 1460 # End: |
| 1488 # vim: set expandtab tabstop=2 shiftwidth=2: | 1461 # vim: set expandtab tabstop=2 shiftwidth=2: |
| OLD | NEW |