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 ], |
(...skipping 10 matching lines...) Expand all Loading... |
33 '../crypto/crypto.gyp:crypto', | 33 '../crypto/crypto.gyp:crypto', |
34 '../sdch/sdch.gyp:sdch', | 34 '../sdch/sdch.gyp:sdch', |
35 '../third_party/icu/icu.gyp:icui18n', | 35 '../third_party/icu/icu.gyp:icui18n', |
36 '../third_party/icu/icu.gyp:icuuc', | 36 '../third_party/icu/icu.gyp:icuuc', |
37 '../third_party/zlib/zlib.gyp:zlib', | 37 '../third_party/zlib/zlib.gyp:zlib', |
38 '../v8/tools/gyp/v8.gyp:v8', | 38 '../v8/tools/gyp/v8.gyp:v8', |
39 'net_resources', | 39 'net_resources', |
40 'ssl_false_start_blacklist_process#host', | 40 'ssl_false_start_blacklist_process#host', |
41 ], | 41 ], |
42 'sources': [ | 42 'sources': [ |
| 43 'android/network_library.cc', |
| 44 'android/network_library.h', |
43 'base/address_family.h', | 45 'base/address_family.h', |
44 'base/address_list.cc', | 46 'base/address_list.cc', |
45 'base/address_list.h', | 47 'base/address_list.h', |
46 'base/address_list_net_log_param.cc', | 48 'base/address_list_net_log_param.cc', |
47 'base/address_list_net_log_param.h', | 49 'base/address_list_net_log_param.h', |
48 'base/asn1_util.cc', | 50 'base/asn1_util.cc', |
49 'base/asn1_util.h', | 51 'base/asn1_util.h', |
50 'base/auth.cc', | 52 'base/auth.cc', |
51 'base/auth.h', | 53 'base/auth.h', |
52 'base/backoff_entry.cc', | 54 'base/backoff_entry.cc', |
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
176 'base/network_change_notifier_win.cc', | 178 'base/network_change_notifier_win.cc', |
177 'base/network_change_notifier_win.h', | 179 'base/network_change_notifier_win.h', |
178 'base/network_config_watcher_mac.cc', | 180 'base/network_config_watcher_mac.cc', |
179 'base/network_config_watcher_mac.h', | 181 'base/network_config_watcher_mac.h', |
180 'base/network_delegate.cc', | 182 'base/network_delegate.cc', |
181 'base/network_delegate.h', | 183 'base/network_delegate.h', |
182 'base/nss_memio.c', | 184 'base/nss_memio.c', |
183 'base/nss_memio.h', | 185 'base/nss_memio.h', |
184 'base/openssl_memory_private_key_store.cc', | 186 'base/openssl_memory_private_key_store.cc', |
185 'base/openssl_private_key_store.h', | 187 'base/openssl_private_key_store.h', |
| 188 'base/openssl_private_key_store_android.cc', |
186 'base/origin_bound_cert_service.cc', | 189 'base/origin_bound_cert_service.cc', |
187 'base/origin_bound_cert_service.h', | 190 'base/origin_bound_cert_service.h', |
188 'base/origin_bound_cert_store.h', | 191 'base/origin_bound_cert_store.h', |
189 'base/pem_tokenizer.cc', | 192 'base/pem_tokenizer.cc', |
190 'base/pem_tokenizer.h', | 193 'base/pem_tokenizer.h', |
191 'base/platform_mime_util.h', | 194 'base/platform_mime_util.h', |
192 # TODO(tc): gnome-vfs? xdgmime? /etc/mime.types? | 195 # TODO(tc): gnome-vfs? xdgmime? /etc/mime.types? |
193 'base/platform_mime_util_linux.cc', | 196 'base/platform_mime_util_linux.cc', |
194 'base/platform_mime_util_mac.cc', | 197 'base/platform_mime_util_mac.cc', |
195 'base/platform_mime_util_win.cc', | 198 'base/platform_mime_util_win.cc', |
(...skipping 727 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
923 '$(SDKROOT)/usr/lib/libresolv.dylib', | 926 '$(SDKROOT)/usr/lib/libresolv.dylib', |
924 ] | 927 ] |
925 }, | 928 }, |
926 }, | 929 }, |
927 ], | 930 ], |
928 [ 'OS == "android"', { | 931 [ 'OS == "android"', { |
929 'defines': [ | 932 'defines': [ |
930 # Android can shut down our app at any time, so we persist session
cookies. | 933 # Android can shut down our app at any time, so we persist session
cookies. |
931 'ENABLE_PERSISTENT_SESSION_COOKIES' | 934 'ENABLE_PERSISTENT_SESSION_COOKIES' |
932 ], | 935 ], |
| 936 'dependencies': [ |
| 937 '../build/android/system.gyp:ssl', |
| 938 ], |
| 939 'sources/': [ |
| 940 # TODO(jingzhao): The below files are excluded because of the |
| 941 # missing JNI, add them back when JNI is ready. |
| 942 ['exclude', '^android/'], |
| 943 ], |
933 }, { # else OS! = "android" | 944 }, { # else OS! = "android" |
934 'defines': [ | 945 'defines': [ |
935 # These are the features Android doesn't support. | 946 # These are the features Android doesn't support. |
936 'ENABLE_MEDIA_CODEC_THEORA', | 947 'ENABLE_MEDIA_CODEC_THEORA', |
937 'ENABLE_MEDIA_TYPE_OGG', | 948 'ENABLE_MEDIA_TYPE_OGG', |
938 ], | 949 ], |
939 }, | 950 }, |
940 ], | 951 ], |
941 ], | 952 ], |
| 953 'target_conditions': [ |
| 954 ['OS == "android"', { |
| 955 'sources/': [ |
| 956 ['include', '^base/platform_mime_util_linux\\.cc$'], |
| 957 ], |
| 958 }], |
| 959 ], |
942 }, | 960 }, |
943 { | 961 { |
944 'target_name': 'net_unittests', | 962 'target_name': 'net_unittests', |
945 'type': 'executable', | 963 'type': 'executable', |
946 'dependencies': [ | 964 'dependencies': [ |
947 'net', | 965 'net', |
948 'net_test_support', | 966 'net_test_support', |
949 '../base/base.gyp:base', | 967 '../base/base.gyp:base', |
950 '../base/base.gyp:base_i18n', | 968 '../base/base.gyp:base_i18n', |
951 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', | 969 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', |
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1159 'base/cert_database_nss_unittest.cc', | 1177 'base/cert_database_nss_unittest.cc', |
1160 ], | 1178 ], |
1161 }, | 1179 }, |
1162 ], | 1180 ], |
1163 [ 'toolkit_uses_gtk == 1', { | 1181 [ 'toolkit_uses_gtk == 1', { |
1164 'dependencies': [ | 1182 'dependencies': [ |
1165 '../build/linux/system.gyp:gtk', | 1183 '../build/linux/system.gyp:gtk', |
1166 ], | 1184 ], |
1167 }, | 1185 }, |
1168 ], | 1186 ], |
1169 [ 'os_posix == 1 and OS != "mac"', { | 1187 [ 'os_posix == 1 and OS != "mac" and OS != "android"', { |
1170 'conditions': [ | 1188 'conditions': [ |
1171 ['linux_use_tcmalloc==1', { | 1189 ['linux_use_tcmalloc==1', { |
1172 'dependencies': [ | 1190 'dependencies': [ |
1173 '../base/allocator/allocator.gyp:allocator', | 1191 '../base/allocator/allocator.gyp:allocator', |
1174 ], | 1192 ], |
1175 }], | 1193 }], |
1176 ], | 1194 ], |
1177 }], | 1195 }], |
1178 [ 'use_kerberos==1', { | 1196 [ 'use_kerberos==1', { |
1179 'defines': [ | 1197 'defines': [ |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1218 }, | 1236 }, |
1219 ], | 1237 ], |
1220 [ 'OS == "mac"', { | 1238 [ 'OS == "mac"', { |
1221 'dependencies': [ | 1239 'dependencies': [ |
1222 '../third_party/nss/nss.gyp:nspr', | 1240 '../third_party/nss/nss.gyp:nspr', |
1223 '../third_party/nss/nss.gyp:nss', | 1241 '../third_party/nss/nss.gyp:nss', |
1224 'third_party/nss/ssl.gyp:ssl', | 1242 'third_party/nss/ssl.gyp:ssl', |
1225 ], | 1243 ], |
1226 }, | 1244 }, |
1227 ], | 1245 ], |
| 1246 [ 'OS == "android"', { |
| 1247 'dependencies': [ |
| 1248 '../build/android/system.gyp:ssl', |
| 1249 ], |
| 1250 'sources!': [ |
| 1251 'dns/dns_config_service_posix_unittest.cc', |
| 1252 ], |
| 1253 }, |
| 1254 ], |
1228 ], | 1255 ], |
1229 }, | 1256 }, |
1230 { | 1257 { |
1231 'target_name': 'net_perftests', | 1258 'target_name': 'net_perftests', |
1232 'type': 'executable', | 1259 'type': 'executable', |
1233 'dependencies': [ | 1260 'dependencies': [ |
1234 'net', | 1261 'net', |
1235 'net_test_support', | 1262 'net_test_support', |
1236 '../base/base.gyp:base', | 1263 '../base/base.gyp:base', |
1237 '../base/base.gyp:base_i18n', | 1264 '../base/base.gyp:base_i18n', |
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1355 ], | 1382 ], |
1356 'conditions': [ | 1383 'conditions': [ |
1357 ['inside_chromium_build==1', { | 1384 ['inside_chromium_build==1', { |
1358 'dependencies': [ | 1385 'dependencies': [ |
1359 '../chrome/app/policy/cloud_policy_codegen.gyp:cloud_policy_proto_co
mpile', | 1386 '../chrome/app/policy/cloud_policy_codegen.gyp:cloud_policy_proto_co
mpile', |
1360 # The test server uses Python modules generated by the sync protos. | 1387 # The test server uses Python modules generated by the sync protos. |
1361 '../chrome/browser/sync/protocol/sync_proto.gyp:sync_proto', | 1388 '../chrome/browser/sync/protocol/sync_proto.gyp:sync_proto', |
1362 '../third_party/protobuf/protobuf.gyp:py_proto', | 1389 '../third_party/protobuf/protobuf.gyp:py_proto', |
1363 ], | 1390 ], |
1364 }], | 1391 }], |
1365 ['os_posix == 1 and OS != "mac"', { | 1392 ['os_posix == 1 and OS != "mac" and OS != "android"', { |
1366 'conditions': [ | 1393 'conditions': [ |
1367 ['use_openssl==1', { | 1394 ['use_openssl==1', { |
1368 'dependencies': [ | 1395 'dependencies': [ |
1369 '../third_party/openssl/openssl.gyp:openssl', | 1396 '../third_party/openssl/openssl.gyp:openssl', |
1370 ], | 1397 ], |
1371 }, { | 1398 }, { |
1372 'dependencies': [ | 1399 'dependencies': [ |
1373 '../build/linux/system.gyp:ssl', | 1400 '../build/linux/system.gyp:ssl', |
1374 ], | 1401 ], |
1375 }], | 1402 }], |
1376 ], | 1403 ], |
1377 }], | 1404 }], |
1378 ['os_posix == 1 and OS != "mac"', { | 1405 ['os_posix == 1 and OS != "mac" and OS != "android"', { |
1379 'conditions': [ | 1406 'conditions': [ |
1380 ['linux_use_tcmalloc==1', { | 1407 ['linux_use_tcmalloc==1', { |
1381 'dependencies': [ | 1408 'dependencies': [ |
1382 '../base/allocator/allocator.gyp:allocator', | 1409 '../base/allocator/allocator.gyp:allocator', |
1383 ], | 1410 ], |
1384 }], | 1411 }], |
1385 ], | 1412 ], |
1386 }], | 1413 }], |
1387 ], | 1414 ], |
1388 }, | 1415 }, |
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1484 'include_dirs': [ | 1511 'include_dirs': [ |
1485 '..', | 1512 '..', |
1486 ], | 1513 ], |
1487 'sources': [ | 1514 'sources': [ |
1488 'base/ssl_false_start_blacklist_process.cc', | 1515 'base/ssl_false_start_blacklist_process.cc', |
1489 'base/ssl_false_start_blacklist.h', | 1516 'base/ssl_false_start_blacklist.h', |
1490 ], | 1517 ], |
1491 }, | 1518 }, |
1492 ], | 1519 ], |
1493 'conditions': [ | 1520 'conditions': [ |
1494 ['os_posix == 1 and OS != "mac"', { | 1521 ['os_posix == 1 and OS != "mac" and OS != "android"', { |
1495 'targets': [ | 1522 'targets': [ |
1496 { | 1523 { |
1497 'target_name': 'flip_in_mem_edsm_server', | 1524 'target_name': 'flip_in_mem_edsm_server', |
1498 'type': 'executable', | 1525 'type': 'executable', |
1499 'cflags': [ | 1526 'cflags': [ |
1500 '-Wno-deprecated', | 1527 '-Wno-deprecated', |
1501 ], | 1528 ], |
1502 'dependencies': [ | 1529 'dependencies': [ |
1503 '../base/base.gyp:base', | 1530 '../base/base.gyp:base', |
1504 'net', | 1531 'net', |
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1634 'tools/dump_cache/url_to_filename_encoder.cc', | 1661 'tools/dump_cache/url_to_filename_encoder.cc', |
1635 'tools/dump_cache/url_to_filename_encoder.h', | 1662 'tools/dump_cache/url_to_filename_encoder.h', |
1636 'tools/dump_cache/url_utilities.h', | 1663 'tools/dump_cache/url_utilities.h', |
1637 'tools/dump_cache/url_utilities.cc', | 1664 'tools/dump_cache/url_utilities.cc', |
1638 ], | 1665 ], |
1639 }, | 1666 }, |
1640 ], | 1667 ], |
1641 }], | 1668 }], |
1642 ], | 1669 ], |
1643 } | 1670 } |
OLD | NEW |