| 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("//url/config.gni") | 8 import("//url/config.gni") |
| 9 | 9 |
| 10 # TODO(cjhopman): //build/config/android/rules.gni also imports grit_rule.gni. | 10 # TODO(cjhopman): //build/config/android/rules.gni also imports grit_rule.gni. |
| (...skipping 505 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 516 set_sources_assignment_filter([]) | 516 set_sources_assignment_filter([]) |
| 517 sources += [ | 517 sources += [ |
| 518 "base/platform_mime_util_linux.cc", | 518 "base/platform_mime_util_linux.cc", |
| 519 "base/address_tracker_linux.cc", | 519 "base/address_tracker_linux.cc", |
| 520 "base/address_tracker_linux.h", | 520 "base/address_tracker_linux.h", |
| 521 ] | 521 ] |
| 522 set_sources_assignment_filter(sources_assignment_filter) | 522 set_sources_assignment_filter(sources_assignment_filter) |
| 523 | 523 |
| 524 if (!is_android_webview_build) { | 524 if (!is_android_webview_build) { |
| 525 deps += [ ":net_jni_headers" ] | 525 deps += [ ":net_jni_headers" ] |
| 526 | |
| 527 # The net/android/keystore_openssl.cc source file needs to access an | |
| 528 # OpenSSL-internal header. | |
| 529 include_dirs = [ "//third_party/openssl" ] | |
| 530 } | 526 } |
| 531 } | 527 } |
| 532 | 528 |
| 533 if (use_icu_alternatives_on_android) { | 529 if (use_icu_alternatives_on_android) { |
| 534 deps -= [ | 530 deps -= [ |
| 535 "//base:i18n", | 531 "//base:i18n", |
| 536 "//third_party/icu", | 532 "//third_party/icu", |
| 537 ] | 533 ] |
| 538 sources -= [ | 534 sources -= [ |
| 539 "base/filename_util_icu.cc", | 535 "base/filename_util_icu.cc", |
| (...skipping 370 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 910 "tools/flip_server/spdy_util.cc", | 906 "tools/flip_server/spdy_util.cc", |
| 911 "tools/flip_server/spdy_util.h", | 907 "tools/flip_server/spdy_util.h", |
| 912 "tools/flip_server/streamer_interface.cc", | 908 "tools/flip_server/streamer_interface.cc", |
| 913 "tools/flip_server/streamer_interface.h", | 909 "tools/flip_server/streamer_interface.h", |
| 914 ] | 910 ] |
| 915 deps = [ | 911 deps = [ |
| 916 ":balsa", | 912 ":balsa", |
| 917 ":epoll_server", | 913 ":epoll_server", |
| 918 ":net", | 914 ":net", |
| 919 "//base", | 915 "//base", |
| 920 "//third_party/openssl", | 916 "//third_party/boringssl", |
| 921 ] | 917 ] |
| 922 } | 918 } |
| 923 | 919 |
| 924 executable("flip_in_mem_edsm_server_unittests") { | 920 executable("flip_in_mem_edsm_server_unittests") { |
| 925 sources = [ | 921 sources = [ |
| 926 "tools/flip_server/flip_test_utils.cc", | 922 "tools/flip_server/flip_test_utils.cc", |
| 927 "tools/flip_server/flip_test_utils.h", | 923 "tools/flip_server/flip_test_utils.h", |
| 928 "tools/flip_server/http_interface_test.cc", | 924 "tools/flip_server/http_interface_test.cc", |
| 929 "tools/flip_server/mem_cache_test.cc", | 925 "tools/flip_server/mem_cache_test.cc", |
| 930 "tools/flip_server/run_all_tests.cc", | 926 "tools/flip_server/run_all_tests.cc", |
| 931 "tools/flip_server/spdy_interface_test.cc", | 927 "tools/flip_server/spdy_interface_test.cc", |
| 932 ] | 928 ] |
| 933 deps = [ | 929 deps = [ |
| 934 ":flip_in_mem_edsm_server_base", | 930 ":flip_in_mem_edsm_server_base", |
| 935 ":net", | 931 ":net", |
| 936 ":test_support", | 932 ":test_support", |
| 937 "//testing/gtest", | 933 "//testing/gtest", |
| 938 "//testing/gmock", | 934 "//testing/gmock", |
| 939 "//third_party/openssl", | 935 "//third_party/boringssl", |
| 940 ] | 936 ] |
| 941 } | 937 } |
| 942 | 938 |
| 943 executable("flip_in_mem_edsm_server") { | 939 executable("flip_in_mem_edsm_server") { |
| 944 sources = [ "tools/flip_server/flip_in_mem_edsm_server.cc" ] | 940 sources = [ "tools/flip_server/flip_in_mem_edsm_server.cc" ] |
| 945 deps = [ | 941 deps = [ |
| 946 ":flip_in_mem_edsm_server_base", | 942 ":flip_in_mem_edsm_server_base", |
| 947 ":net", | 943 ":net", |
| 948 "//base", | 944 "//base", |
| 949 ] | 945 ] |
| (...skipping 30 matching lines...) Expand all Loading... |
| 980 "tools/quic/quic_time_wait_list_manager.h", | 976 "tools/quic/quic_time_wait_list_manager.h", |
| 981 "tools/quic/quic_time_wait_list_manager.cc", | 977 "tools/quic/quic_time_wait_list_manager.cc", |
| 982 ] | 978 ] |
| 983 deps = [ | 979 deps = [ |
| 984 ":balsa", | 980 ":balsa", |
| 985 ":epoll_server", | 981 ":epoll_server", |
| 986 ":net", | 982 ":net", |
| 987 "//base", | 983 "//base", |
| 988 "//base/third_party/dynamic_annotations", | 984 "//base/third_party/dynamic_annotations", |
| 989 "//crypto", | 985 "//crypto", |
| 990 "//third_party/openssl", | 986 "//third_party/boringssl", |
| 991 "//url", | 987 "//url", |
| 992 ] | 988 ] |
| 993 } | 989 } |
| 994 | 990 |
| 995 executable("quic_client") { | 991 executable("quic_client") { |
| 996 sources = [ "tools/quic/quic_client_bin.cc" ] | 992 sources = [ "tools/quic/quic_client_bin.cc" ] |
| 997 deps = [ | 993 deps = [ |
| 998 ":quic_base", | 994 ":quic_base", |
| 999 ":net", | 995 ":net", |
| 1000 "//base", | 996 "//base", |
| 1001 "//third_party/openssl", | 997 "//third_party/boringssl", |
| 1002 ] | 998 ] |
| 1003 } | 999 } |
| 1004 } | 1000 } |
| 1005 | 1001 |
| 1006 if (is_android) { | 1002 if (is_android) { |
| 1007 generate_jni("net_jni_headers") { | 1003 generate_jni("net_jni_headers") { |
| 1008 sources = [ | 1004 sources = [ |
| 1009 "android/java/src/org/chromium/net/AndroidCertVerifyResult.java", | 1005 "android/java/src/org/chromium/net/AndroidCertVerifyResult.java", |
| 1010 "android/java/src/org/chromium/net/AndroidKeyStore.java", | 1006 "android/java/src/org/chromium/net/AndroidKeyStore.java", |
| 1011 "android/java/src/org/chromium/net/AndroidNetworkLibrary.java", | 1007 "android/java/src/org/chromium/net/AndroidNetworkLibrary.java", |
| (...skipping 308 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1320 deps -= [ "//base:i18n" ] | 1316 deps -= [ "//base:i18n" ] |
| 1321 } | 1317 } |
| 1322 } | 1318 } |
| 1323 | 1319 |
| 1324 executable("quic_server") { | 1320 executable("quic_server") { |
| 1325 sources = [ "quic/quic_server_bin.cc" ] | 1321 sources = [ "quic/quic_server_bin.cc" ] |
| 1326 deps = [ | 1322 deps = [ |
| 1327 ":quic_tools", | 1323 ":quic_tools", |
| 1328 ":net", | 1324 ":net", |
| 1329 "//base", | 1325 "//base", |
| 1330 "//third_party/openssl", | 1326 "//third_party/boringssl", |
| 1331 ] | 1327 ] |
| 1332 } | 1328 } |
| 1333 | 1329 |
| 1334 } # !is_android | 1330 } # !is_android |
| OLD | NEW |