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': [ |
11 ['chromeos==1 or OS=="android"', { | 11 ['chromeos==1 or OS=="android" or OS=="ios"', { |
12 # Disable Kerberos on ChromeOS and Android, at least for now. | 12 # Disable Kerberos on ChromeOS, Android and iOS, at least for now. |
13 # It needs configuration (krb5.conf and so on). | 13 # It needs configuration (krb5.conf and so on). |
14 'use_kerberos%': 0, | 14 'use_kerberos%': 0, |
15 }, { # chromeos == 0 | 15 }, { # chromeos == 0 |
16 'use_kerberos%': 1, | 16 'use_kerberos%': 1, |
17 }], | 17 }], |
18 ['OS=="android"', { | 18 ['OS=="android"', { |
19 # The way the cache uses mmap() is inefficient on some Android devices. | 19 # The way the cache uses mmap() is inefficient on some Android devices. |
20 # If this flag is set, we hackily avoid using mmap() in the disk cache. | 20 # If this flag is set, we hackily avoid using mmap() in the disk cache. |
21 'posix_avoid_mmap%': 1, | 21 'posix_avoid_mmap%': 1, |
22 }, { | 22 }, { |
23 'posix_avoid_mmap%': 0, | 23 'posix_avoid_mmap%': 0, |
24 }], | 24 }], |
25 ], | 25 ], |
26 }, | 26 }, |
27 'includes': [ | 27 'includes': [ |
28 '../build/win_precompile.gypi', | 28 '../build/win_precompile.gypi', |
29 ], | 29 ], |
30 'targets': [ | 30 'targets': [ |
31 { | 31 { |
32 'target_name': 'net', | 32 'target_name': 'net', |
33 'type': '<(component)', | 33 'type': '<(component)', |
34 'variables': { 'enable_wexit_time_destructors': 1, }, | 34 'variables': { 'enable_wexit_time_destructors': 1, }, |
35 'dependencies': [ | 35 'dependencies': [ |
36 '../base/base.gyp:base', | 36 '../base/base.gyp:base', |
37 '../base/base.gyp:base_i18n', | 37 '../base/base.gyp:base_i18n', |
38 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic _annotations', | 38 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic _annotations', |
39 '../build/temp_gyp/googleurl.gyp:googleurl', | 39 '../build/temp_gyp/googleurl.gyp:googleurl', |
40 '../crypto/crypto.gyp:crypto', | |
41 '../sdch/sdch.gyp:sdch', | 40 '../sdch/sdch.gyp:sdch', |
42 '../third_party/icu/icu.gyp:icui18n', | 41 '../third_party/icu/icu.gyp:icui18n', |
43 '../third_party/icu/icu.gyp:icuuc', | 42 '../third_party/icu/icu.gyp:icuuc', |
44 '../third_party/zlib/zlib.gyp:zlib', | 43 '../third_party/zlib/zlib.gyp:zlib', |
45 '../v8/tools/gyp/v8.gyp:v8', | |
46 'net_resources', | 44 'net_resources', |
47 ], | 45 ], |
48 'sources': [ | 46 'sources': [ |
49 'android/net_jni_registrar.cc', | 47 'android/net_jni_registrar.cc', |
50 'android/net_jni_registrar.h', | 48 'android/net_jni_registrar.h', |
51 'android/network_change_notifier_android.cc', | 49 'android/network_change_notifier_android.cc', |
52 'android/network_change_notifier_android.h', | 50 'android/network_change_notifier_android.h', |
53 'android/network_change_notifier_factory.cc', | 51 'android/network_change_notifier_factory.cc', |
54 'android/network_change_notifier_factory.h', | 52 'android/network_change_notifier_factory.h', |
55 'android/network_library.cc', | 53 'android/network_library.cc', |
(...skipping 744 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
800 'websockets/websocket_throttle.cc', | 798 'websockets/websocket_throttle.cc', |
801 'websockets/websocket_throttle.h', | 799 'websockets/websocket_throttle.h', |
802 ], | 800 ], |
803 'defines': [ | 801 'defines': [ |
804 'NET_IMPLEMENTATION', | 802 'NET_IMPLEMENTATION', |
805 ], | 803 ], |
806 'export_dependent_settings': [ | 804 'export_dependent_settings': [ |
807 '../base/base.gyp:base', | 805 '../base/base.gyp:base', |
808 ], | 806 ], |
809 'conditions': [ | 807 'conditions': [ |
808 ['OS != "ios"', { | |
809 'dependencies': [ | |
810 # TODO(ios): This is temporary; currently almost nothing builds with | |
811 # OS=ios. Move dependencies back to the main dependencies section | |
812 # above as more is brought up for iOS. | |
stuartmorgan
2012/07/30 10:52:12
Since there's just one thing, change everything af
noyau (Ping after 24h)
2012/07/31 15:26:12
Done.
| |
813 '../crypto/crypto.gyp:crypto', | |
814 # The v8 gyp file is not available in the iOS tree. | |
815 '../v8/tools/gyp/v8.gyp:v8', | |
816 ], | |
817 }], | |
810 ['chromeos==1', { | 818 ['chromeos==1', { |
811 'sources!': [ | 819 'sources!': [ |
812 'base/network_change_notifier_linux.cc', | 820 'base/network_change_notifier_linux.cc', |
813 'base/network_change_notifier_linux.h', | 821 'base/network_change_notifier_linux.h', |
814 'base/network_change_notifier_netlink_linux.cc', | 822 'base/network_change_notifier_netlink_linux.cc', |
815 'base/network_change_notifier_netlink_linux.h', | 823 'base/network_change_notifier_netlink_linux.h', |
816 'proxy/proxy_config_service_linux.cc', | 824 'proxy/proxy_config_service_linux.cc', |
817 'proxy/proxy_config_service_linux.h', | 825 'proxy/proxy_config_service_linux.h', |
818 ], | 826 ], |
819 }], | 827 }], |
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1042 ], | 1050 ], |
1043 }, | 1051 }, |
1044 ], | 1052 ], |
1045 [ 'OS == "linux"', { | 1053 [ 'OS == "linux"', { |
1046 'dependencies': [ | 1054 'dependencies': [ |
1047 '../build/linux/system.gyp:dbus', | 1055 '../build/linux/system.gyp:dbus', |
1048 '../dbus/dbus.gyp:dbus', | 1056 '../dbus/dbus.gyp:dbus', |
1049 ], | 1057 ], |
1050 }, | 1058 }, |
1051 ], | 1059 ], |
1060 [ 'OS == "ios"', { | |
1061 'link_settings': { | |
1062 'libraries': [ | |
1063 '$(SDKROOT)/System/Library/Frameworks/CFNetwork.framework', | |
1064 '$(SDKROOT)/System/Library/Frameworks/MobileCoreServices.framewo rk', | |
1065 '$(SDKROOT)/System/Library/Frameworks/SystemConfiguration.framew ork', | |
1066 '$(SDKROOT)/usr/lib/libresolv.dylib', | |
1067 ], | |
1068 }, | |
1069 'sources/': [ | |
1070 # TODO(ios): Right now there is only a very limited subset of net | |
1071 # compiled on iOS, just enough to bring up the dependencies needed | |
1072 # by the ui target. | |
1073 ['exclude', '.*'], | |
1074 ['include', '^base/dns_util\\..*$'], | |
stuartmorgan
2012/07/30 10:52:12
.*$ is silly; just omit it.
noyau (Ping after 24h)
2012/07/31 15:26:12
Done.
| |
1075 ['include', '^base/escape\\..*$'], | |
1076 ['include', '^base/ip_endpoint\\..*$'], | |
1077 ['include', '^base/mime_util\\..*$'], | |
1078 ['include', '^base/net_errors\\..*$'], | |
1079 ['include', '^base/net_errors_posix\\.cc$'], | |
1080 ['include', '^base/net_export\\.h$'], | |
1081 ['include', '^base/net_log\\..*$'], | |
1082 ['include', '^base/net_module\\..*$'], | |
1083 ['include', '^base/net_util\\..*$'], | |
1084 ['include', '^base/net_util_posix\\.cc$'], | |
1085 ['include', '^base/platform_mime_util\\.h$'], | |
1086 ['include', '^base/registry_controlled_domains/registry_controlled _domain\\..*$'], | |
1087 ['include', '^http/http_byte_range\\..*$'], | |
1088 ['include', '^http/http_content_disposition\\..*$'], | |
1089 ['include', '^http/http_util\\..*$'], | |
1090 ['include', '^http/http_util_icu\\.cc$'], | |
1091 ['include', '^http/http_version\\.h$'], | |
1092 ], | |
1093 }, | |
1094 ], | |
1052 ], | 1095 ], |
1053 'target_conditions': [ | 1096 'target_conditions': [ |
1097 # These source files are excluded by default platform rules, but they | |
1098 # are needed in specific cases on other platforms. To explicitely | |
stuartmorgan
2012/07/30 10:52:12
s/To explicitely re-include those files/Re-includi
noyau (Ping after 24h)
2012/07/31 15:26:12
Done.
| |
1099 # re-include those files can only be done in target_conditions as it | |
stuartmorgan
2012/07/30 10:52:12
re-including
| |
1100 # evaluate after the platform rules. | |
stuartmorgan
2012/07/30 10:52:12
s/evaluate/is evaluated/
noyau (Ping after 24h)
2012/07/31 15:26:12
Done.
| |
1054 ['OS == "android"', { | 1101 ['OS == "android"', { |
1055 'sources/': [ | 1102 'sources/': [ |
1056 ['include', '^base/platform_mime_util_linux\\.cc$'], | 1103 ['include', '^base/platform_mime_util_linux\\.cc$'], |
1057 ], | 1104 ], |
1058 }], | 1105 }], |
1106 ['OS == "ios"', { | |
1107 'sources/': [ | |
1108 ['include', 'base/platform_mime_util_mac\\.mm$'], | |
1109 ], | |
1110 }], | |
1059 ], | 1111 ], |
1060 }, | 1112 }, |
1061 { | 1113 { |
1062 'target_name': 'net_unittests', | 1114 'target_name': 'net_unittests', |
1063 'type': '<(gtest_target_type)', | 1115 'type': '<(gtest_target_type)', |
1064 'dependencies': [ | 1116 'dependencies': [ |
1065 'net', | 1117 'net', |
1066 'net_test_support', | 1118 'net_test_support', |
1067 '../base/base.gyp:base', | 1119 '../base/base.gyp:base', |
1068 '../base/base.gyp:base_i18n', | 1120 '../base/base.gyp:base_i18n', |
1069 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic _annotations', | 1121 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic _annotations', |
1070 '../build/temp_gyp/googleurl.gyp:googleurl', | 1122 '../build/temp_gyp/googleurl.gyp:googleurl', |
1071 '../crypto/crypto.gyp:crypto', | |
1072 '../testing/gmock.gyp:gmock', | 1123 '../testing/gmock.gyp:gmock', |
1073 '../testing/gtest.gyp:gtest', | 1124 '../testing/gtest.gyp:gtest', |
1074 '../third_party/zlib/zlib.gyp:zlib', | 1125 '../third_party/zlib/zlib.gyp:zlib', |
1075 ], | 1126 ], |
1076 'sources': [ | 1127 'sources': [ |
1077 'base/address_list_unittest.cc', | 1128 'base/address_list_unittest.cc', |
1078 'base/address_tracker_linux_unittest.cc', | 1129 'base/address_tracker_linux_unittest.cc', |
1079 'base/backoff_entry_unittest.cc', | 1130 'base/backoff_entry_unittest.cc', |
1080 'base/big_endian_unittest.cc', | 1131 'base/big_endian_unittest.cc', |
1081 'base/cert_database_nss_unittest.cc', | 1132 'base/cert_database_nss_unittest.cc', |
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1302 'url_request/view_cache_helper_unittest.cc', | 1353 'url_request/view_cache_helper_unittest.cc', |
1303 'websockets/websocket_frame_parser_unittest.cc', | 1354 'websockets/websocket_frame_parser_unittest.cc', |
1304 'websockets/websocket_frame_unittest.cc', | 1355 'websockets/websocket_frame_unittest.cc', |
1305 'websockets/websocket_handshake_handler_unittest.cc', | 1356 'websockets/websocket_handshake_handler_unittest.cc', |
1306 'websockets/websocket_job_spdy2_unittest.cc', | 1357 'websockets/websocket_job_spdy2_unittest.cc', |
1307 'websockets/websocket_job_spdy3_unittest.cc', | 1358 'websockets/websocket_job_spdy3_unittest.cc', |
1308 'websockets/websocket_net_log_params_unittest.cc', | 1359 'websockets/websocket_net_log_params_unittest.cc', |
1309 'websockets/websocket_throttle_unittest.cc', | 1360 'websockets/websocket_throttle_unittest.cc', |
1310 ], | 1361 ], |
1311 'conditions': [ | 1362 'conditions': [ |
1363 ['OS != "ios"', { | |
1364 'dependencies': [ | |
1365 # TODO(ios): This is temporary; Move dependencies back to the main | |
stuartmorgan
2012/07/30 10:52:12
s/dependencies //
noyau (Ping after 24h)
2012/07/31 15:26:12
Done.
| |
1366 # dependencies section as more is brought up for iOS. | |
stuartmorgan
2012/07/30 10:52:12
s/more/crypto/
noyau (Ping after 24h)
2012/07/31 15:26:12
Done.
| |
1367 '../crypto/crypto.gyp:crypto', | |
1368 ], | |
1369 }], | |
1312 ['chromeos==1', { | 1370 ['chromeos==1', { |
1313 'sources!': [ | 1371 'sources!': [ |
1314 'base/network_change_notifier_linux_unittest.cc', | 1372 'base/network_change_notifier_linux_unittest.cc', |
1315 'proxy/proxy_config_service_linux_unittest.cc', | 1373 'proxy/proxy_config_service_linux_unittest.cc', |
1316 ], | 1374 ], |
1317 }], | 1375 }], |
1318 [ 'use_glib == 1', { | 1376 [ 'use_glib == 1', { |
1319 'dependencies': [ | 1377 'dependencies': [ |
1320 '../build/linux/system.gyp:ssl', | 1378 '../build/linux/system.gyp:ssl', |
1321 ], | 1379 ], |
1322 }, { # else: OS is not in the above list | 1380 }, { # else: OS is not in the above list |
1323 'sources!': [ | 1381 'sources!': [ |
1324 'base/cert_database_nss_unittest.cc', | 1382 'base/cert_database_nss_unittest.cc', |
1325 ], | 1383 ], |
1326 }, | 1384 }, |
1327 ], | 1385 ], |
1328 [ 'toolkit_uses_gtk == 1', { | 1386 [ 'toolkit_uses_gtk == 1', { |
1329 'dependencies': [ | 1387 'dependencies': [ |
1330 '../build/linux/system.gyp:gtk', | 1388 '../build/linux/system.gyp:gtk', |
1331 ], | 1389 ], |
1332 }, | 1390 }, |
1333 ], | 1391 ], |
1334 [ 'os_posix == 1 and OS != "mac" and OS != "android"', { | 1392 [ 'os_posix == 1 and OS != "mac" and OS != "android" and OS != "ios"', { |
1335 'conditions': [ | 1393 'conditions': [ |
1336 ['linux_use_tcmalloc==1', { | 1394 ['linux_use_tcmalloc==1', { |
1337 'dependencies': [ | 1395 'dependencies': [ |
1338 '../base/allocator/allocator.gyp:allocator', | 1396 '../base/allocator/allocator.gyp:allocator', |
1339 ], | 1397 ], |
1340 }], | 1398 }], |
1341 ], | 1399 ], |
1342 }], | 1400 }], |
1343 [ 'use_kerberos==1', { | 1401 [ 'use_kerberos==1', { |
1344 'defines': [ | 1402 'defines': [ |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1412 ], | 1470 ], |
1413 ['OS == "android" and gtest_target_type == "shared_library"', { | 1471 ['OS == "android" and gtest_target_type == "shared_library"', { |
1414 'dependencies': [ | 1472 'dependencies': [ |
1415 '../testing/android/native_test.gyp:native_test_native_code', | 1473 '../testing/android/native_test.gyp:native_test_native_code', |
1416 ] | 1474 ] |
1417 }], | 1475 }], |
1418 [ 'OS != "win" and OS != "mac"', { | 1476 [ 'OS != "win" and OS != "mac"', { |
1419 'sources!': [ | 1477 'sources!': [ |
1420 'base/x509_cert_types_unittest.cc', | 1478 'base/x509_cert_types_unittest.cc', |
1421 ], | 1479 ], |
1422 }] | 1480 }], |
1481 ['OS == "ios"', { | |
1482 # TODO: For now this only test the subset of code that was enabled in | |
stuartmorgan
2012/07/30 10:52:12
s/TODO/TODO(ios)/
s/test/tests/
s/was/is/
noyau (Ping after 24h)
2012/07/31 15:26:12
Done.
| |
1483 # the net target. | |
1484 'dependencies': [ | |
1485 '../testing/gtest.gyp:gtest_main', | |
1486 ], | |
1487 'dependencies!': [ | |
1488 'net_test_support', | |
1489 ], | |
1490 'sources/': [ | |
1491 ['exclude', '.*'], | |
1492 ['include', '^base/dns_util_unittest\\.cc$'], | |
1493 ['include', '^base/escape_unittest\\.cc$'], | |
1494 ['include', '^base/ip_endpoint_unittest\\.cc$'], | |
1495 ['include', '^base/mime_util_unittest\\.cc$'], | |
1496 ['include', '^base/net_log_unittest\\.cc$'], | |
1497 ['include', '^base/registry_controlled_domains/registry_controlled_d omain_unittest\\.cc$'], | |
1498 ['include', '^http/http_byte_range_unittest\\.cc$'], | |
1499 ['include', '^http/http_content_disposition_unittest\\.cc$'], | |
1500 ['include', '^http/http_util_unittest\\.cc$'], | |
1501 ], | |
1502 }], | |
1423 ], | 1503 ], |
1424 }, | 1504 }, |
1425 { | 1505 { |
1426 'target_name': 'net_perftests', | 1506 'target_name': 'net_perftests', |
1427 'type': 'executable', | 1507 'type': 'executable', |
1428 'dependencies': [ | 1508 'dependencies': [ |
1429 'net', | 1509 'net', |
1430 'net_test_support', | 1510 'net_test_support', |
1431 '../base/base.gyp:base', | 1511 '../base/base.gyp:base', |
1432 '../base/base.gyp:base_i18n', | 1512 '../base/base.gyp:base_i18n', |
1433 '../base/base.gyp:test_support_perf', | 1513 '../base/base.gyp:test_support_perf', |
1434 '../build/temp_gyp/googleurl.gyp:googleurl', | 1514 '../build/temp_gyp/googleurl.gyp:googleurl', |
1435 '../testing/gtest.gyp:gtest', | 1515 '../testing/gtest.gyp:gtest', |
1436 ], | 1516 ], |
1437 'sources': [ | 1517 'sources': [ |
1438 'cookies/cookie_monster_perftest.cc', | 1518 'cookies/cookie_monster_perftest.cc', |
1439 'disk_cache/disk_cache_perftest.cc', | 1519 'disk_cache/disk_cache_perftest.cc', |
1440 'proxy/proxy_resolver_perftest.cc', | 1520 'proxy/proxy_resolver_perftest.cc', |
1441 ], | 1521 ], |
1442 'conditions': [ | 1522 'conditions': [ |
1443 # This is needed to trigger the dll copy step on windows. | 1523 # This is needed to trigger the dll copy step on windows. |
1444 # TODO(mark): Specifying this here shouldn't be necessary. | 1524 # TODO(mark): Specifying this here shouldn't be necessary. |
1445 [ 'OS == "win"', { | 1525 [ 'OS == "win"', { |
1446 'dependencies': [ | 1526 'dependencies': [ |
1447 '../third_party/icu/icu.gyp:icudata', | 1527 '../third_party/icu/icu.gyp:icudata', |
1448 ], | 1528 ], |
1449 }, | 1529 }, |
1450 ], | 1530 ], |
1531 ['OS == "ios"', { | |
1532 'sources!': [ | |
1533 # PAC scripts are not supported on iOS. | |
1534 'proxy/proxy_resolver_perftest.cc', | |
1535 # TODO:(ios): Enable those tests once the code to exercise is | |
stuartmorgan
2012/07/30 10:52:12
s/those/these/
noyau (Ping after 24h)
2012/07/31 15:26:12
Done.
| |
1536 # present in the net target. | |
1537 'cookies/cookie_monster_perftest.cc', | |
1538 'disk_cache/disk_cache_perftest.cc', | |
1539 ], | |
1540 }], | |
1451 ], | 1541 ], |
1452 }, | 1542 }, |
1453 { | 1543 { |
1454 'target_name': 'stress_cache', | |
1455 'type': 'executable', | |
1456 'dependencies': [ | |
1457 'net', | |
1458 'net_test_support', | |
1459 '../base/base.gyp:base', | |
1460 ], | |
1461 'sources': [ | |
1462 'disk_cache/stress_cache.cc', | |
1463 ], | |
1464 }, | |
1465 { | |
1466 'target_name': 'tld_cleanup', | |
1467 'type': 'executable', | |
1468 'dependencies': [ | |
1469 '../base/base.gyp:base', | |
1470 '../base/base.gyp:base_i18n', | |
1471 '../build/temp_gyp/googleurl.gyp:googleurl', | |
1472 ], | |
1473 'sources': [ | |
1474 'tools/tld_cleanup/tld_cleanup.cc', | |
1475 ], | |
1476 }, | |
1477 { | |
1478 'target_name': 'crash_cache', | |
1479 'type': 'executable', | |
1480 'dependencies': [ | |
1481 'net', | |
1482 'net_test_support', | |
1483 '../base/base.gyp:base', | |
1484 ], | |
1485 'sources': [ | |
1486 'tools/crash_cache/crash_cache.cc', | |
1487 ], | |
1488 }, | |
1489 { | |
1490 'target_name': 'run_testserver', | |
1491 'type': 'executable', | |
1492 'dependencies': [ | |
1493 'net', | |
1494 'net_test_support', | |
1495 '../base/base.gyp:base', | |
1496 '../build/temp_gyp/googleurl.gyp:googleurl', | |
1497 '../testing/gtest.gyp:gtest', | |
1498 ], | |
1499 'sources': [ | |
1500 'tools/testserver/run_testserver.cc', | |
1501 ], | |
1502 }, | |
1503 { | |
1504 'target_name': 'net_test_support', | 1544 'target_name': 'net_test_support', |
1505 'type': 'static_library', | 1545 'type': 'static_library', |
1506 'dependencies': [ | 1546 'dependencies': [ |
1507 'net', | 1547 'net', |
1508 '../base/base.gyp:base', | 1548 '../base/base.gyp:base', |
1509 '../base/base.gyp:test_support_base', | 1549 '../base/base.gyp:test_support_base', |
1510 '../testing/gtest.gyp:gtest', | 1550 '../testing/gtest.gyp:gtest', |
1511 ], | 1551 ], |
1512 'export_dependent_settings': [ | 1552 'export_dependent_settings': [ |
1513 '../base/base.gyp:base', | 1553 '../base/base.gyp:base', |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1563 'test/remote_test_server.h', | 1603 'test/remote_test_server.h', |
1564 'test/spawner_communicator.cc', | 1604 'test/spawner_communicator.cc', |
1565 'test/spawner_communicator.h', | 1605 'test/spawner_communicator.h', |
1566 'test/test_server.h', | 1606 'test/test_server.h', |
1567 'url_request/test_url_fetcher_factory.cc', | 1607 'url_request/test_url_fetcher_factory.cc', |
1568 'url_request/test_url_fetcher_factory.h', | 1608 'url_request/test_url_fetcher_factory.h', |
1569 'url_request/url_request_test_util.cc', | 1609 'url_request/url_request_test_util.cc', |
1570 'url_request/url_request_test_util.h', | 1610 'url_request/url_request_test_util.h', |
1571 ], | 1611 ], |
1572 'conditions': [ | 1612 'conditions': [ |
1573 ['inside_chromium_build==1', { | 1613 ['inside_chromium_build==1 and OS != "ios"', { |
1574 'dependencies': [ | 1614 'dependencies': [ |
1575 '../chrome/app/policy/cloud_policy_codegen.gyp:cloud_policy_proto_co mpile', | 1615 '../chrome/app/policy/cloud_policy_codegen.gyp:cloud_policy_proto_co mpile', |
1576 # The test server uses Python modules generated by the sync protos. | 1616 # The test server uses Python modules generated by the sync protos. |
1577 '../sync/protocol/sync_proto.gyp:sync_proto', | 1617 '../sync/protocol/sync_proto.gyp:sync_proto', |
1578 '../third_party/protobuf/protobuf.gyp:py_proto', | 1618 '../third_party/protobuf/protobuf.gyp:py_proto', |
1579 ], | 1619 ], |
1580 }], | 1620 }], |
1581 ['os_posix == 1 and OS != "mac" and OS != "android"', { | 1621 ['os_posix == 1 and OS != "mac" and OS != "android" and OS != "ios"', { |
1582 'conditions': [ | 1622 'conditions': [ |
1583 ['use_openssl==1', { | 1623 ['use_openssl==1', { |
1584 'dependencies': [ | 1624 'dependencies': [ |
1585 '../third_party/openssl/openssl.gyp:openssl', | 1625 '../third_party/openssl/openssl.gyp:openssl', |
1586 ], | 1626 ], |
1587 }, { | 1627 }, { |
1588 'dependencies': [ | 1628 'dependencies': [ |
1589 '../build/linux/system.gyp:ssl', | 1629 '../build/linux/system.gyp:ssl', |
1590 ], | 1630 ], |
1591 }], | 1631 }], |
1592 ], | 1632 ], |
1593 }], | 1633 }], |
1594 ['os_posix == 1 and OS != "mac" and OS != "android"', { | 1634 ['os_posix == 1 and OS != "mac" and OS != "android" and OS != "ios"', { |
1595 'conditions': [ | 1635 'conditions': [ |
1596 ['linux_use_tcmalloc==1', { | 1636 ['linux_use_tcmalloc==1', { |
1597 'dependencies': [ | 1637 'dependencies': [ |
1598 '../base/allocator/allocator.gyp:allocator', | 1638 '../base/allocator/allocator.gyp:allocator', |
1599 ], | 1639 ], |
1600 }], | 1640 }], |
1601 ], | 1641 ], |
1602 }], | 1642 }], |
1603 ['OS != "android"', { | 1643 ['OS != "android"', { |
1604 'sources!': [ | 1644 'sources!': [ |
(...skipping 16 matching lines...) Expand all Loading... | |
1621 'action_name': 'net_resources', | 1661 'action_name': 'net_resources', |
1622 'variables': { | 1662 'variables': { |
1623 'grit_grd_file': 'base/net_resources.grd', | 1663 'grit_grd_file': 'base/net_resources.grd', |
1624 }, | 1664 }, |
1625 'includes': [ '../build/grit_action.gypi' ], | 1665 'includes': [ '../build/grit_action.gypi' ], |
1626 }, | 1666 }, |
1627 ], | 1667 ], |
1628 'includes': [ '../build/grit_target.gypi' ], | 1668 'includes': [ '../build/grit_target.gypi' ], |
1629 }, | 1669 }, |
1630 { | 1670 { |
1631 'target_name': 'gdig', | |
1632 'type': 'executable', | |
1633 'dependencies': [ | |
1634 '../base/base.gyp:base', | |
1635 'net', | |
1636 ], | |
1637 'sources': [ | |
1638 'tools/gdig/file_net_log.cc', | |
1639 'tools/gdig/gdig.cc', | |
1640 ], | |
1641 }, | |
1642 { | |
1643 'target_name': 'fetch_client', | |
1644 'type': 'executable', | |
1645 'variables': { 'enable_wexit_time_destructors': 1, }, | |
1646 'dependencies': [ | |
1647 'net', | |
1648 '../base/base.gyp:base', | |
1649 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic _annotations', | |
1650 '../build/temp_gyp/googleurl.gyp:googleurl', | |
1651 '../testing/gtest.gyp:gtest', | |
1652 ], | |
1653 'sources': [ | |
1654 'tools/fetch/fetch_client.cc', | |
1655 ], | |
1656 }, | |
1657 { | |
1658 'target_name': 'fetch_server', | |
1659 'type': 'executable', | |
1660 'variables': { 'enable_wexit_time_destructors': 1, }, | |
1661 'dependencies': [ | |
1662 'net', | |
1663 '../base/base.gyp:base', | |
1664 '../build/temp_gyp/googleurl.gyp:googleurl', | |
1665 ], | |
1666 'sources': [ | |
1667 'tools/fetch/fetch_server.cc', | |
1668 'tools/fetch/http_listen_socket.cc', | |
1669 'tools/fetch/http_listen_socket.h', | |
1670 'tools/fetch/http_server.cc', | |
1671 'tools/fetch/http_server.h', | |
1672 'tools/fetch/http_server_request_info.cc', | |
1673 'tools/fetch/http_server_request_info.h', | |
1674 'tools/fetch/http_server_response_info.cc', | |
1675 'tools/fetch/http_server_response_info.h', | |
1676 'tools/fetch/http_session.cc', | |
1677 'tools/fetch/http_session.h', | |
1678 ], | |
1679 }, | |
1680 { | |
1681 'target_name': 'http_server', | 1671 'target_name': 'http_server', |
1682 'type': 'static_library', | 1672 'type': 'static_library', |
1683 'variables': { 'enable_wexit_time_destructors': 1, }, | 1673 'variables': { 'enable_wexit_time_destructors': 1, }, |
1684 'dependencies': [ | 1674 'dependencies': [ |
1685 'net', | 1675 'net', |
1686 '../base/base.gyp:base', | 1676 '../base/base.gyp:base', |
1687 ], | 1677 ], |
1688 'sources': [ | 1678 'sources': [ |
1689 'server/http_connection.cc', | 1679 'server/http_connection.cc', |
1690 'server/http_connection.h', | 1680 'server/http_connection.h', |
1691 'server/http_server.cc', | 1681 'server/http_server.cc', |
1692 'server/http_server.h', | 1682 'server/http_server.h', |
1693 'server/http_server_request_info.cc', | 1683 'server/http_server_request_info.cc', |
1694 'server/http_server_request_info.h', | 1684 'server/http_server_request_info.h', |
1695 'server/web_socket.cc', | 1685 'server/web_socket.cc', |
1696 'server/web_socket.h', | 1686 'server/web_socket.h', |
1697 ], | 1687 ], |
1698 }, | 1688 }, |
1699 { | |
1700 'target_name': 'dnssec_chain_verify', | |
1701 'type': 'executable', | |
1702 'dependencies': [ | |
1703 'net', | |
1704 '../base/base.gyp:base', | |
1705 ], | |
1706 'sources': [ | |
1707 'tools/dnssec_chain_verify/dnssec_chain_verify.cc', | |
1708 ], | |
1709 }, | |
1710 { | |
1711 'target_name': 'crl_set_dump', | |
1712 'type': 'executable', | |
1713 'dependencies': [ | |
1714 'net', | |
1715 '../base/base.gyp:base', | |
1716 ], | |
1717 'sources': [ | |
1718 'tools/crl_set_dump/crl_set_dump.cc', | |
1719 ], | |
1720 }, | |
1721 { | |
1722 'target_name': 'dns_fuzz_stub', | |
1723 'type': 'executable', | |
1724 'dependencies': [ | |
1725 'net', | |
1726 '../base/base.gyp:base', | |
1727 ], | |
1728 'sources': [ | |
1729 'tools/dns_fuzz_stub/dns_fuzz_stub.cc', | |
1730 ], | |
1731 }, | |
1732 { | |
1733 'target_name': 'net_watcher', | |
1734 'type': 'executable', | |
1735 'dependencies': [ | |
1736 'net', | |
1737 '../base/base.gyp:base', | |
1738 ], | |
1739 'sources': [ | |
1740 'tools/net_watcher/net_watcher.cc', | |
1741 ], | |
1742 }, | |
1743 ], | 1689 ], |
1744 'conditions': [ | 1690 'conditions': [ |
1745 ['os_posix == 1 and OS != "mac" and OS != "android"', { | 1691 ['OS != "ios"', { |
1692 'targets': [ | |
1693 # iOS doesn't have the concept of simple executables, those targets | |
stuartmorgan
2012/07/30 10:52:12
s/those/so these/
noyau (Ping after 24h)
2012/07/31 15:26:12
Done.
| |
1694 # can't be compiled on the platform. | |
1695 { | |
1696 'target_name': 'dnssec_chain_verify', | |
1697 'type': 'executable', | |
1698 'dependencies': [ | |
1699 'net', | |
1700 '../base/base.gyp:base', | |
1701 ], | |
1702 'sources': [ | |
1703 'tools/dnssec_chain_verify/dnssec_chain_verify.cc', | |
1704 ], | |
1705 }, | |
1706 { | |
1707 'target_name': 'fetch_server', | |
1708 'type': 'executable', | |
1709 'variables': { 'enable_wexit_time_destructors': 1, }, | |
1710 'dependencies': [ | |
1711 'net', | |
1712 '../base/base.gyp:base', | |
1713 '../build/temp_gyp/googleurl.gyp:googleurl', | |
1714 ], | |
1715 'sources': [ | |
1716 'tools/fetch/fetch_server.cc', | |
1717 'tools/fetch/http_listen_socket.cc', | |
1718 'tools/fetch/http_listen_socket.h', | |
1719 'tools/fetch/http_server.cc', | |
1720 'tools/fetch/http_server.h', | |
1721 'tools/fetch/http_server_request_info.cc', | |
1722 'tools/fetch/http_server_request_info.h', | |
1723 'tools/fetch/http_server_response_info.cc', | |
1724 'tools/fetch/http_server_response_info.h', | |
1725 'tools/fetch/http_session.cc', | |
1726 'tools/fetch/http_session.h', | |
1727 ], | |
1728 }, | |
1729 { | |
1730 'target_name': 'gdig', | |
1731 'type': 'executable', | |
1732 'dependencies': [ | |
1733 '../base/base.gyp:base', | |
1734 'net', | |
1735 ], | |
1736 'sources': [ | |
1737 'tools/gdig/file_net_log.cc', | |
1738 'tools/gdig/gdig.cc', | |
1739 ], | |
1740 }, | |
1741 { | |
1742 'target_name': 'net_watcher', | |
1743 'type': 'executable', | |
1744 'dependencies': [ | |
1745 'net', | |
1746 '../base/base.gyp:base', | |
1747 ], | |
1748 'sources': [ | |
1749 'tools/net_watcher/net_watcher.cc', | |
1750 ], | |
1751 }, | |
1752 { | |
1753 'target_name': 'crl_set_dump', | |
1754 'type': 'executable', | |
1755 'dependencies': [ | |
1756 'net', | |
1757 '../base/base.gyp:base', | |
1758 ], | |
1759 'sources': [ | |
1760 'tools/crl_set_dump/crl_set_dump.cc', | |
1761 ], | |
1762 }, | |
1763 { | |
1764 'target_name': 'tld_cleanup', | |
1765 'type': 'executable', | |
1766 'dependencies': [ | |
1767 '../base/base.gyp:base', | |
1768 '../base/base.gyp:base_i18n', | |
1769 '../build/temp_gyp/googleurl.gyp:googleurl', | |
1770 ], | |
1771 'sources': [ | |
1772 'tools/tld_cleanup/tld_cleanup.cc', | |
1773 ], | |
1774 }, | |
1775 { | |
1776 'target_name': 'dns_fuzz_stub', | |
1777 'type': 'executable', | |
1778 'dependencies': [ | |
1779 'net', | |
1780 '../base/base.gyp:base', | |
1781 ], | |
1782 'sources': [ | |
1783 'tools/dns_fuzz_stub/dns_fuzz_stub.cc', | |
1784 ], | |
1785 }, | |
1786 { | |
1787 'target_name': 'stress_cache', | |
1788 'type': 'executable', | |
1789 'dependencies': [ | |
1790 'net', | |
1791 'net_test_support', | |
1792 '../base/base.gyp:base', | |
1793 ], | |
1794 'sources': [ | |
1795 'disk_cache/stress_cache.cc', | |
1796 ], | |
1797 }, | |
1798 { | |
1799 'target_name': 'crash_cache', | |
1800 'type': 'executable', | |
1801 'dependencies': [ | |
1802 'net', | |
1803 'net_test_support', | |
1804 '../base/base.gyp:base', | |
1805 ], | |
1806 'sources': [ | |
1807 'tools/crash_cache/crash_cache.cc', | |
1808 ], | |
1809 }, | |
1810 { | |
1811 'target_name': 'run_testserver', | |
1812 'type': 'executable', | |
1813 'dependencies': [ | |
1814 'net', | |
1815 'net_test_support', | |
1816 '../base/base.gyp:base', | |
1817 '../build/temp_gyp/googleurl.gyp:googleurl', | |
1818 '../testing/gtest.gyp:gtest', | |
1819 ], | |
1820 'sources': [ | |
1821 'tools/testserver/run_testserver.cc', | |
1822 ], | |
1823 }, | |
1824 { | |
1825 'target_name': 'fetch_client', | |
1826 'type': 'executable', | |
1827 'variables': { 'enable_wexit_time_destructors': 1, }, | |
1828 'dependencies': [ | |
1829 'net', | |
1830 '../base/base.gyp:base', | |
1831 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dyn amic_annotations', | |
1832 '../build/temp_gyp/googleurl.gyp:googleurl', | |
1833 '../testing/gtest.gyp:gtest', | |
1834 ], | |
1835 'sources': [ | |
1836 'tools/fetch/fetch_client.cc', | |
1837 ], | |
1838 }, | |
1839 ], | |
1840 }], | |
1841 ['inside_chromium_build==1', { | |
1842 'targets': [ | |
1843 # This target depends on dependencies not fetched by WebKit's DEPS. | |
1844 # In particular, ..\chrome\test\data and ..\third_party\python_26 on | |
1845 # Windows. | |
1846 { | |
1847 'target_name': 'net_unittests_run', | |
1848 'type': 'none', | |
1849 'dependencies': [ | |
1850 'net_unittests', | |
1851 ], | |
1852 'includes': [ | |
1853 'net_unittests.isolate', | |
1854 ], | |
1855 'actions': [ | |
1856 { | |
1857 'action_name': 'isolate', | |
1858 'inputs': [ | |
1859 'net_unittests.isolate', | |
1860 '<@(isolate_dependency_tracked)', | |
1861 ], | |
1862 'outputs': [ | |
1863 '<(PRODUCT_DIR)/net_unittests.results', | |
1864 ], | |
1865 'action': [ | |
1866 'python', | |
1867 '../tools/isolate/isolate.py', | |
1868 '<(test_isolation_mode)', | |
1869 '--outdir', '<(test_isolation_outdir)', | |
1870 '--variable', 'PRODUCT_DIR', '<(PRODUCT_DIR)', | |
1871 '--variable', 'OS', '<(OS)', | |
1872 '--result', '<@(_outputs)', | |
1873 '--isolate', 'net_unittests.isolate', | |
1874 ], | |
1875 }, | |
1876 ], | |
1877 }, | |
1878 ], | |
1879 }], | |
1880 ['os_posix == 1 and OS != "mac" and OS != "ios" and OS != "android"', { | |
1746 'targets': [ | 1881 'targets': [ |
1747 { | 1882 { |
1748 'target_name': 'flip_in_mem_edsm_server', | 1883 'target_name': 'flip_in_mem_edsm_server', |
1749 'type': 'executable', | 1884 'type': 'executable', |
1750 'cflags': [ | 1885 'cflags': [ |
1751 '-Wno-deprecated', | 1886 '-Wno-deprecated', |
1752 ], | 1887 ], |
1753 'dependencies': [ | 1888 'dependencies': [ |
1754 '../base/base.gyp:base', | 1889 '../base/base.gyp:base', |
1755 'net', | 1890 'net', |
(...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1975 '--result', '<@(_outputs)', | 2110 '--result', '<@(_outputs)', |
1976 '--isolate', 'net_unittests.isolate', | 2111 '--isolate', 'net_unittests.isolate', |
1977 ], | 2112 ], |
1978 }, | 2113 }, |
1979 ], | 2114 ], |
1980 }, | 2115 }, |
1981 ], | 2116 ], |
1982 }], | 2117 }], |
1983 ], | 2118 ], |
1984 } | 2119 } |
OLD | NEW |