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 1024 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1035 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 1035 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
1036 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 1036 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
1037 deps = [ | 1037 deps = [ |
1038 "//base", | 1038 "//base", |
1039 "//base:i18n", | 1039 "//base:i18n", |
1040 "//net/tools/tld_cleanup", | 1040 "//net/tools/tld_cleanup", |
1041 ] | 1041 ] |
1042 } | 1042 } |
1043 } | 1043 } |
1044 | 1044 |
1045 if (is_linux || is_mac) { | 1045 if (is_linux) { |
1046 static_library("epoll_server") { | 1046 static_library("epoll_server") { |
1047 sources = [ | 1047 sources = [ |
1048 "tools/epoll_server/epoll_server.cc", | 1048 "tools/epoll_server/epoll_server.cc", |
1049 "tools/epoll_server/epoll_server.h", | 1049 "tools/epoll_server/epoll_server.h", |
| 1050 "tools/epoll_server/linux_epoll_server.cc", |
1050 ] | 1051 ] |
1051 if (is_mac) { | |
1052 sources += [ "tools/epoll_server/darwin_epoll_server.cc" ] | |
1053 } else { | |
1054 sources += [ "tools/epoll_server/linux_epoll_server.cc" ] | |
1055 } | |
1056 deps = [ | 1052 deps = [ |
1057 ":net", | 1053 ":net", |
1058 "//base", | 1054 "//base", |
1059 ] | 1055 ] |
1060 } | 1056 } |
1061 } | |
1062 | 1057 |
1063 if (is_linux) { | |
1064 static_library("flip_in_mem_edsm_server_base") { | 1058 static_library("flip_in_mem_edsm_server_base") { |
1065 testonly = true | 1059 testonly = true |
1066 sources = [ | 1060 sources = [ |
1067 "tools/dump_cache/url_to_filename_encoder.cc", | 1061 "tools/dump_cache/url_to_filename_encoder.cc", |
1068 "tools/dump_cache/url_to_filename_encoder.h", | 1062 "tools/dump_cache/url_to_filename_encoder.h", |
1069 "tools/dump_cache/url_utilities.cc", | 1063 "tools/dump_cache/url_utilities.cc", |
1070 "tools/dump_cache/url_utilities.h", | 1064 "tools/dump_cache/url_utilities.h", |
1071 "tools/flip_server/acceptor_thread.cc", | 1065 "tools/flip_server/acceptor_thread.cc", |
1072 "tools/flip_server/acceptor_thread.h", | 1066 "tools/flip_server/acceptor_thread.h", |
1073 "tools/flip_server/constants.h", | 1067 "tools/flip_server/constants.h", |
(...skipping 554 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1628 } else { | 1622 } else { |
1629 sources -= [ "proxy/proxy_resolver_perftest.cc" ] | 1623 sources -= [ "proxy/proxy_resolver_perftest.cc" ] |
1630 } | 1624 } |
1631 | 1625 |
1632 if (is_win && icu_use_data_file) { | 1626 if (is_win && icu_use_data_file) { |
1633 # This is needed to trigger the dll copy step on windows. | 1627 # This is needed to trigger the dll copy step on windows. |
1634 # TODO(mark): Specifying this here shouldn't be necessary. | 1628 # TODO(mark): Specifying this here shouldn't be necessary. |
1635 deps += [ "//third_party/icu:icudata" ] | 1629 deps += [ "//third_party/icu:icudata" ] |
1636 } | 1630 } |
1637 } | 1631 } |
OLD | NEW |