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

Side by Side Diff: net/net.gyp

Issue 10019014: Convert isolate.py to exclusively use .isolate files. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Reduce copy pasted constants Created 8 years, 8 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 'chromium_code': 1, 7 'chromium_code': 1,
8 8
9 'linux_link_kerberos%': 0, 9 'linux_link_kerberos%': 0,
10 'conditions': [ 10 'conditions': [
(...skipping 1364 matching lines...) Expand 10 before | Expand all | Expand 10 after
1375 ], 1375 ],
1376 }] 1376 }]
1377 ], 1377 ],
1378 }, 1378 },
1379 { 1379 {
1380 'target_name': 'net_unittests_run', 1380 'target_name': 'net_unittests_run',
1381 'type': 'none', 1381 'type': 'none',
1382 'dependencies': [ 1382 'dependencies': [
1383 'net_unittests', 1383 'net_unittests',
1384 ], 1384 ],
1385 'includes': [
1386 'net_unittests.isolate',
1387 ],
1385 'actions': [ 1388 'actions': [
1386 { 1389 {
1387 'action_name': 'response_file',
1388 'inputs': [
1389 '<(PRODUCT_DIR)/net_unittests<(EXECUTABLE_SUFFIX)',
1390 '<(DEPTH)/testing/test_env.py',
1391 '<(DEPTH)/testing/xvfb.py',
1392 '<(DEPTH)/third_party/pyftpdlib/src/pyftpdlib/__init__.py',
1393 '<(DEPTH)/third_party/pyftpdlib/src/pyftpdlib/ftpserver.py',
1394 ],
1395 'conditions': [
1396 ['OS=="linux"', {
1397 'inputs': [
1398 '<(PRODUCT_DIR)/xdisplaycheck<(EXECUTABLE_SUFFIX)',
1399 ],
1400 }],
1401 ],
1402 'outputs': [
1403 '<(PRODUCT_DIR)/net_unittests.inputs',
1404 ],
1405 'action': [
1406 'python',
1407 '-c',
1408 'import sys; '
1409 'open(sys.argv[1], \'w\').write(\'\\n\'.join(sys.argv[2:]))',
1410 '<@(_outputs)',
1411 '<@(_inputs)',
1412 ],
1413 },
1414 {
1415 'action_name': 'isolate', 1390 'action_name': 'isolate',
1416 'inputs': [ 1391 'inputs': [
1417 '<(PRODUCT_DIR)/net_unittests.inputs', 1392 '<@(isolate_dependency_tracked)',
1418 ], 1393 ],
1419 'outputs': [ 1394 'outputs': [
1420 '<(PRODUCT_DIR)/net_unittests.results', 1395 '<(PRODUCT_DIR)/net_unittests.results',
1421 ], 1396 ],
1422 'action': [ 1397 'action': [
1423 'python', 1398 'python',
1424 '<(DEPTH)/tools/isolate/isolate.py', 1399 '<(DEPTH)/tools/isolate/isolate.py',
1425 '--mode=<(tests_run)', 1400 '--mode', '<(tests_run)',
1426 '--root', '<(DEPTH)', 1401 '--variable', 'DEPTH=<(DEPTH)',
1402 '--variable', 'PRODUCT_DIR=<(PRODUCT_DIR)',
1403 '--variable', 'OS=<(OS)',
1427 '--result', '<@(_outputs)', 1404 '--result', '<@(_outputs)',
1428 '--files', '<@(_inputs)', 1405 'net_unittests.isolate',
1429 # Directories can't be tracked by build tools (make, msbuild, xcode,
1430 # etc) so we just put it on the command line without specifying it
1431 # as an input.
1432 # TODO(maruel): Revisit the support for this at all and list each
1433 # individual test files instead.
1434 'data/',
1435 'tools/testserver/',
1436 '<(DEPTH)/third_party/tlslite/tlslite/',
1437 '--',
1438 # Wraps net_unittests under xvfb.
1439 '<(DEPTH)/testing/xvfb.py',
1440 '<(PRODUCT_DIR)',
1441 '<(PRODUCT_DIR)/net_unittests<(EXECUTABLE_SUFFIX)',
1442 ], 1406 ],
1443 }, 1407 },
1444 ], 1408 ],
1445 }, 1409 },
1446 { 1410 {
1447 'target_name': 'net_perftests', 1411 'target_name': 'net_perftests',
1448 'type': 'executable', 1412 'type': 'executable',
1449 'dependencies': [ 1413 'dependencies': [
1450 'net', 1414 'net',
1451 'net_test_support', 1415 'net_test_support',
(...skipping 435 matching lines...) Expand 10 before | Expand all | Expand 10 after
1887 'tools/dump_cache/url_to_filename_encoder.cc', 1851 'tools/dump_cache/url_to_filename_encoder.cc',
1888 'tools/dump_cache/url_to_filename_encoder.h', 1852 'tools/dump_cache/url_to_filename_encoder.h',
1889 'tools/dump_cache/url_utilities.h', 1853 'tools/dump_cache/url_utilities.h',
1890 'tools/dump_cache/url_utilities.cc', 1854 'tools/dump_cache/url_utilities.cc',
1891 ], 1855 ],
1892 }, 1856 },
1893 ], 1857 ],
1894 }], 1858 }],
1895 ], 1859 ],
1896 } 1860 }
OLDNEW
« no previous file with comments | « base/base_unittests.isolate ('k') | net/net_unittests.isolate » ('j') | tools/isolate/isolate.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698