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', | |
39 '../build/temp_gyp/googleurl.gyp:googleurl', | 38 '../build/temp_gyp/googleurl.gyp:googleurl', |
40 '../crypto/crypto.gyp:crypto', | |
41 '../sdch/sdch.gyp:sdch', | |
42 '../third_party/icu/icu.gyp:icui18n', | 39 '../third_party/icu/icu.gyp:icui18n', |
43 '../third_party/icu/icu.gyp:icuuc', | 40 '../third_party/icu/icu.gyp:icuuc', |
44 '../third_party/zlib/zlib.gyp:zlib', | 41 '../third_party/zlib/zlib.gyp:zlib', |
45 '../v8/tools/gyp/v8.gyp:v8', | |
46 'net_resources', | 42 'net_resources', |
47 ], | 43 ], |
48 'sources': [ | 44 'sources': [ |
49 'android/net_jni_registrar.cc', | 45 'android/net_jni_registrar.cc', |
50 'android/net_jni_registrar.h', | 46 'android/net_jni_registrar.h', |
51 'android/network_change_notifier_android.cc', | 47 'android/network_change_notifier_android.cc', |
52 'android/network_change_notifier_android.h', | 48 'android/network_change_notifier_android.h', |
53 'android/network_change_notifier_factory.cc', | 49 'android/network_change_notifier_factory.cc', |
54 'android/network_change_notifier_factory.h', | 50 'android/network_change_notifier_factory.h', |
55 'android/network_library.cc', | 51 'android/network_library.cc', |
(...skipping 742 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
798 'websockets/websocket_throttle.cc', | 794 'websockets/websocket_throttle.cc', |
799 'websockets/websocket_throttle.h', | 795 'websockets/websocket_throttle.h', |
800 ], | 796 ], |
801 'defines': [ | 797 'defines': [ |
802 'NET_IMPLEMENTATION', | 798 'NET_IMPLEMENTATION', |
803 ], | 799 ], |
804 'export_dependent_settings': [ | 800 'export_dependent_settings': [ |
805 '../base/base.gyp:base', | 801 '../base/base.gyp:base', |
806 ], | 802 ], |
807 'conditions': [ | 803 'conditions': [ |
804 ['OS != "ios"', { | |
805 'dependencies': [ | |
Ryan Sleevi
2012/07/28 00:33:13
Any chance this can be OS == "ios" and dependencie
stuartmorgan
2012/07/28 13:53:43
Unfortunately dependencies! doesn't work when the
Ryan Sleevi
2012/07/29 09:01:25
Is that the same for all of the targets below? It
noyau (Ping after 24h)
2012/07/30 10:32:19
I've reduced the list as much as I could. However
| |
806 '../v8/tools/gyp/v8.gyp:v8', | |
807 # TODO(ios): This is temporary; currently almost nothing builds with | |
808 # OS=ios. Move dependencies back to the main dependencies section ab ove | |
Ryan Sleevi
2012/07/28 00:33:13
nit: 80 character wrapping
noyau (Ping after 24h)
2012/07/30 10:32:19
Done.
| |
809 # as more is brought up for iOS. | |
810 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dyn amic_annotations', | |
811 '../crypto/crypto.gyp:crypto', | |
812 '../sdch/sdch.gyp:sdch', | |
813 ], | |
814 }], | |
808 ['chromeos==1', { | 815 ['chromeos==1', { |
809 'sources!': [ | 816 'sources!': [ |
810 'base/network_change_notifier_linux.cc', | 817 'base/network_change_notifier_linux.cc', |
811 'base/network_change_notifier_linux.h', | 818 'base/network_change_notifier_linux.h', |
812 'base/network_change_notifier_netlink_linux.cc', | 819 'base/network_change_notifier_netlink_linux.cc', |
813 'base/network_change_notifier_netlink_linux.h', | 820 'base/network_change_notifier_netlink_linux.h', |
814 'proxy/proxy_config_service_linux.cc', | 821 'proxy/proxy_config_service_linux.cc', |
815 'proxy/proxy_config_service_linux.h', | 822 'proxy/proxy_config_service_linux.h', |
816 ], | 823 ], |
817 }], | 824 }], |
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1040 ], | 1047 ], |
1041 }, | 1048 }, |
1042 ], | 1049 ], |
1043 [ 'OS == "linux"', { | 1050 [ 'OS == "linux"', { |
1044 'dependencies': [ | 1051 'dependencies': [ |
1045 '../build/linux/system.gyp:dbus', | 1052 '../build/linux/system.gyp:dbus', |
1046 '../dbus/dbus.gyp:dbus', | 1053 '../dbus/dbus.gyp:dbus', |
1047 ], | 1054 ], |
1048 }, | 1055 }, |
1049 ], | 1056 ], |
1057 [ 'OS == "ios"', { | |
1058 'link_settings': { | |
1059 'libraries': [ | |
1060 '$(SDKROOT)/System/Library/Frameworks/CFNetwork.framework', | |
1061 '$(SDKROOT)/System/Library/Frameworks/MobileCoreServices.framewo rk', | |
1062 '$(SDKROOT)/System/Library/Frameworks/SystemConfiguration.framew ork', | |
1063 '$(SDKROOT)/usr/lib/libresolv.dylib', | |
1064 ], | |
1065 }, | |
1066 'sources/': [ | |
1067 # TODO(ios): Right now there is only a very limited subset of net | |
1068 # compiled on iOS, just enough to bring up the dependencies needed | |
1069 # by the ui target. | |
1070 ['exclude', '.*'], | |
1071 ['include', '^base/dns_util\\..*$'], | |
1072 ['include', '^base/escape\\..*$'], | |
1073 ['include', '^base/ip_endpoint\\..*$'], | |
1074 ['include', '^base/mime_util\\..*$'], | |
1075 ['include', '^base/net_errors\\..*$'], | |
1076 ['include', '^base/net_errors_posix\\.cc$'], | |
1077 ['include', '^base/net_export\\.h$'], | |
1078 ['include', '^base/net_log\\..*$'], | |
1079 ['include', '^base/net_module\\..*$'], | |
1080 ['include', '^base/net_util\\..*$'], | |
1081 ['include', '^base/net_util_posix\\.cc$'], | |
1082 ['include', '^base/platform_mime_util\\.h$'], | |
1083 ['include', '^base/registry_controlled_domains/registry_controlled _domain\\..*$'], | |
1084 ['include', '^http/http_byte_range\\..*$'], | |
1085 ['include', '^http/http_content_disposition\\..*$'], | |
1086 ['include', '^http/http_util\\..*$'], | |
1087 ['include', '^http/http_util_icu\\.cc$'], | |
1088 ['include', '^http/http_version\\.h$'], | |
1089 ], | |
1090 }, | |
1091 ], | |
1050 ], | 1092 ], |
1051 'target_conditions': [ | 1093 'target_conditions': [ |
1052 ['OS == "android"', { | 1094 ['OS == "android"', { |
1053 'sources/': [ | 1095 'sources/': [ |
1054 ['include', '^base/platform_mime_util_linux\\.cc$'], | 1096 ['include', '^base/platform_mime_util_linux\\.cc$'], |
1055 ], | 1097 ], |
1056 }], | 1098 }], |
1099 ['OS == "ios"', { | |
1100 'sources/': [ | |
1101 ['include', 'base/platform_mime_util_mac\\.mm$'], | |
Ryan Sleevi
2012/07/28 00:33:13
Any reason this is part of target_conditions and n
stuartmorgan
2012/07/28 13:53:43
Same reason we're doing this probably; _mac. is ex
Ryan Sleevi
2012/07/29 09:01:25
Ah, right.
Would it be possible then to add a com
noyau (Ping after 24h)
2012/07/30 10:32:19
Done.
| |
1102 ], | |
1103 }], | |
1057 ], | 1104 ], |
1058 }, | 1105 }, |
1059 { | 1106 { |
1060 'target_name': 'net_unittests', | 1107 'target_name': 'net_unittests', |
1061 'type': '<(gtest_target_type)', | 1108 'type': '<(gtest_target_type)', |
1062 'dependencies': [ | 1109 'dependencies': [ |
1063 'net', | 1110 'net', |
1064 'net_test_support', | 1111 'net_test_support', |
1065 '../base/base.gyp:base', | 1112 '../base/base.gyp:base', |
1066 '../base/base.gyp:base_i18n', | 1113 '../base/base.gyp:base_i18n', |
1067 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic _annotations', | |
1068 '../build/temp_gyp/googleurl.gyp:googleurl', | 1114 '../build/temp_gyp/googleurl.gyp:googleurl', |
1069 '../crypto/crypto.gyp:crypto', | |
1070 '../testing/gmock.gyp:gmock', | 1115 '../testing/gmock.gyp:gmock', |
1071 '../testing/gtest.gyp:gtest', | 1116 '../testing/gtest.gyp:gtest', |
1072 '../third_party/zlib/zlib.gyp:zlib', | 1117 '../third_party/zlib/zlib.gyp:zlib', |
1073 ], | 1118 ], |
1074 'sources': [ | 1119 'sources': [ |
1075 'base/address_list_unittest.cc', | 1120 'base/address_list_unittest.cc', |
1076 'base/address_tracker_linux_unittest.cc', | 1121 'base/address_tracker_linux_unittest.cc', |
1077 'base/backoff_entry_unittest.cc', | 1122 'base/backoff_entry_unittest.cc', |
1078 'base/big_endian_unittest.cc', | 1123 'base/big_endian_unittest.cc', |
1079 'base/cert_database_nss_unittest.cc', | 1124 'base/cert_database_nss_unittest.cc', |
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1300 'url_request/view_cache_helper_unittest.cc', | 1345 'url_request/view_cache_helper_unittest.cc', |
1301 'websockets/websocket_frame_parser_unittest.cc', | 1346 'websockets/websocket_frame_parser_unittest.cc', |
1302 'websockets/websocket_frame_unittest.cc', | 1347 'websockets/websocket_frame_unittest.cc', |
1303 'websockets/websocket_handshake_handler_unittest.cc', | 1348 'websockets/websocket_handshake_handler_unittest.cc', |
1304 'websockets/websocket_job_spdy2_unittest.cc', | 1349 'websockets/websocket_job_spdy2_unittest.cc', |
1305 'websockets/websocket_job_spdy3_unittest.cc', | 1350 'websockets/websocket_job_spdy3_unittest.cc', |
1306 'websockets/websocket_net_log_params_unittest.cc', | 1351 'websockets/websocket_net_log_params_unittest.cc', |
1307 'websockets/websocket_throttle_unittest.cc', | 1352 'websockets/websocket_throttle_unittest.cc', |
1308 ], | 1353 ], |
1309 'conditions': [ | 1354 'conditions': [ |
1355 ['OS != "ios"', { | |
1356 'dependencies': [ | |
Ryan Sleevi
2012/07/28 00:33:13
same comments re: dependencies!
noyau (Ping after 24h)
2012/07/30 10:32:19
Same answer. Moved one I could up, but I could not
| |
1357 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dyn amic_annotations', | |
1358 '../crypto/crypto.gyp:crypto', | |
1359 ], | |
1360 }], | |
1310 ['chromeos==1', { | 1361 ['chromeos==1', { |
1311 'sources!': [ | 1362 'sources!': [ |
1312 'base/network_change_notifier_linux_unittest.cc', | 1363 'base/network_change_notifier_linux_unittest.cc', |
1313 'proxy/proxy_config_service_linux_unittest.cc', | 1364 'proxy/proxy_config_service_linux_unittest.cc', |
1314 ], | 1365 ], |
1315 }], | 1366 }], |
1316 [ 'use_glib == 1', { | 1367 [ 'use_glib == 1', { |
1317 'dependencies': [ | 1368 'dependencies': [ |
1318 '../build/linux/system.gyp:ssl', | 1369 '../build/linux/system.gyp:ssl', |
1319 ], | 1370 ], |
1320 }, { # else: OS is not in the above list | 1371 }, { # else: OS is not in the above list |
1321 'sources!': [ | 1372 'sources!': [ |
1322 'base/cert_database_nss_unittest.cc', | 1373 'base/cert_database_nss_unittest.cc', |
1323 ], | 1374 ], |
1324 }, | 1375 }, |
1325 ], | 1376 ], |
1326 [ 'toolkit_uses_gtk == 1', { | 1377 [ 'toolkit_uses_gtk == 1', { |
1327 'dependencies': [ | 1378 'dependencies': [ |
1328 '../build/linux/system.gyp:gtk', | 1379 '../build/linux/system.gyp:gtk', |
1329 ], | 1380 ], |
1330 }, | 1381 }, |
1331 ], | 1382 ], |
1332 [ 'os_posix == 1 and OS != "mac" and OS != "android"', { | 1383 [ 'os_posix == 1 and OS != "mac" and OS != "android" and OS != "ios"', { |
1333 'conditions': [ | 1384 'conditions': [ |
1334 ['linux_use_tcmalloc==1', { | 1385 ['linux_use_tcmalloc==1', { |
1335 'dependencies': [ | 1386 'dependencies': [ |
1336 '../base/allocator/allocator.gyp:allocator', | 1387 '../base/allocator/allocator.gyp:allocator', |
1337 ], | 1388 ], |
1338 }], | 1389 }], |
1339 ], | 1390 ], |
1340 }], | 1391 }], |
1341 [ 'use_kerberos==1', { | 1392 [ 'use_kerberos==1', { |
1342 'defines': [ | 1393 'defines': [ |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1410 ], | 1461 ], |
1411 ['OS == "android" and gtest_target_type == "shared_library"', { | 1462 ['OS == "android" and gtest_target_type == "shared_library"', { |
1412 'dependencies': [ | 1463 'dependencies': [ |
1413 '../testing/android/native_test.gyp:native_test_native_code', | 1464 '../testing/android/native_test.gyp:native_test_native_code', |
1414 ] | 1465 ] |
1415 }], | 1466 }], |
1416 [ 'OS != "win" and OS != "mac"', { | 1467 [ 'OS != "win" and OS != "mac"', { |
1417 'sources!': [ | 1468 'sources!': [ |
1418 'base/x509_cert_types_unittest.cc', | 1469 'base/x509_cert_types_unittest.cc', |
1419 ], | 1470 ], |
1420 }] | 1471 }], |
1472 ['OS == "ios"', { | |
1473 # TODO: For now this only test the subset of code that was enabled in | |
1474 # the net target. | |
1475 'dependencies': [ | |
1476 '../testing/gtest.gyp:gtest_main', | |
1477 ], | |
1478 'dependencies!': [ | |
1479 'net_test_support', | |
1480 ], | |
1481 'sources/': [ | |
1482 ['exclude', '.*'], | |
1483 ['include', '^base/dns_util_unittest\\.cc$'], | |
1484 ['include', '^base/escape_unittest\\.cc$'], | |
1485 ['include', '^base/ip_endpoint_unittest\\.cc$'], | |
1486 ['include', '^base/mime_util_unittest\\.cc$'], | |
1487 ['include', '^base/net_log_unittest\\.cc$'], | |
1488 ['include', '^base/registry_controlled_domains/registry_controlled_d omain_unittest\\.cc$'], | |
1489 ['include', '^http/http_byte_range_unittest\\.cc$'], | |
1490 ['include', '^http/http_content_disposition_unittest\\.cc$'], | |
1491 ['include', '^http/http_util_unittest\\.cc$'], | |
1492 ], | |
1493 }], | |
1421 ], | 1494 ], |
1422 }, | 1495 }, |
1423 { | 1496 { |
1424 'target_name': 'net_perftests', | 1497 'target_name': 'net_perftests', |
1425 'type': 'executable', | 1498 'type': 'executable', |
1426 'dependencies': [ | 1499 'dependencies': [ |
1427 'net', | 1500 'net', |
1428 'net_test_support', | 1501 'net_test_support', |
1429 '../base/base.gyp:base', | 1502 '../base/base.gyp:base', |
1430 '../base/base.gyp:base_i18n', | 1503 '../base/base.gyp:base_i18n', |
1431 '../base/base.gyp:test_support_perf', | 1504 '../base/base.gyp:test_support_perf', |
1432 '../build/temp_gyp/googleurl.gyp:googleurl', | 1505 '../build/temp_gyp/googleurl.gyp:googleurl', |
1433 '../testing/gtest.gyp:gtest', | 1506 '../testing/gtest.gyp:gtest', |
1434 ], | 1507 ], |
1435 'sources': [ | 1508 'sources': [ |
1436 'cookies/cookie_monster_perftest.cc', | 1509 'cookies/cookie_monster_perftest.cc', |
1437 'disk_cache/disk_cache_perftest.cc', | 1510 'disk_cache/disk_cache_perftest.cc', |
1438 'proxy/proxy_resolver_perftest.cc', | 1511 'proxy/proxy_resolver_perftest.cc', |
1439 ], | 1512 ], |
1440 'conditions': [ | 1513 'conditions': [ |
1441 # This is needed to trigger the dll copy step on windows. | 1514 # This is needed to trigger the dll copy step on windows. |
1442 # TODO(mark): Specifying this here shouldn't be necessary. | 1515 # TODO(mark): Specifying this here shouldn't be necessary. |
1443 [ 'OS == "win"', { | 1516 [ 'OS == "win"', { |
1444 'dependencies': [ | 1517 'dependencies': [ |
1445 '../third_party/icu/icu.gyp:icudata', | 1518 '../third_party/icu/icu.gyp:icudata', |
1446 ], | 1519 ], |
1447 }, | 1520 }, |
1448 ], | 1521 ], |
1522 ['OS == "ios"', { | |
1523 'sources!': [ | |
1524 # We do not support PAC scripts on iOS. | |
Ryan Sleevi
2012/07/28 00:33:13
I seem to recall there being a conversation on IRC
noyau (Ping after 24h)
2012/07/30 10:32:19
This comment is copied from the comment in the ios
| |
1525 'proxy/proxy_resolver_perftest.cc', | |
1526 # TODO:(ios): Enable those tests once the code to exercise is | |
1527 # present in the net target. | |
1528 'cookies/cookie_monster_perftest.cc', | |
1529 'disk_cache/disk_cache_perftest.cc', | |
1530 ], | |
1531 }], | |
1449 ], | 1532 ], |
1450 }, | 1533 }, |
1451 { | 1534 { |
1452 'target_name': 'stress_cache', | |
1453 'type': 'executable', | |
1454 'dependencies': [ | |
1455 'net', | |
1456 'net_test_support', | |
1457 '../base/base.gyp:base', | |
1458 ], | |
1459 'sources': [ | |
1460 'disk_cache/stress_cache.cc', | |
1461 ], | |
1462 }, | |
1463 { | |
1464 'target_name': 'tld_cleanup', | |
1465 'type': 'executable', | |
1466 'dependencies': [ | |
1467 '../base/base.gyp:base', | |
1468 '../base/base.gyp:base_i18n', | |
1469 '../build/temp_gyp/googleurl.gyp:googleurl', | |
1470 ], | |
1471 'sources': [ | |
1472 'tools/tld_cleanup/tld_cleanup.cc', | |
1473 ], | |
1474 }, | |
1475 { | |
1476 'target_name': 'crash_cache', | |
1477 'type': 'executable', | |
1478 'dependencies': [ | |
1479 'net', | |
1480 'net_test_support', | |
1481 '../base/base.gyp:base', | |
1482 ], | |
1483 'sources': [ | |
1484 'tools/crash_cache/crash_cache.cc', | |
1485 ], | |
1486 }, | |
1487 { | |
1488 'target_name': 'run_testserver', | |
1489 'type': 'executable', | |
1490 'dependencies': [ | |
1491 'net', | |
1492 'net_test_support', | |
1493 '../base/base.gyp:base', | |
1494 '../build/temp_gyp/googleurl.gyp:googleurl', | |
1495 '../testing/gtest.gyp:gtest', | |
1496 ], | |
1497 'sources': [ | |
1498 'tools/testserver/run_testserver.cc', | |
1499 ], | |
1500 }, | |
1501 { | |
1502 'target_name': 'net_test_support', | 1535 'target_name': 'net_test_support', |
1503 'type': 'static_library', | 1536 'type': 'static_library', |
1504 'dependencies': [ | 1537 'dependencies': [ |
1505 'net', | 1538 'net', |
1506 '../base/base.gyp:base', | 1539 '../base/base.gyp:base', |
1507 '../base/base.gyp:test_support_base', | 1540 '../base/base.gyp:test_support_base', |
1508 '../testing/gtest.gyp:gtest', | 1541 '../testing/gtest.gyp:gtest', |
1509 ], | 1542 ], |
1510 'export_dependent_settings': [ | 1543 'export_dependent_settings': [ |
1511 '../base/base.gyp:base', | 1544 '../base/base.gyp:base', |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1561 'test/remote_test_server.h', | 1594 'test/remote_test_server.h', |
1562 'test/spawner_communicator.cc', | 1595 'test/spawner_communicator.cc', |
1563 'test/spawner_communicator.h', | 1596 'test/spawner_communicator.h', |
1564 'test/test_server.h', | 1597 'test/test_server.h', |
1565 'url_request/test_url_fetcher_factory.cc', | 1598 'url_request/test_url_fetcher_factory.cc', |
1566 'url_request/test_url_fetcher_factory.h', | 1599 'url_request/test_url_fetcher_factory.h', |
1567 'url_request/url_request_test_util.cc', | 1600 'url_request/url_request_test_util.cc', |
1568 'url_request/url_request_test_util.h', | 1601 'url_request/url_request_test_util.h', |
1569 ], | 1602 ], |
1570 'conditions': [ | 1603 'conditions': [ |
1571 ['inside_chromium_build==1', { | 1604 ['inside_chromium_build==1 and OS != "ios"', { |
1572 'dependencies': [ | 1605 'dependencies': [ |
1573 '../chrome/app/policy/cloud_policy_codegen.gyp:cloud_policy_proto_co mpile', | 1606 '../chrome/app/policy/cloud_policy_codegen.gyp:cloud_policy_proto_co mpile', |
1574 # The test server uses Python modules generated by the sync protos. | 1607 # The test server uses Python modules generated by the sync protos. |
1575 '../sync/protocol/sync_proto.gyp:sync_proto', | 1608 '../sync/protocol/sync_proto.gyp:sync_proto', |
1576 '../third_party/protobuf/protobuf.gyp:py_proto', | 1609 '../third_party/protobuf/protobuf.gyp:py_proto', |
1577 ], | 1610 ], |
1578 }], | 1611 }], |
1579 ['os_posix == 1 and OS != "mac" and OS != "android"', { | 1612 ['os_posix == 1 and OS != "mac" and OS != "android" and OS != "ios"', { |
1580 'conditions': [ | 1613 'conditions': [ |
1581 ['use_openssl==1', { | 1614 ['use_openssl==1', { |
1582 'dependencies': [ | 1615 'dependencies': [ |
1583 '../third_party/openssl/openssl.gyp:openssl', | 1616 '../third_party/openssl/openssl.gyp:openssl', |
1584 ], | 1617 ], |
1585 }, { | 1618 }, { |
1586 'dependencies': [ | 1619 'dependencies': [ |
1587 '../build/linux/system.gyp:ssl', | 1620 '../build/linux/system.gyp:ssl', |
1588 ], | 1621 ], |
1589 }], | 1622 }], |
1590 ], | 1623 ], |
1591 }], | 1624 }], |
1592 ['os_posix == 1 and OS != "mac" and OS != "android"', { | 1625 ['os_posix == 1 and OS != "mac" and OS != "android" and OS != "ios"', { |
1593 'conditions': [ | 1626 'conditions': [ |
1594 ['linux_use_tcmalloc==1', { | 1627 ['linux_use_tcmalloc==1', { |
1595 'dependencies': [ | 1628 'dependencies': [ |
1596 '../base/allocator/allocator.gyp:allocator', | 1629 '../base/allocator/allocator.gyp:allocator', |
1597 ], | 1630 ], |
1598 }], | 1631 }], |
1599 ], | 1632 ], |
1600 }], | 1633 }], |
1601 ['OS != "android"', { | 1634 ['OS != "android"', { |
1602 'sources!': [ | 1635 'sources!': [ |
(...skipping 16 matching lines...) Expand all Loading... | |
1619 'action_name': 'net_resources', | 1652 'action_name': 'net_resources', |
1620 'variables': { | 1653 'variables': { |
1621 'grit_grd_file': 'base/net_resources.grd', | 1654 'grit_grd_file': 'base/net_resources.grd', |
1622 }, | 1655 }, |
1623 'includes': [ '../build/grit_action.gypi' ], | 1656 'includes': [ '../build/grit_action.gypi' ], |
1624 }, | 1657 }, |
1625 ], | 1658 ], |
1626 'includes': [ '../build/grit_target.gypi' ], | 1659 'includes': [ '../build/grit_target.gypi' ], |
1627 }, | 1660 }, |
1628 { | 1661 { |
1629 'target_name': 'gdig', | |
1630 'type': 'executable', | |
1631 'dependencies': [ | |
1632 '../base/base.gyp:base', | |
1633 'net', | |
1634 ], | |
1635 'sources': [ | |
1636 'tools/gdig/file_net_log.cc', | |
1637 'tools/gdig/gdig.cc', | |
1638 ], | |
1639 }, | |
1640 { | |
1641 'target_name': 'fetch_client', | |
1642 'type': 'executable', | |
1643 'variables': { 'enable_wexit_time_destructors': 1, }, | |
1644 'dependencies': [ | |
1645 'net', | |
1646 '../base/base.gyp:base', | |
1647 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic _annotations', | |
1648 '../build/temp_gyp/googleurl.gyp:googleurl', | |
1649 '../testing/gtest.gyp:gtest', | |
1650 ], | |
1651 'sources': [ | |
1652 'tools/fetch/fetch_client.cc', | |
1653 ], | |
1654 }, | |
1655 { | |
1656 'target_name': 'fetch_server', | |
1657 'type': 'executable', | |
1658 'variables': { 'enable_wexit_time_destructors': 1, }, | |
1659 'dependencies': [ | |
1660 'net', | |
1661 '../base/base.gyp:base', | |
1662 '../build/temp_gyp/googleurl.gyp:googleurl', | |
1663 ], | |
1664 'sources': [ | |
1665 'tools/fetch/fetch_server.cc', | |
1666 'tools/fetch/http_listen_socket.cc', | |
1667 'tools/fetch/http_listen_socket.h', | |
1668 'tools/fetch/http_server.cc', | |
1669 'tools/fetch/http_server.h', | |
1670 'tools/fetch/http_server_request_info.cc', | |
1671 'tools/fetch/http_server_request_info.h', | |
1672 'tools/fetch/http_server_response_info.cc', | |
1673 'tools/fetch/http_server_response_info.h', | |
1674 'tools/fetch/http_session.cc', | |
1675 'tools/fetch/http_session.h', | |
1676 ], | |
1677 }, | |
1678 { | |
1679 'target_name': 'http_server', | 1662 'target_name': 'http_server', |
1680 'type': 'static_library', | 1663 'type': 'static_library', |
1681 'variables': { 'enable_wexit_time_destructors': 1, }, | 1664 'variables': { 'enable_wexit_time_destructors': 1, }, |
1682 'dependencies': [ | 1665 'dependencies': [ |
1683 'net', | 1666 'net', |
1684 '../base/base.gyp:base', | 1667 '../base/base.gyp:base', |
1685 ], | 1668 ], |
1686 'sources': [ | 1669 'sources': [ |
1687 'server/http_connection.cc', | 1670 'server/http_connection.cc', |
1688 'server/http_connection.h', | 1671 'server/http_connection.h', |
1689 'server/http_server.cc', | 1672 'server/http_server.cc', |
1690 'server/http_server.h', | 1673 'server/http_server.h', |
1691 'server/http_server_request_info.cc', | 1674 'server/http_server_request_info.cc', |
1692 'server/http_server_request_info.h', | 1675 'server/http_server_request_info.h', |
1693 'server/web_socket.cc', | 1676 'server/web_socket.cc', |
1694 'server/web_socket.h', | 1677 'server/web_socket.h', |
1695 ], | 1678 ], |
1696 }, | 1679 }, |
1697 { | |
1698 'target_name': 'dnssec_chain_verify', | |
1699 'type': 'executable', | |
1700 'dependencies': [ | |
1701 'net', | |
1702 '../base/base.gyp:base', | |
1703 ], | |
1704 'sources': [ | |
1705 'tools/dnssec_chain_verify/dnssec_chain_verify.cc', | |
1706 ], | |
1707 }, | |
1708 { | |
1709 'target_name': 'crl_set_dump', | |
1710 'type': 'executable', | |
1711 'dependencies': [ | |
1712 'net', | |
1713 '../base/base.gyp:base', | |
1714 ], | |
1715 'sources': [ | |
1716 'tools/crl_set_dump/crl_set_dump.cc', | |
1717 ], | |
1718 }, | |
1719 { | |
1720 'target_name': 'dns_fuzz_stub', | |
1721 'type': 'executable', | |
1722 'dependencies': [ | |
1723 'net', | |
1724 '../base/base.gyp:base', | |
1725 ], | |
1726 'sources': [ | |
1727 'tools/dns_fuzz_stub/dns_fuzz_stub.cc', | |
1728 ], | |
1729 }, | |
1730 { | |
1731 'target_name': 'net_watcher', | |
1732 'type': 'executable', | |
1733 'dependencies': [ | |
1734 'net', | |
1735 '../base/base.gyp:base', | |
1736 ], | |
1737 'sources': [ | |
1738 'tools/net_watcher/net_watcher.cc', | |
1739 ], | |
1740 }, | |
1741 ], | 1680 ], |
1742 'conditions': [ | 1681 'conditions': [ |
1682 ['OS != "ios"', { | |
Ryan Sleevi
2012/07/28 00:33:13
If iOS is going to continue to be a very, very min
stuartmorgan
2012/07/28 13:53:43
Since an "All" target gets generated for each proj
Ryan Sleevi
2012/07/29 09:01:25
My general concern is one of trying to be able to
| |
1683 'targets': [ | |
1684 # iOS doesn't have the concept of simple executables, those targets can' t | |
Ryan Sleevi
2012/07/28 00:33:13
nit: line wrapping
And is this an iOS limitation
stuartmorgan
2012/07/28 13:53:43
The fact that a command-line tool can't be build i
Ryan Sleevi
2012/07/29 09:01:25
The android port has addressed this via the <(gtes
| |
1685 # be compiled on the platform. | |
1686 { | |
1687 'target_name': 'dnssec_chain_verify', | |
1688 'type': 'executable', | |
1689 'dependencies': [ | |
1690 'net', | |
1691 '../base/base.gyp:base', | |
1692 ], | |
1693 'sources': [ | |
1694 'tools/dnssec_chain_verify/dnssec_chain_verify.cc', | |
1695 ], | |
1696 }, | |
1697 { | |
1698 'target_name': 'fetch_server', | |
1699 'type': 'executable', | |
1700 'variables': { 'enable_wexit_time_destructors': 1, }, | |
1701 'dependencies': [ | |
1702 'net', | |
1703 '../base/base.gyp:base', | |
1704 '../build/temp_gyp/googleurl.gyp:googleurl', | |
1705 ], | |
1706 'sources': [ | |
1707 'tools/fetch/fetch_server.cc', | |
1708 'tools/fetch/http_listen_socket.cc', | |
1709 'tools/fetch/http_listen_socket.h', | |
1710 'tools/fetch/http_server.cc', | |
1711 'tools/fetch/http_server.h', | |
1712 'tools/fetch/http_server_request_info.cc', | |
1713 'tools/fetch/http_server_request_info.h', | |
1714 'tools/fetch/http_server_response_info.cc', | |
1715 'tools/fetch/http_server_response_info.h', | |
1716 'tools/fetch/http_session.cc', | |
1717 'tools/fetch/http_session.h', | |
1718 ], | |
1719 }, | |
1720 { | |
1721 'target_name': 'gdig', | |
1722 'type': 'executable', | |
1723 'dependencies': [ | |
1724 '../base/base.gyp:base', | |
1725 'net', | |
1726 ], | |
1727 'sources': [ | |
1728 'tools/gdig/file_net_log.cc', | |
1729 'tools/gdig/gdig.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 { | |
1744 'target_name': 'crl_set_dump', | |
1745 'type': 'executable', | |
1746 'dependencies': [ | |
1747 'net', | |
1748 '../base/base.gyp:base', | |
1749 ], | |
1750 'sources': [ | |
1751 'tools/crl_set_dump/crl_set_dump.cc', | |
1752 ], | |
1753 }, | |
1754 { | |
1755 'target_name': 'tld_cleanup', | |
1756 'type': 'executable', | |
1757 'dependencies': [ | |
1758 '../base/base.gyp:base', | |
1759 '../base/base.gyp:base_i18n', | |
1760 '../build/temp_gyp/googleurl.gyp:googleurl', | |
1761 ], | |
1762 'sources': [ | |
1763 'tools/tld_cleanup/tld_cleanup.cc', | |
1764 ], | |
1765 }, | |
1766 { | |
1767 'target_name': 'dns_fuzz_stub', | |
1768 'type': 'executable', | |
1769 'dependencies': [ | |
1770 'net', | |
1771 '../base/base.gyp:base', | |
1772 ], | |
1773 'sources': [ | |
1774 'tools/dns_fuzz_stub/dns_fuzz_stub.cc', | |
1775 ], | |
1776 }, | |
1777 { | |
1778 'target_name': 'stress_cache', | |
1779 'type': 'executable', | |
1780 'dependencies': [ | |
1781 'net', | |
1782 'net_test_support', | |
1783 '../base/base.gyp:base', | |
1784 ], | |
1785 'sources': [ | |
1786 'disk_cache/stress_cache.cc', | |
1787 ], | |
1788 }, | |
1789 { | |
1790 'target_name': 'crash_cache', | |
1791 'type': 'executable', | |
1792 'dependencies': [ | |
1793 'net', | |
1794 'net_test_support', | |
1795 '../base/base.gyp:base', | |
1796 ], | |
1797 'sources': [ | |
1798 'tools/crash_cache/crash_cache.cc', | |
1799 ], | |
1800 }, | |
1801 { | |
1802 'target_name': 'run_testserver', | |
1803 'type': 'executable', | |
1804 'dependencies': [ | |
1805 'net', | |
1806 'net_test_support', | |
1807 '../base/base.gyp:base', | |
1808 '../build/temp_gyp/googleurl.gyp:googleurl', | |
1809 '../testing/gtest.gyp:gtest', | |
1810 ], | |
1811 'sources': [ | |
1812 'tools/testserver/run_testserver.cc', | |
1813 ], | |
1814 }, | |
1815 { | |
1816 'target_name': 'fetch_client', | |
1817 'type': 'executable', | |
1818 'variables': { 'enable_wexit_time_destructors': 1, }, | |
1819 'dependencies': [ | |
1820 'net', | |
1821 '../base/base.gyp:base', | |
1822 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dyn amic_annotations', | |
1823 '../build/temp_gyp/googleurl.gyp:googleurl', | |
1824 '../testing/gtest.gyp:gtest', | |
1825 ], | |
1826 'sources': [ | |
1827 'tools/fetch/fetch_client.cc', | |
1828 ], | |
1829 }, | |
1830 ], | |
1831 }], | |
1743 ['inside_chromium_build==1', { | 1832 ['inside_chromium_build==1', { |
1744 'targets': [ | 1833 'targets': [ |
1745 # This target depends on dependencies not fetched by WebKit's DEPS. | 1834 # This target depends on dependencies not fetched by WebKit's DEPS. |
1746 # In particular, ..\chrome\test\data and ..\third_party\python_26 on | 1835 # In particular, ..\chrome\test\data and ..\third_party\python_26 on |
1747 # Windows. | 1836 # Windows. |
1748 { | 1837 { |
1749 'target_name': 'net_unittests_run', | 1838 'target_name': 'net_unittests_run', |
1750 'type': 'none', | 1839 'type': 'none', |
1751 'dependencies': [ | 1840 'dependencies': [ |
1752 'net_unittests', | 1841 'net_unittests', |
(...skipping 19 matching lines...) Expand all Loading... | |
1772 '--variable', 'PRODUCT_DIR', '<(PRODUCT_DIR)', | 1861 '--variable', 'PRODUCT_DIR', '<(PRODUCT_DIR)', |
1773 '--variable', 'OS', '<(OS)', | 1862 '--variable', 'OS', '<(OS)', |
1774 '--result', '<@(_outputs)', | 1863 '--result', '<@(_outputs)', |
1775 '--isolate', 'net_unittests.isolate', | 1864 '--isolate', 'net_unittests.isolate', |
1776 ], | 1865 ], |
1777 }, | 1866 }, |
1778 ], | 1867 ], |
1779 }, | 1868 }, |
1780 ], | 1869 ], |
1781 }], | 1870 }], |
1782 ['os_posix == 1 and OS != "mac" and OS != "android"', { | 1871 ['os_posix == 1 and OS != "mac" and OS != "ios" and OS != "android"', { |
1783 'targets': [ | 1872 'targets': [ |
1784 { | 1873 { |
1785 'target_name': 'flip_in_mem_edsm_server', | 1874 'target_name': 'flip_in_mem_edsm_server', |
1786 'type': 'executable', | 1875 'type': 'executable', |
1787 'cflags': [ | 1876 'cflags': [ |
1788 '-Wno-deprecated', | 1877 '-Wno-deprecated', |
1789 ], | 1878 ], |
1790 'dependencies': [ | 1879 'dependencies': [ |
1791 '../base/base.gyp:base', | 1880 '../base/base.gyp:base', |
1792 'net', | 1881 'net', |
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1976 'tools/dump_cache/url_to_filename_encoder.cc', | 2065 'tools/dump_cache/url_to_filename_encoder.cc', |
1977 'tools/dump_cache/url_to_filename_encoder.h', | 2066 'tools/dump_cache/url_to_filename_encoder.h', |
1978 'tools/dump_cache/url_utilities.h', | 2067 'tools/dump_cache/url_utilities.h', |
1979 'tools/dump_cache/url_utilities.cc', | 2068 'tools/dump_cache/url_utilities.cc', |
1980 ], | 2069 ], |
1981 }, | 2070 }, |
1982 ], | 2071 ], |
1983 }], | 2072 }], |
1984 ], | 2073 ], |
1985 } | 2074 } |
OLD | NEW |