Chromium Code Reviews| 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 'chromium_code': 1, | 7 'chromium_code': 1, |
| 8 | 8 |
| 9 'linux_link_kerberos%': 0, | 9 'linux_link_kerberos%': 0, |
| 10 'conditions': [ | 10 'conditions': [ |
| (...skipping 1338 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1349 ], | 1349 ], |
| 1350 }] | 1350 }] |
| 1351 ], | 1351 ], |
| 1352 }, | 1352 }, |
| 1353 { | 1353 { |
| 1354 'target_name': 'net_unittests_run', | 1354 'target_name': 'net_unittests_run', |
| 1355 'type': 'none', | 1355 'type': 'none', |
| 1356 'dependencies': [ | 1356 'dependencies': [ |
| 1357 'net_unittests', | 1357 'net_unittests', |
| 1358 ], | 1358 ], |
| 1359 'includes': [ | |
| 1360 'net_unittests.isolate', | |
| 1361 ], | |
| 1359 'actions': [ | 1362 'actions': [ |
| 1360 { | 1363 { |
| 1361 'action_name': 'response_file', | |
| 1362 'inputs': [ | |
| 1363 '<(PRODUCT_DIR)/net_unittests<(EXECUTABLE_SUFFIX)', | |
| 1364 '<(DEPTH)/testing/test_env.py', | |
| 1365 '<(DEPTH)/testing/xvfb.py', | |
| 1366 '<(DEPTH)/third_party/pyftpdlib/src/pyftpdlib/__init__.py', | |
| 1367 '<(DEPTH)/third_party/pyftpdlib/src/pyftpdlib/ftpserver.py', | |
| 1368 ], | |
| 1369 'conditions': [ | |
| 1370 ['OS=="linux"', { | |
| 1371 'inputs': [ | |
| 1372 '<(PRODUCT_DIR)/xdisplaycheck<(EXECUTABLE_SUFFIX)', | |
| 1373 ], | |
| 1374 }], | |
| 1375 ], | |
| 1376 'outputs': [ | |
| 1377 '<(PRODUCT_DIR)/net_unittests.inputs', | |
| 1378 ], | |
| 1379 'action': [ | |
| 1380 'python', | |
| 1381 '-c', | |
| 1382 'import sys; ' | |
| 1383 'open(sys.argv[1], \'w\').write(\'\\n\'.join(sys.argv[2:]))', | |
| 1384 '<@(_outputs)', | |
| 1385 '<@(_inputs)', | |
| 1386 ], | |
| 1387 }, | |
| 1388 { | |
| 1389 'action_name': 'isolate', | 1364 'action_name': 'isolate', |
| 1390 'inputs': [ | 1365 'inputs': [ |
| 1391 '<(PRODUCT_DIR)/net_unittests.inputs', | 1366 '<@(isolate_dependency_tracked)', |
|
Ryan Sleevi
2012/04/11 18:37:04
In terms of the purest of pedantry, it might be go
M-A Ruel
2012/04/11 18:41:44
Technically, if you edit the file, you need to re-
| |
| 1392 ], | 1367 ], |
| 1393 'outputs': [ | 1368 'outputs': [ |
| 1394 '<(PRODUCT_DIR)/net_unittests.results', | 1369 '<(PRODUCT_DIR)/net_unittests.results', |
| 1395 ], | 1370 ], |
| 1396 'action': [ | 1371 'action': [ |
| 1397 'python', | 1372 'python', |
| 1398 '<(DEPTH)/tools/isolate/isolate.py', | 1373 '../tools/isolate/isolate.py', |
| 1399 '--mode=<(tests_run)', | 1374 '--mode', '<(tests_run)', |
| 1400 '--root', '<(DEPTH)', | 1375 '--variable', 'PRODUCT_DIR=<(PRODUCT_DIR)', |
| 1376 '--variable', 'OS=<(OS)', | |
| 1401 '--result', '<@(_outputs)', | 1377 '--result', '<@(_outputs)', |
| 1402 '--files', '<@(_inputs)', | 1378 'net_unittests.isolate', |
| 1403 # Directories can't be tracked by build tools (make, msbuild, xcode, | |
| 1404 # etc) so we just put it on the command line without specifying it | |
| 1405 # as an input. | |
| 1406 # TODO(maruel): Revisit the support for this at all and list each | |
| 1407 # individual test files instead. | |
| 1408 'data/', | |
| 1409 'tools/testserver/', | |
| 1410 '<(DEPTH)/third_party/tlslite/tlslite/', | |
| 1411 '--', | |
| 1412 # Wraps net_unittests under xvfb. | |
| 1413 '<(DEPTH)/testing/xvfb.py', | |
| 1414 '<(PRODUCT_DIR)', | |
| 1415 '<(PRODUCT_DIR)/net_unittests<(EXECUTABLE_SUFFIX)', | |
| 1416 ], | 1379 ], |
| 1417 }, | 1380 }, |
| 1418 ], | 1381 ], |
| 1419 }, | 1382 }, |
| 1420 { | 1383 { |
| 1421 'target_name': 'net_perftests', | 1384 'target_name': 'net_perftests', |
| 1422 'type': 'executable', | 1385 'type': 'executable', |
| 1423 'dependencies': [ | 1386 'dependencies': [ |
| 1424 'net', | 1387 'net', |
| 1425 'net_test_support', | 1388 'net_test_support', |
| (...skipping 414 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1840 'tools/dump_cache/url_to_filename_encoder.cc', | 1803 'tools/dump_cache/url_to_filename_encoder.cc', |
| 1841 'tools/dump_cache/url_to_filename_encoder.h', | 1804 'tools/dump_cache/url_to_filename_encoder.h', |
| 1842 'tools/dump_cache/url_utilities.h', | 1805 'tools/dump_cache/url_utilities.h', |
| 1843 'tools/dump_cache/url_utilities.cc', | 1806 'tools/dump_cache/url_utilities.cc', |
| 1844 ], | 1807 ], |
| 1845 }, | 1808 }, |
| 1846 ], | 1809 ], |
| 1847 }], | 1810 }], |
| 1848 ], | 1811 ], |
| 1849 } | 1812 } |
| OLD | NEW |