| 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 397 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 935 } | 934 } |
| 936 | 935 |
| 937 executable("run_testserver") { | 936 executable("run_testserver") { |
| 938 testonly = true | 937 testonly = true |
| 939 sources = [ | 938 sources = [ |
| 940 "tools/testserver/run_testserver.cc", | 939 "tools/testserver/run_testserver.cc", |
| 941 ] | 940 ] |
| 942 deps = [ | 941 deps = [ |
| 943 ":net", # TODO(brettw) bug 363749: this shouldn't be necessary. It's not | 942 ":net", # TODO(brettw) bug 363749: this shouldn't be necessary. It's not |
| 944 # in the GYP build, and can be removed when the bug is fixed. | 943 # in the GYP build, and can be removed when the bug is fixed. |
| 945 | |
| 946 ":test_support", | 944 ":test_support", |
| 947 "//base", | 945 "//base", |
| 948 "//base/test:test_support", | 946 "//base/test:test_support", |
| 949 "//testing/gtest", | 947 "//testing/gtest", |
| 950 ] | 948 ] |
| 951 } | 949 } |
| 952 | 950 |
| 953 executable("stress_cache") { | 951 executable("stress_cache") { |
| 954 testonly = true | 952 testonly = true |
| 955 sources = [ | 953 sources = [ |
| (...skipping 537 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1493 "quic/quic_server_bin.cc", | 1491 "quic/quic_server_bin.cc", |
| 1494 ] | 1492 ] |
| 1495 deps = [ | 1493 deps = [ |
| 1496 ":quic_tools", | 1494 ":quic_tools", |
| 1497 ":net", | 1495 ":net", |
| 1498 "//base", | 1496 "//base", |
| 1499 "//third_party/boringssl", | 1497 "//third_party/boringssl", |
| 1500 ] | 1498 ] |
| 1501 } | 1499 } |
| 1502 } # !is_android && !is_win && !is_mac | 1500 } # !is_android && !is_win && !is_mac |
| OLD | NEW |