Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(35)

Unified Diff: net/BUILD.gn

Issue 2692273008: Hacky slashy (Closed)
Patch Set: wip Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: net/BUILD.gn
diff --git a/net/BUILD.gn b/net/BUILD.gn
index a5b3c20d48e42f16aac1151bd80c217101c86e7b..9e1cb871d69f1d831a64cf5d8494372b2f25d90c 100644
--- a/net/BUILD.gn
+++ b/net/BUILD.gn
@@ -34,8 +34,8 @@ if (is_android) {
# So enable it for x86 only for now.
posix_avoid_mmap = is_android && current_cpu != "x86"
-use_v8_in_net = !is_ios && !is_proto_quic
-enable_built_in_dns = !is_ios && !is_proto_quic
+use_v8_in_net = !is_ios && !is_proto_quic && current_os != "fuchsia"
+enable_built_in_dns = !is_ios && !is_proto_quic && current_os != "fuchsia"
buildflag_header("features") {
header = "net_features.h"
@@ -1673,7 +1673,7 @@ component("net") {
}
}
- if (!enable_built_in_dns) {
+ if (!enable_built_in_dns && current_os != "fuchsia") {
sources -= [
"dns/address_sorter_posix.cc",
"dns/address_sorter_posix.h",
@@ -2528,7 +2528,7 @@ if (use_v8_in_net) {
}
}
-if (!is_ios && !is_android && !is_proto_quic) {
+if (!is_ios && !is_android && !is_proto_quic && current_os != "fuchsia") {
source_set("net_browser_services") {
sources = [
"dns/mojo_host_resolver_impl.cc",
@@ -4970,7 +4970,7 @@ test("net_unittests") {
]
}
- if (!enable_built_in_dns) {
+ if (!enable_built_in_dns && current_os != "fuchsia") {
sources -= [
"dns/address_sorter_posix_unittest.cc",
"dns/address_sorter_unittest.cc",

Powered by Google App Engine
This is Rietveld 408576698