Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2011 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', { | 11 ['chromeos==1 or OS=="android"', { |
| 12 # Disable Kerberos on ChromeOS, at least for now. | 12 # Disable Kerberos on ChromeOS and Android, 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 ], | 18 ], |
| 19 }, | 19 }, |
| 20 'includes': [ | 20 'includes': [ |
| 21 '../build/win_precompile.gypi', | 21 '../build/win_precompile.gypi', |
| 22 ], | 22 ], |
| 23 'targets': [ | 23 'targets': [ |
| 24 { | 24 { |
| 25 'target_name': 'net', | 25 'target_name': 'net', |
| 26 'type': '<(component)', | 26 'type': '<(component)', |
| 27 'dependencies': [ | 27 'dependencies': [ |
| 28 '../base/base.gyp:base', | 28 '../base/base.gyp:base', |
| 29 '../base/base.gyp:base_i18n', | 29 '../base/base.gyp:base_i18n', |
| 30 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic _annotations', | 30 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic _annotations', |
| 31 '../build/temp_gyp/googleurl.gyp:googleurl', | 31 '../build/temp_gyp/googleurl.gyp:googleurl', |
| 32 '../crypto/crypto.gyp:crypto', | 32 '../crypto/crypto.gyp:crypto', |
| 33 '../sdch/sdch.gyp:sdch', | 33 '../sdch/sdch.gyp:sdch', |
| 34 '../third_party/icu/icu.gyp:icui18n', | 34 '../third_party/icu/icu.gyp:icui18n', |
| 35 '../third_party/icu/icu.gyp:icuuc', | 35 '../third_party/icu/icu.gyp:icuuc', |
| 36 '../third_party/zlib/zlib.gyp:zlib', | 36 '../third_party/zlib/zlib.gyp:zlib', |
| 37 '../v8/tools/gyp/v8.gyp:v8', | 37 '../v8/tools/gyp/v8.gyp:v8', |
| 38 'net_resources', | 38 'net_resources', |
| 39 'ssl_false_start_blacklist_process#host', | 39 'ssl_false_start_blacklist_process#host', |
| 40 ], | 40 ], |
| 41 'sources': [ | 41 'sources': [ |
| 42 'android/network_library.cc', | |
| 43 'android/network_library.h', | |
| 42 'base/address_family.h', | 44 'base/address_family.h', |
| 43 'base/address_list.cc', | 45 'base/address_list.cc', |
| 44 'base/address_list.h', | 46 'base/address_list.h', |
| 45 'base/address_list_net_log_param.cc', | 47 'base/address_list_net_log_param.cc', |
| 46 'base/address_list_net_log_param.h', | 48 'base/address_list_net_log_param.h', |
| 47 'base/asn1_util.cc', | 49 'base/asn1_util.cc', |
| 48 'base/asn1_util.h', | 50 'base/asn1_util.h', |
| 49 'base/auth.cc', | 51 'base/auth.cc', |
| 50 'base/auth.h', | 52 'base/auth.h', |
| 51 'base/backoff_entry.cc', | 53 'base/backoff_entry.cc', |
| (...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 175 'base/network_change_notifier_win.cc', | 177 'base/network_change_notifier_win.cc', |
| 176 'base/network_change_notifier_win.h', | 178 'base/network_change_notifier_win.h', |
| 177 'base/network_config_watcher_mac.cc', | 179 'base/network_config_watcher_mac.cc', |
| 178 'base/network_config_watcher_mac.h', | 180 'base/network_config_watcher_mac.h', |
| 179 'base/network_delegate.cc', | 181 'base/network_delegate.cc', |
| 180 'base/network_delegate.h', | 182 'base/network_delegate.h', |
| 181 'base/nss_memio.c', | 183 'base/nss_memio.c', |
| 182 'base/nss_memio.h', | 184 'base/nss_memio.h', |
| 183 'base/openssl_memory_private_key_store.cc', | 185 'base/openssl_memory_private_key_store.cc', |
| 184 'base/openssl_private_key_store.h', | 186 'base/openssl_private_key_store.h', |
| 187 'base/openssl_private_key_store_android.cc', | |
| 185 'base/origin_bound_cert_service.cc', | 188 'base/origin_bound_cert_service.cc', |
| 186 'base/origin_bound_cert_service.h', | 189 'base/origin_bound_cert_service.h', |
| 187 'base/origin_bound_cert_store.h', | 190 'base/origin_bound_cert_store.h', |
| 188 'base/pem_tokenizer.cc', | 191 'base/pem_tokenizer.cc', |
| 189 'base/pem_tokenizer.h', | 192 'base/pem_tokenizer.h', |
| 190 'base/platform_mime_util.h', | 193 'base/platform_mime_util.h', |
| 191 # TODO(tc): gnome-vfs? xdgmime? /etc/mime.types? | 194 # TODO(tc): gnome-vfs? xdgmime? /etc/mime.types? |
| 192 'base/platform_mime_util_linux.cc', | 195 'base/platform_mime_util_linux.cc', |
| 193 'base/platform_mime_util_mac.cc', | 196 'base/platform_mime_util_mac.cc', |
| 194 'base/platform_mime_util_win.cc', | 197 'base/platform_mime_util_win.cc', |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 238 'base/winsock_util.cc', | 241 'base/winsock_util.cc', |
| 239 'base/winsock_util.h', | 242 'base/winsock_util.h', |
| 240 'base/x509_cert_types.cc', | 243 'base/x509_cert_types.cc', |
| 241 'base/x509_cert_types.h', | 244 'base/x509_cert_types.h', |
| 242 'base/x509_cert_types_mac.cc', | 245 'base/x509_cert_types_mac.cc', |
| 243 'base/x509_certificate.cc', | 246 'base/x509_certificate.cc', |
| 244 'base/x509_certificate.h', | 247 'base/x509_certificate.h', |
| 245 'base/x509_certificate_mac.cc', | 248 'base/x509_certificate_mac.cc', |
| 246 'base/x509_certificate_nss.cc', | 249 'base/x509_certificate_nss.cc', |
| 247 'base/x509_certificate_openssl.cc', | 250 'base/x509_certificate_openssl.cc', |
| 251 'base/x509_certificate_openssl_android.cc', | |
| 248 'base/x509_certificate_win.cc', | 252 'base/x509_certificate_win.cc', |
| 249 'base/x509_util.h', | 253 'base/x509_util.h', |
| 250 'base/x509_util_nss.cc', | 254 'base/x509_util_nss.cc', |
| 251 'base/x509_util_nss.h', | 255 'base/x509_util_nss.h', |
| 252 'base/x509_util_openssl.cc', | 256 'base/x509_util_openssl.cc', |
| 253 'base/x509_util_openssl.h', | 257 'base/x509_util_openssl.h', |
| 254 'base/zap.cc', | 258 'base/zap.cc', |
| 255 'base/zap.h', | 259 'base/zap.h', |
| 256 'disk_cache/addr.cc', | 260 'disk_cache/addr.cc', |
| 257 'disk_cache/addr.h', | 261 'disk_cache/addr.h', |
| (...skipping 661 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 919 '$(SDKROOT)/usr/lib/libresolv.dylib', | 923 '$(SDKROOT)/usr/lib/libresolv.dylib', |
| 920 ] | 924 ] |
| 921 }, | 925 }, |
| 922 }, | 926 }, |
| 923 ], | 927 ], |
| 924 [ 'OS == "android"', { | 928 [ 'OS == "android"', { |
| 925 'defines': [ | 929 'defines': [ |
| 926 # Android can shut down our app at any time, so we persist session cookies. | 930 # Android can shut down our app at any time, so we persist session cookies. |
| 927 'ENABLE_PERSISTENT_SESSION_COOKIES' | 931 'ENABLE_PERSISTENT_SESSION_COOKIES' |
| 928 ], | 932 ], |
| 933 'dependencies': [ | |
| 934 '../build/android/system.gyp:ssl', | |
| 935 ], | |
| 936 'sources/': [ | |
| 937 ['exclude', '^dns/dns_config_service_posix.cc'], | |
| 938 # TODO(jingzhao): The below files are excluded because of the | |
| 939 # missing JNI, add them back when JNI is ready. | |
| 940 ['exclude', '^android/'], | |
| 941 ], | |
| 929 }, { # else OS! = "android" | 942 }, { # else OS! = "android" |
| 930 'defines': [ | 943 'defines': [ |
| 931 # These are the features Android doesn't support. | 944 # These are the features Android doesn't support. |
| 932 'ENABLE_MEDIA_CODEC_THEORA', | 945 'ENABLE_MEDIA_CODEC_THEORA', |
| 933 'ENABLE_MEDIA_TYPE_OGG', | 946 'ENABLE_MEDIA_TYPE_OGG', |
| 934 ], | 947 ], |
| 935 }, | 948 }, |
| 936 ], | 949 ], |
| 937 ], | 950 ], |
| 951 'target_conditions': [ | |
| 952 ['OS == "android"', { | |
| 953 'sources/': [ | |
| 954 ['include', '^base/platform_mime_util_linux.cc'], | |
|
John Grabowski
2011/11/01 23:09:34
'^base/platform_mime_util_linux\\.cc$'
Jing Zhao
2011/11/02 16:22:55
Done.
| |
| 955 ], | |
| 956 }], | |
| 957 ], | |
| 938 }, | 958 }, |
| 939 { | 959 { |
| 940 'target_name': 'net_unittests', | 960 'target_name': 'net_unittests', |
| 941 'type': 'executable', | 961 'type': 'executable', |
| 942 'dependencies': [ | 962 'dependencies': [ |
| 943 'net', | 963 'net', |
| 944 'net_test_support', | 964 'net_test_support', |
| 945 '../base/base.gyp:base', | 965 '../base/base.gyp:base', |
| 946 '../base/base.gyp:base_i18n', | 966 '../base/base.gyp:base_i18n', |
| 947 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic _annotations', | 967 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic _annotations', |
| (...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1154 'base/cert_database_nss_unittest.cc', | 1174 'base/cert_database_nss_unittest.cc', |
| 1155 ], | 1175 ], |
| 1156 }, | 1176 }, |
| 1157 ], | 1177 ], |
| 1158 [ 'toolkit_uses_gtk == 1', { | 1178 [ 'toolkit_uses_gtk == 1', { |
| 1159 'dependencies': [ | 1179 'dependencies': [ |
| 1160 '../build/linux/system.gyp:gtk', | 1180 '../build/linux/system.gyp:gtk', |
| 1161 ], | 1181 ], |
| 1162 }, | 1182 }, |
| 1163 ], | 1183 ], |
| 1164 [ 'os_posix == 1 and OS != "mac"', { | 1184 [ 'os_posix == 1 and OS != "mac" and OS != "android"', { |
| 1165 'conditions': [ | 1185 'conditions': [ |
| 1166 ['linux_use_tcmalloc==1', { | 1186 ['linux_use_tcmalloc==1', { |
| 1167 'dependencies': [ | 1187 'dependencies': [ |
| 1168 '../base/allocator/allocator.gyp:allocator', | 1188 '../base/allocator/allocator.gyp:allocator', |
| 1169 ], | 1189 ], |
| 1170 }], | 1190 }], |
| 1171 ], | 1191 ], |
| 1172 }], | 1192 }], |
| 1173 [ 'use_kerberos==1', { | 1193 [ 'use_kerberos==1', { |
| 1174 'defines': [ | 1194 'defines': [ |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1213 }, | 1233 }, |
| 1214 ], | 1234 ], |
| 1215 [ 'OS == "mac"', { | 1235 [ 'OS == "mac"', { |
| 1216 'dependencies': [ | 1236 'dependencies': [ |
| 1217 '../third_party/nss/nss.gyp:nspr', | 1237 '../third_party/nss/nss.gyp:nspr', |
| 1218 '../third_party/nss/nss.gyp:nss', | 1238 '../third_party/nss/nss.gyp:nss', |
| 1219 'third_party/nss/ssl.gyp:ssl', | 1239 'third_party/nss/ssl.gyp:ssl', |
| 1220 ], | 1240 ], |
| 1221 }, | 1241 }, |
| 1222 ], | 1242 ], |
| 1243 [ 'OS == "android"', { | |
| 1244 'dependencies': [ | |
| 1245 '../build/android/system.gyp:ssl', | |
| 1246 ], | |
| 1247 'sources/': [ | |
|
John Grabowski
2011/11/01 23:09:34
'sources!': [ .. then no regexp ]
Jing Zhao
2011/11/02 16:22:55
Done.
| |
| 1248 ['exclude', '^dns/dns_config_service_posix_unittest.cc'], | |
| 1249 ['exclude', '^dns/dns_config_service_unittest.cc'], | |
| 1250 ], | |
| 1251 }, | |
| 1252 ], | |
| 1223 ], | 1253 ], |
| 1224 }, | 1254 }, |
| 1225 { | 1255 { |
| 1226 'target_name': 'net_perftests', | 1256 'target_name': 'net_perftests', |
| 1227 'type': 'executable', | 1257 'type': 'executable', |
| 1228 'dependencies': [ | 1258 'dependencies': [ |
| 1229 'net', | 1259 'net', |
| 1230 'net_test_support', | 1260 'net_test_support', |
| 1231 '../base/base.gyp:base', | 1261 '../base/base.gyp:base', |
| 1232 '../base/base.gyp:base_i18n', | 1262 '../base/base.gyp:base_i18n', |
| (...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1349 ], | 1379 ], |
| 1350 'conditions': [ | 1380 'conditions': [ |
| 1351 ['inside_chromium_build==1', { | 1381 ['inside_chromium_build==1', { |
| 1352 'dependencies': [ | 1382 'dependencies': [ |
| 1353 '../chrome/app/policy/cloud_policy_codegen.gyp:cloud_policy_proto_co mpile', | 1383 '../chrome/app/policy/cloud_policy_codegen.gyp:cloud_policy_proto_co mpile', |
| 1354 # The test server uses Python modules generated by the sync protos. | 1384 # The test server uses Python modules generated by the sync protos. |
| 1355 '../chrome/browser/sync/protocol/sync_proto.gyp:sync_proto', | 1385 '../chrome/browser/sync/protocol/sync_proto.gyp:sync_proto', |
| 1356 '../third_party/protobuf/protobuf.gyp:py_proto', | 1386 '../third_party/protobuf/protobuf.gyp:py_proto', |
| 1357 ], | 1387 ], |
| 1358 }], | 1388 }], |
| 1359 ['os_posix == 1 and OS != "mac"', { | 1389 ['os_posix == 1 and OS != "mac" and OS != "android"', { |
| 1360 'conditions': [ | 1390 'conditions': [ |
| 1361 ['use_openssl==1', { | 1391 ['use_openssl==1', { |
| 1362 'dependencies': [ | 1392 'dependencies': [ |
| 1363 '../third_party/openssl/openssl.gyp:openssl', | 1393 '../third_party/openssl/openssl.gyp:openssl', |
| 1364 ], | 1394 ], |
| 1365 }, { | 1395 }, { |
| 1366 'dependencies': [ | 1396 'dependencies': [ |
| 1367 '../build/linux/system.gyp:ssl', | 1397 '../build/linux/system.gyp:ssl', |
| 1368 ], | 1398 ], |
| 1369 }], | 1399 }], |
| 1370 ], | 1400 ], |
| 1371 }], | 1401 }], |
| 1372 ['os_posix == 1 and OS != "mac"', { | 1402 ['os_posix == 1 and OS != "mac" and OS != "android"', { |
| 1373 'conditions': [ | 1403 'conditions': [ |
| 1374 ['linux_use_tcmalloc==1', { | 1404 ['linux_use_tcmalloc==1', { |
| 1375 'dependencies': [ | 1405 'dependencies': [ |
| 1376 '../base/allocator/allocator.gyp:allocator', | 1406 '../base/allocator/allocator.gyp:allocator', |
| 1377 ], | 1407 ], |
| 1378 }], | 1408 }], |
| 1379 ], | 1409 ], |
| 1380 }], | 1410 }], |
| 1411 ['OS == "android"', { | |
| 1412 'dependencies': [ | |
| 1413 '../build/android/system.gyp:ssl', | |
| 1414 ], | |
| 1415 'export_dependent_settings': [ | |
| 1416 '../base/base.gyp:test_support_base', | |
| 1417 ], | |
| 1418 }], | |
| 1381 ], | 1419 ], |
| 1382 }, | 1420 }, |
| 1383 { | 1421 { |
| 1384 'target_name': 'net_resources', | 1422 'target_name': 'net_resources', |
| 1385 'type': 'none', | 1423 'type': 'none', |
| 1386 'variables': { | 1424 'variables': { |
| 1387 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/net', | 1425 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/net', |
| 1388 }, | 1426 }, |
| 1389 'actions': [ | 1427 'actions': [ |
| 1390 { | 1428 { |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1475 'include_dirs': [ | 1513 'include_dirs': [ |
| 1476 '..', | 1514 '..', |
| 1477 ], | 1515 ], |
| 1478 'sources': [ | 1516 'sources': [ |
| 1479 'base/ssl_false_start_blacklist_process.cc', | 1517 'base/ssl_false_start_blacklist_process.cc', |
| 1480 'base/ssl_false_start_blacklist.h', | 1518 'base/ssl_false_start_blacklist.h', |
| 1481 ], | 1519 ], |
| 1482 }, | 1520 }, |
| 1483 ], | 1521 ], |
| 1484 'conditions': [ | 1522 'conditions': [ |
| 1485 ['os_posix == 1 and OS != "mac"', { | 1523 ['os_posix == 1 and OS != "mac" and OS != "android"', { |
| 1486 'targets': [ | 1524 'targets': [ |
| 1487 { | 1525 { |
| 1488 'target_name': 'flip_in_mem_edsm_server', | 1526 'target_name': 'flip_in_mem_edsm_server', |
| 1489 'type': 'executable', | 1527 'type': 'executable', |
| 1490 'cflags': [ | 1528 'cflags': [ |
| 1491 '-Wno-deprecated', | 1529 '-Wno-deprecated', |
| 1492 ], | 1530 ], |
| 1493 'dependencies': [ | 1531 'dependencies': [ |
| 1494 '../base/base.gyp:base', | 1532 '../base/base.gyp:base', |
| 1495 'net', | 1533 'net', |
| (...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1624 'tools/dump_cache/url_to_filename_encoder.cc', | 1662 'tools/dump_cache/url_to_filename_encoder.cc', |
| 1625 'tools/dump_cache/url_to_filename_encoder.h', | 1663 'tools/dump_cache/url_to_filename_encoder.h', |
| 1626 'tools/dump_cache/url_utilities.h', | 1664 'tools/dump_cache/url_utilities.h', |
| 1627 'tools/dump_cache/url_utilities.cc', | 1665 'tools/dump_cache/url_utilities.cc', |
| 1628 ], | 1666 ], |
| 1629 }, | 1667 }, |
| 1630 ], | 1668 ], |
| 1631 }], | 1669 }], |
| 1632 ], | 1670 ], |
| 1633 } | 1671 } |
| OLD | NEW |