OLD | NEW |
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2013 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 import("//build/config/crypto.gni") | 5 import("//build/config/crypto.gni") |
6 import("//build/config/features.gni") | 6 import("//build/config/features.gni") |
7 import("//build/config/ui.gni") | 7 import("//build/config/ui.gni") |
8 import("//build/module_args/v8.gni") | 8 import("//build/module_args/v8.gni") |
9 import("//url/config.gni") | 9 import("//url/config.gni") |
10 import("//testing/test.gni") | 10 import("//testing/test.gni") |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 include_dirs = [] | 82 include_dirs = [] |
83 | 83 |
84 public_deps = [ | 84 public_deps = [ |
85 "//crypto", | 85 "//crypto", |
86 "//crypto:platform", | 86 "//crypto:platform", |
87 "//url", | 87 "//url", |
88 ] | 88 ] |
89 deps = [ | 89 deps = [ |
90 ":net_resources", | 90 ":net_resources", |
91 "//base", | 91 "//base", |
92 "//base:i18n", | |
93 "//base:prefs", | 92 "//base:prefs", |
94 "//base/third_party/dynamic_annotations", | 93 "//base/third_party/dynamic_annotations", |
95 "//net/base/registry_controlled_domains", | 94 "//net/base/registry_controlled_domains", |
96 "//sdch", | 95 "//sdch", |
97 "//third_party/icu", | |
98 "//third_party/zlib", | 96 "//third_party/zlib", |
99 "//url", | 97 "//url", |
100 ] | 98 ] |
101 | 99 |
102 if (use_kerberos) { | 100 if (use_kerberos) { |
103 defines += [ "USE_KERBEROS" ] | 101 defines += [ "USE_KERBEROS" ] |
104 if (is_android) { | 102 if (is_android) { |
105 include_dirs += [ "/usr/include/kerberosV" ] | 103 include_dirs += [ "/usr/include/kerberosV" ] |
106 } | 104 } |
107 } else { | 105 } else { |
(...skipping 397 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
505 "base/platform_mime_util_linux.cc", | 503 "base/platform_mime_util_linux.cc", |
506 ] | 504 ] |
507 set_sources_assignment_filter(sources_assignment_filter) | 505 set_sources_assignment_filter(sources_assignment_filter) |
508 | 506 |
509 if (!is_android_webview_build) { | 507 if (!is_android_webview_build) { |
510 deps += [ ":net_jni_headers" ] | 508 deps += [ ":net_jni_headers" ] |
511 } | 509 } |
512 } | 510 } |
513 | 511 |
514 if (use_icu_alternatives_on_android) { | 512 if (use_icu_alternatives_on_android) { |
515 deps -= [ | 513 sources += [ |
| 514 "base/net_string_util_icu_alternatives_android.cc", |
| 515 "base/net_string_util_icu_alternatives_android.h", |
| 516 ] |
| 517 } else { |
| 518 deps += [ |
516 "//base:i18n", | 519 "//base:i18n", |
517 "//third_party/icu", | 520 "//third_party/icu", |
518 ] | 521 ] |
519 sources -= [ | 522 sources += [ |
520 "base/filename_util_icu.cc", | 523 "base/filename_util_icu.cc", |
521 "base/net_string_util_icu.cc", | 524 "base/net_string_util_icu.cc", |
522 "base/net_util_icu.cc", | 525 "base/net_util_icu.cc", |
523 ] | 526 ] |
524 sources += [ | |
525 "base/net_string_util_icu_alternatives_android.cc", | |
526 "base/net_string_util_icu_alternatives_android.h", | |
527 ] | |
528 } | 527 } |
529 } | 528 } |
530 | 529 |
531 grit("net_resources") { | 530 grit("net_resources") { |
532 source = "base/net_resources.grd" | 531 source = "base/net_resources.grd" |
533 use_qualified_include = true | 532 use_qualified_include = true |
534 outputs = [ | 533 outputs = [ |
535 "grit/net_resources.h", | 534 "grit/net_resources.h", |
536 "net_resources.pak", | 535 "net_resources.pak", |
537 "net_resources.rc", | 536 "net_resources.rc", |
(...skipping 405 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
943 } | 942 } |
944 | 943 |
945 executable("run_testserver") { | 944 executable("run_testserver") { |
946 testonly = true | 945 testonly = true |
947 sources = [ | 946 sources = [ |
948 "tools/testserver/run_testserver.cc", | 947 "tools/testserver/run_testserver.cc", |
949 ] | 948 ] |
950 deps = [ | 949 deps = [ |
951 ":net", # TODO(brettw) bug 363749: this shouldn't be necessary. It's not | 950 ":net", # TODO(brettw) bug 363749: this shouldn't be necessary. It's not |
952 # in the GYP build, and can be removed when the bug is fixed. | 951 # in the GYP build, and can be removed when the bug is fixed. |
| 952 |
953 ":test_support", | 953 ":test_support", |
954 "//base", | 954 "//base", |
955 "//base/test:test_support", | 955 "//base/test:test_support", |
956 "//testing/gtest", | 956 "//testing/gtest", |
957 ] | 957 ] |
958 } | 958 } |
959 | 959 |
960 executable("stress_cache") { | 960 executable("stress_cache") { |
961 testonly = true | 961 testonly = true |
962 sources = [ | 962 sources = [ |
(...skipping 21 matching lines...) Expand all Loading... |
984 "//base:i18n", | 984 "//base:i18n", |
985 "//net/tools/tld_cleanup", | 985 "//net/tools/tld_cleanup", |
986 ] | 986 ] |
987 } | 987 } |
988 } | 988 } |
989 | 989 |
990 if (is_linux) { | 990 if (is_linux) { |
991 static_library("epoll_server") { | 991 static_library("epoll_server") { |
992 sources = [ | 992 sources = [ |
993 "tools/epoll_server/epoll_server.cc", | 993 "tools/epoll_server/epoll_server.cc", |
| 994 "tools/epoll_server/epoll_server.h", |
994 "tools/epoll_server/linux_epoll_server.cc", | 995 "tools/epoll_server/linux_epoll_server.cc", |
995 "tools/epoll_server/epoll_server.h", | |
996 ] | 996 ] |
997 deps = [ | 997 deps = [ |
998 ":net", | 998 ":net", |
999 "//base", | 999 "//base", |
1000 ] | 1000 ] |
1001 } | 1001 } |
1002 | 1002 |
1003 static_library("flip_in_mem_edsm_server_base") { | 1003 static_library("flip_in_mem_edsm_server_base") { |
1004 testonly = true | 1004 testonly = true |
1005 sources = [ | 1005 sources = [ |
(...skipping 496 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1502 "quic/quic_server_bin.cc", | 1502 "quic/quic_server_bin.cc", |
1503 ] | 1503 ] |
1504 deps = [ | 1504 deps = [ |
1505 ":quic_tools", | 1505 ":quic_tools", |
1506 ":net", | 1506 ":net", |
1507 "//base", | 1507 "//base", |
1508 "//third_party/boringssl", | 1508 "//third_party/boringssl", |
1509 ] | 1509 ] |
1510 } | 1510 } |
1511 } # !is_android && !is_win && !is_mac | 1511 } # !is_android && !is_win && !is_mac |
OLD | NEW |