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

Side by Side Diff: net/net.gyp

Issue 10834051: Bringing up the net target on iOS. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 4 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
« no previous file with comments | « net/base/x509_cert_types.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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': [
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
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 # TODO(ios): This is temporary; currently almost nothing builds with
805 # OS=ios. Move dependencies back to the main dependencies section above
806 # as more is brought up for iOS.
stuartmorgan 2012/07/27 15:34:00 Move this in, and put v8 above it.
noyau (Ping after 24h) 2012/07/27 17:24:53 Done.
807 ['OS!="ios"', {
stuartmorgan 2012/07/27 15:34:00 Spaces around !=
noyau (Ping after 24h) 2012/07/27 17:24:53 Done.
808 'dependencies': [
809 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dyn amic_annotations',
810 '../crypto/crypto.gyp:crypto',
811 '../sdch/sdch.gyp:sdch',
812 '../v8/tools/gyp/v8.gyp:v8',
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
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/MobileCoreServices.framewo rk',
1061 '$(SDKROOT)/System/Library/Frameworks/CFNetwork.framework',
1062 '$(SDKROOT)/System/Library/Frameworks/SystemConfiguration.framew ork',
stuartmorgan 2012/07/27 15:34:00 Order
noyau (Ping after 24h) 2012/07/27 17:24:53 Done.
1063 '$(SDKROOT)/usr/lib/libresolv.dylib',
1064 ],
1065 },
1066 'sources/': [
1067 # Right now there is only a very limited subset of net compiled on
1068 # iOS, just enough to bring up the dependencies needed by the ui
1069 # target.
stuartmorgan 2012/07/27 15:34:00 Make this a TODO so it's clearer.
noyau (Ping after 24h) 2012/07/27 17:24:53 Done.
1070 ['exclude', '.*'],
1071 ['include', '^base/dns_util\\.cc$'],
stuartmorgan 2012/07/27 15:34:00 Change these all to \\.*'
noyau (Ping after 24h) 2012/07/27 17:24:53 Done.
1072 ['include', '^base/dns_util\\.h$'],
1073 ['include', '^base/escape\\.cc$'],
1074 ['include', '^base/escape\\.h$'],
1075 ['include', '^base/ip_endpoint\\.cc$'],
1076 ['include', '^base/ip_endpoint\\.h$'],
1077 ['include', '^base/mime_util\\.cc$'],
1078 ['include', '^base/mime_util\\.h$'],
1079 ['include', '^base/net_errors\\.cc$'],
1080 ['include', '^base/net_errors\\.h$'],
1081 ['include', '^base/net_errors_posix\\.cc$'],
1082 ['include', '^base/net_export\\.h$'],
1083 ['include', '^base/net_log\\.cc$'],
1084 ['include', '^base/net_log\\.h$'],
1085 ['include', '^base/net_module\\.cc$'],
1086 ['include', '^base/net_module\\.h$'],
1087 ['include', '^base/net_util\\.cc$'],
1088 ['include', '^base/net_util\\.h$'],
1089 ['include', '^base/net_util_posix\\.cc$'],
1090 ['include', '^base/platform_mime_util\\.h$'],
1091 ['include', '^base/registry_controlled_domains/registry_controlled _domain\\.h$'],
1092 ['include', '^base/registry_controlled_domains/registry_controlled _domain\\.cc$'],
1093 ['include', '^http/http_byte_range\\.h$'],
1094 ['include', '^http/http_byte_range\\.cc$'],
1095 ['include', '^http/http_content_disposition\\.h$'],
1096 ['include', '^http/http_content_disposition\\.cc$'],
1097 ['include', '^http/http_util\\.h$'],
1098 ['include', '^http/http_util\\.cc$'],
1099 ['include', '^http/http_version\\.h$'],
1100 ],
1101 },
1102 ],
1050 ], 1103 ],
1051 'target_conditions': [ 1104 'target_conditions': [
1052 ['OS == "android"', { 1105 ['OS == "android"', {
1053 'sources/': [ 1106 'sources/': [
1054 ['include', '^base/platform_mime_util_linux\\.cc$'], 1107 ['include', '^base/platform_mime_util_linux\\.cc$'],
1055 ], 1108 ],
1056 }], 1109 }],
1110 ['OS == "ios"', {
1111 'sources/': [
1112 ['include', 'base/platform_mime_util_mac\\.mm$'],
1113 ],
1114 }],
1057 ], 1115 ],
1058 }, 1116 },
1059 { 1117 {
1060 'target_name': 'net_unittests', 1118 'target_name': 'net_unittests',
1061 'type': '<(gtest_target_type)', 1119 'type': '<(gtest_target_type)',
1062 'dependencies': [ 1120 'dependencies': [
1063 'net', 1121 'net',
1064 'net_test_support', 1122 'net_test_support',
1065 '../base/base.gyp:base', 1123 '../base/base.gyp:base',
1066 '../base/base.gyp:base_i18n', 1124 '../base/base.gyp:base_i18n',
1067 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic _annotations', 1125 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic _annotations',
stuartmorgan 2012/07/27 15:34:00 Remove this too.
noyau (Ping after 24h) 2012/07/27 17:24:53 Done.
1068 '../build/temp_gyp/googleurl.gyp:googleurl', 1126 '../build/temp_gyp/googleurl.gyp:googleurl',
1069 '../crypto/crypto.gyp:crypto',
1070 '../testing/gmock.gyp:gmock', 1127 '../testing/gmock.gyp:gmock',
1071 '../testing/gtest.gyp:gtest', 1128 '../testing/gtest.gyp:gtest',
1072 '../third_party/zlib/zlib.gyp:zlib', 1129 '../third_party/zlib/zlib.gyp:zlib',
1073 ], 1130 ],
1074 'sources': [ 1131 'sources': [
1075 'base/address_list_unittest.cc', 1132 'base/address_list_unittest.cc',
1076 'base/address_tracker_linux_unittest.cc', 1133 'base/address_tracker_linux_unittest.cc',
1077 'base/backoff_entry_unittest.cc', 1134 'base/backoff_entry_unittest.cc',
1078 'base/big_endian_unittest.cc', 1135 'base/big_endian_unittest.cc',
1079 'base/cert_database_nss_unittest.cc', 1136 'base/cert_database_nss_unittest.cc',
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after
1300 'url_request/view_cache_helper_unittest.cc', 1357 'url_request/view_cache_helper_unittest.cc',
1301 'websockets/websocket_frame_parser_unittest.cc', 1358 'websockets/websocket_frame_parser_unittest.cc',
1302 'websockets/websocket_frame_unittest.cc', 1359 'websockets/websocket_frame_unittest.cc',
1303 'websockets/websocket_handshake_handler_unittest.cc', 1360 'websockets/websocket_handshake_handler_unittest.cc',
1304 'websockets/websocket_job_spdy2_unittest.cc', 1361 'websockets/websocket_job_spdy2_unittest.cc',
1305 'websockets/websocket_job_spdy3_unittest.cc', 1362 'websockets/websocket_job_spdy3_unittest.cc',
1306 'websockets/websocket_net_log_params_unittest.cc', 1363 'websockets/websocket_net_log_params_unittest.cc',
1307 'websockets/websocket_throttle_unittest.cc', 1364 'websockets/websocket_throttle_unittest.cc',
1308 ], 1365 ],
1309 'conditions': [ 1366 'conditions': [
1367 ['OS != "ios"', {
1368 'dependencies': [
1369 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dyn amic_annotations',
1370 '../crypto/crypto.gyp:crypto',
1371 ],
1372 }],
1310 ['chromeos==1', { 1373 ['chromeos==1', {
1311 'sources!': [ 1374 'sources!': [
1312 'base/network_change_notifier_linux_unittest.cc', 1375 'base/network_change_notifier_linux_unittest.cc',
1313 'proxy/proxy_config_service_linux_unittest.cc', 1376 'proxy/proxy_config_service_linux_unittest.cc',
1314 ], 1377 ],
1315 }], 1378 }],
1316 [ 'use_glib == 1', { 1379 [ 'use_glib == 1', {
1317 'dependencies': [ 1380 'dependencies': [
1318 '../build/linux/system.gyp:ssl', 1381 '../build/linux/system.gyp:ssl',
1319 ], 1382 ],
1320 }, { # else: OS is not in the above list 1383 }, { # else: OS is not in the above list
1321 'sources!': [ 1384 'sources!': [
1322 'base/cert_database_nss_unittest.cc', 1385 'base/cert_database_nss_unittest.cc',
1323 ], 1386 ],
1324 }, 1387 },
1325 ], 1388 ],
1326 [ 'toolkit_uses_gtk == 1', { 1389 [ 'toolkit_uses_gtk == 1', {
1327 'dependencies': [ 1390 'dependencies': [
1328 '../build/linux/system.gyp:gtk', 1391 '../build/linux/system.gyp:gtk',
1329 ], 1392 ],
1330 }, 1393 },
1331 ], 1394 ],
1332 [ 'os_posix == 1 and OS != "mac" and OS != "android"', { 1395 [ 'os_posix == 1 and OS != "mac" and OS != "android" and OS != "ios"', {
1333 'conditions': [ 1396 'conditions': [
1334 ['linux_use_tcmalloc==1', { 1397 ['linux_use_tcmalloc==1', {
1335 'dependencies': [ 1398 'dependencies': [
1336 '../base/allocator/allocator.gyp:allocator', 1399 '../base/allocator/allocator.gyp:allocator',
1337 ], 1400 ],
1338 }], 1401 }],
1339 ], 1402 ],
1340 }], 1403 }],
1341 [ 'use_kerberos==1', { 1404 [ 'use_kerberos==1', {
1342 'defines': [ 1405 'defines': [
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
1410 ], 1473 ],
1411 ['OS == "android" and gtest_target_type == "shared_library"', { 1474 ['OS == "android" and gtest_target_type == "shared_library"', {
1412 'dependencies': [ 1475 'dependencies': [
1413 '../testing/android/native_test.gyp:native_test_native_code', 1476 '../testing/android/native_test.gyp:native_test_native_code',
1414 ] 1477 ]
1415 }], 1478 }],
1416 [ 'OS != "win" and OS != "mac"', { 1479 [ 'OS != "win" and OS != "mac"', {
1417 'sources!': [ 1480 'sources!': [
1418 'base/x509_cert_types_unittest.cc', 1481 'base/x509_cert_types_unittest.cc',
1419 ], 1482 ],
1420 }] 1483 }],
1484 ['OS == "ios"', {
1485 'sources/': [
1486 ['exclude', '.*'],
stuartmorgan 2012/07/27 15:34:00 Put a TODO to make it obvious what's going on here
noyau (Ping after 24h) 2012/07/27 17:24:53 Added a TODO. In order for the tests to compile I
1487 ],
1488 }],
1421 ], 1489 ],
1422 }, 1490 },
1423 { 1491 {
1424 'target_name': 'net_perftests',
1425 'type': 'executable',
1426 'dependencies': [
1427 'net',
1428 'net_test_support',
1429 '../base/base.gyp:base',
1430 '../base/base.gyp:base_i18n',
1431 '../base/base.gyp:test_support_perf',
1432 '../build/temp_gyp/googleurl.gyp:googleurl',
1433 '../testing/gtest.gyp:gtest',
1434 ],
1435 'sources': [
1436 'cookies/cookie_monster_perftest.cc',
1437 'disk_cache/disk_cache_perftest.cc',
1438 'proxy/proxy_resolver_perftest.cc',
1439 ],
1440 'conditions': [
1441 # This is needed to trigger the dll copy step on windows.
1442 # TODO(mark): Specifying this here shouldn't be necessary.
1443 [ 'OS == "win"', {
1444 'dependencies': [
1445 '../third_party/icu/icu.gyp:icudata',
1446 ],
1447 },
1448 ],
1449 ],
1450 },
1451 {
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', 1492 'target_name': 'net_test_support',
1503 'type': 'static_library', 1493 'type': 'static_library',
1504 'dependencies': [ 1494 'dependencies': [
1505 'net', 1495 'net',
1506 '../base/base.gyp:base', 1496 '../base/base.gyp:base',
1507 '../base/base.gyp:test_support_base', 1497 '../base/base.gyp:test_support_base',
1508 '../testing/gtest.gyp:gtest', 1498 '../testing/gtest.gyp:gtest',
1509 ], 1499 ],
1510 'export_dependent_settings': [ 1500 'export_dependent_settings': [
1511 '../base/base.gyp:base', 1501 '../base/base.gyp:base',
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
1561 'test/remote_test_server.h', 1551 'test/remote_test_server.h',
1562 'test/spawner_communicator.cc', 1552 'test/spawner_communicator.cc',
1563 'test/spawner_communicator.h', 1553 'test/spawner_communicator.h',
1564 'test/test_server.h', 1554 'test/test_server.h',
1565 'url_request/test_url_fetcher_factory.cc', 1555 'url_request/test_url_fetcher_factory.cc',
1566 'url_request/test_url_fetcher_factory.h', 1556 'url_request/test_url_fetcher_factory.h',
1567 'url_request/url_request_test_util.cc', 1557 'url_request/url_request_test_util.cc',
1568 'url_request/url_request_test_util.h', 1558 'url_request/url_request_test_util.h',
1569 ], 1559 ],
1570 'conditions': [ 1560 'conditions': [
1571 ['inside_chromium_build==1', { 1561 ['inside_chromium_build==1 and OS != "ios"', {
1572 'dependencies': [ 1562 'dependencies': [
1573 '../chrome/app/policy/cloud_policy_codegen.gyp:cloud_policy_proto_co mpile', 1563 '../chrome/app/policy/cloud_policy_codegen.gyp:cloud_policy_proto_co mpile',
1574 # The test server uses Python modules generated by the sync protos. 1564 # The test server uses Python modules generated by the sync protos.
1575 '../sync/protocol/sync_proto.gyp:sync_proto', 1565 '../sync/protocol/sync_proto.gyp:sync_proto',
1576 '../third_party/protobuf/protobuf.gyp:py_proto', 1566 '../third_party/protobuf/protobuf.gyp:py_proto',
1577 ], 1567 ],
1578 }], 1568 }],
1579 ['os_posix == 1 and OS != "mac" and OS != "android"', { 1569 ['os_posix == 1 and OS != "mac" and OS != "android" and OS != "ios"', {
1580 'conditions': [ 1570 'conditions': [
1581 ['use_openssl==1', { 1571 ['use_openssl==1', {
1582 'dependencies': [ 1572 'dependencies': [
1583 '../third_party/openssl/openssl.gyp:openssl', 1573 '../third_party/openssl/openssl.gyp:openssl',
1584 ], 1574 ],
1585 }, { 1575 }, {
1586 'dependencies': [ 1576 'dependencies': [
1587 '../build/linux/system.gyp:ssl', 1577 '../build/linux/system.gyp:ssl',
1588 ], 1578 ],
1589 }], 1579 }],
1590 ], 1580 ],
1591 }], 1581 }],
1592 ['os_posix == 1 and OS != "mac" and OS != "android"', { 1582 ['os_posix == 1 and OS != "mac" and OS != "android" and OS != "ios"', {
1593 'conditions': [ 1583 'conditions': [
1594 ['linux_use_tcmalloc==1', { 1584 ['linux_use_tcmalloc==1', {
1595 'dependencies': [ 1585 'dependencies': [
1596 '../base/allocator/allocator.gyp:allocator', 1586 '../base/allocator/allocator.gyp:allocator',
1597 ], 1587 ],
1598 }], 1588 }],
1599 ], 1589 ],
1600 }], 1590 }],
1601 ['OS != "android"', { 1591 ['OS != "android"', {
1602 'sources!': [ 1592 'sources!': [
(...skipping 16 matching lines...) Expand all
1619 'action_name': 'net_resources', 1609 'action_name': 'net_resources',
1620 'variables': { 1610 'variables': {
1621 'grit_grd_file': 'base/net_resources.grd', 1611 'grit_grd_file': 'base/net_resources.grd',
1622 }, 1612 },
1623 'includes': [ '../build/grit_action.gypi' ], 1613 'includes': [ '../build/grit_action.gypi' ],
1624 }, 1614 },
1625 ], 1615 ],
1626 'includes': [ '../build/grit_target.gypi' ], 1616 'includes': [ '../build/grit_target.gypi' ],
1627 }, 1617 },
1628 { 1618 {
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', 1619 'target_name': 'http_server',
1680 'type': 'static_library', 1620 'type': 'static_library',
1681 'variables': { 'enable_wexit_time_destructors': 1, }, 1621 'variables': { 'enable_wexit_time_destructors': 1, },
1682 'dependencies': [ 1622 'dependencies': [
1683 'net', 1623 'net',
1684 '../base/base.gyp:base', 1624 '../base/base.gyp:base',
1685 ], 1625 ],
1686 'sources': [ 1626 'sources': [
1687 'server/http_connection.cc', 1627 'server/http_connection.cc',
1688 'server/http_connection.h', 1628 'server/http_connection.h',
1689 'server/http_server.cc', 1629 'server/http_server.cc',
1690 'server/http_server.h', 1630 'server/http_server.h',
1691 'server/http_server_request_info.cc', 1631 'server/http_server_request_info.cc',
1692 'server/http_server_request_info.h', 1632 'server/http_server_request_info.h',
1693 'server/web_socket.cc', 1633 'server/web_socket.cc',
1694 'server/web_socket.h', 1634 'server/web_socket.h',
1695 ], 1635 ],
1696 }, 1636 },
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 ], 1637 ],
1742 'conditions': [ 1638 'conditions': [
1639 ['OS != "ios"', {
1640 'targets': [
1641 # iOS doesn't have the concept of simple executables, those targets can' t
1642 # be compiled on the platform.
1643 {
1644 'target_name': 'dnssec_chain_verify',
1645 'type': 'executable',
1646 'dependencies': [
1647 'net',
1648 '../base/base.gyp:base',
1649 ],
1650 'sources': [
1651 'tools/dnssec_chain_verify/dnssec_chain_verify.cc',
1652 ],
1653 },
1654 {
1655 'target_name': 'fetch_server',
1656 'type': 'executable',
1657 'variables': { 'enable_wexit_time_destructors': 1, },
1658 'dependencies': [
1659 'net',
1660 '../base/base.gyp:base',
1661 '../build/temp_gyp/googleurl.gyp:googleurl',
1662 ],
1663 'sources': [
1664 'tools/fetch/fetch_server.cc',
1665 'tools/fetch/http_listen_socket.cc',
1666 'tools/fetch/http_listen_socket.h',
1667 'tools/fetch/http_server.cc',
1668 'tools/fetch/http_server.h',
1669 'tools/fetch/http_server_request_info.cc',
1670 'tools/fetch/http_server_request_info.h',
1671 'tools/fetch/http_server_response_info.cc',
1672 'tools/fetch/http_server_response_info.h',
1673 'tools/fetch/http_session.cc',
1674 'tools/fetch/http_session.h',
1675 ],
1676 },
1677 {
1678 'target_name': 'gdig',
1679 'type': 'executable',
1680 'dependencies': [
1681 '../base/base.gyp:base',
1682 'net',
1683 ],
1684 'sources': [
1685 'tools/gdig/file_net_log.cc',
1686 'tools/gdig/gdig.cc',
1687 ],
1688 },
1689 {
1690 'target_name': 'net_watcher',
1691 'type': 'executable',
1692 'dependencies': [
1693 'net',
1694 '../base/base.gyp:base',
1695 ],
1696 'sources': [
1697 'tools/net_watcher/net_watcher.cc',
1698 ],
1699 },
1700 {
1701 'target_name': 'crl_set_dump',
1702 'type': 'executable',
1703 'dependencies': [
1704 'net',
1705 '../base/base.gyp:base',
1706 ],
1707 'sources': [
1708 'tools/crl_set_dump/crl_set_dump.cc',
1709 ],
1710 },
1711 {
1712 'target_name': 'tld_cleanup',
1713 'type': 'executable',
1714 'dependencies': [
1715 '../base/base.gyp:base',
1716 '../base/base.gyp:base_i18n',
1717 '../build/temp_gyp/googleurl.gyp:googleurl',
1718 ],
1719 'sources': [
1720 'tools/tld_cleanup/tld_cleanup.cc',
1721 ],
1722 },
1723 {
1724 'target_name': 'dns_fuzz_stub',
1725 'type': 'executable',
1726 'dependencies': [
1727 'net',
1728 '../base/base.gyp:base',
1729 ],
1730 'sources': [
1731 'tools/dns_fuzz_stub/dns_fuzz_stub.cc',
1732 ],
1733 },
1734
1735 # TODO(ios): The target below could be compiled ont he platform, but
1736 # the code allwing them to run is not yet there.
stuartmorgan 2012/07/27 15:34:00 Typos (ont he, allwing) Put this back but remove
noyau (Ping after 24h) 2012/07/27 17:24:53 Done.
1737 {
1738 'target_name': 'net_perftests',
1739 'type': 'executable',
1740 'dependencies': [
1741 'net',
1742 'net_test_support',
1743 '../base/base.gyp:base',
1744 '../base/base.gyp:base_i18n',
1745 '../base/base.gyp:test_support_perf',
1746 '../build/temp_gyp/googleurl.gyp:googleurl',
1747 '../testing/gtest.gyp:gtest',
1748 ],
1749 'sources': [
1750 'cookies/cookie_monster_perftest.cc',
1751 'disk_cache/disk_cache_perftest.cc',
1752 'proxy/proxy_resolver_perftest.cc',
1753 ],
1754 'conditions': [
1755 # This is needed to trigger the dll copy step on windows.
1756 # TODO(mark): Specifying this here shouldn't be necessary.
1757 [ 'OS == "win"', {
1758 'dependencies': [
1759 '../third_party/icu/icu.gyp:icudata',
1760 ],
1761 },
1762 ],
1763 ['OS == "ios"', {
1764 'sources!': [
1765 # We do not support PAC scripts on iOS.
1766 'proxy/proxy_resolver_perftest.cc',
1767 ],
1768 }],
1769 ],
1770 },
1771 {
1772 'target_name': 'stress_cache',
1773 'type': 'executable',
1774 'dependencies': [
1775 'net',
1776 'net_test_support',
1777 '../base/base.gyp:base',
1778 ],
1779 'sources': [
1780 'disk_cache/stress_cache.cc',
1781 ],
1782 },
1783 {
1784 'target_name': 'crash_cache',
1785 'type': 'executable',
1786 'dependencies': [
1787 'net',
1788 'net_test_support',
1789 '../base/base.gyp:base',
1790 ],
1791 'sources': [
1792 'tools/crash_cache/crash_cache.cc',
1793 ],
1794 },
1795 {
1796 'target_name': 'run_testserver',
1797 'type': 'executable',
1798 'dependencies': [
1799 'net',
1800 'net_test_support',
1801 '../base/base.gyp:base',
1802 '../build/temp_gyp/googleurl.gyp:googleurl',
1803 '../testing/gtest.gyp:gtest',
1804 ],
1805 'sources': [
1806 'tools/testserver/run_testserver.cc',
1807 ],
1808 },
1809 {
1810 'target_name': 'fetch_client',
1811 'type': 'executable',
1812 'variables': { 'enable_wexit_time_destructors': 1, },
1813 'dependencies': [
1814 'net',
1815 '../base/base.gyp:base',
1816 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dyn amic_annotations',
1817 '../build/temp_gyp/googleurl.gyp:googleurl',
1818 '../testing/gtest.gyp:gtest',
1819 ],
1820 'sources': [
1821 'tools/fetch/fetch_client.cc',
1822 ],
1823 },
1824 ],
1825 }],
1743 ['inside_chromium_build==1', { 1826 ['inside_chromium_build==1', {
1744 'targets': [ 1827 'targets': [
1745 # This target depends on dependencies not fetched by WebKit's DEPS. 1828 # This target depends on dependencies not fetched by WebKit's DEPS.
1746 # In particular, ..\chrome\test\data and ..\third_party\python_26 on 1829 # In particular, ..\chrome\test\data and ..\third_party\python_26 on
1747 # Windows. 1830 # Windows.
1748 { 1831 {
1749 'target_name': 'net_unittests_run', 1832 'target_name': 'net_unittests_run',
1750 'type': 'none', 1833 'type': 'none',
1751 'dependencies': [ 1834 'dependencies': [
1752 'net_unittests', 1835 'net_unittests',
(...skipping 19 matching lines...) Expand all
1772 '--variable', 'PRODUCT_DIR', '<(PRODUCT_DIR)', 1855 '--variable', 'PRODUCT_DIR', '<(PRODUCT_DIR)',
1773 '--variable', 'OS', '<(OS)', 1856 '--variable', 'OS', '<(OS)',
1774 '--result', '<@(_outputs)', 1857 '--result', '<@(_outputs)',
1775 '--isolate', 'net_unittests.isolate', 1858 '--isolate', 'net_unittests.isolate',
1776 ], 1859 ],
1777 }, 1860 },
1778 ], 1861 ],
1779 }, 1862 },
1780 ], 1863 ],
1781 }], 1864 }],
1782 ['os_posix == 1 and OS != "mac" and OS != "android"', { 1865 ['os_posix == 1 and OS != "mac" and OS != "ios" and OS != "android"', {
1783 'targets': [ 1866 'targets': [
1784 { 1867 {
1785 'target_name': 'flip_in_mem_edsm_server', 1868 'target_name': 'flip_in_mem_edsm_server',
1786 'type': 'executable', 1869 'type': 'executable',
1787 'cflags': [ 1870 'cflags': [
1788 '-Wno-deprecated', 1871 '-Wno-deprecated',
1789 ], 1872 ],
1790 'dependencies': [ 1873 'dependencies': [
1791 '../base/base.gyp:base', 1874 '../base/base.gyp:base',
1792 'net', 1875 'net',
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
1976 'tools/dump_cache/url_to_filename_encoder.cc', 2059 'tools/dump_cache/url_to_filename_encoder.cc',
1977 'tools/dump_cache/url_to_filename_encoder.h', 2060 'tools/dump_cache/url_to_filename_encoder.h',
1978 'tools/dump_cache/url_utilities.h', 2061 'tools/dump_cache/url_utilities.h',
1979 'tools/dump_cache/url_utilities.cc', 2062 'tools/dump_cache/url_utilities.cc',
1980 ], 2063 ],
1981 }, 2064 },
1982 ], 2065 ],
1983 }], 2066 }],
1984 ], 2067 ],
1985 } 2068 }
OLDNEW
« no previous file with comments | « net/base/x509_cert_types.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698