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

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