From 0eb3edb9f8d13e24dc6f42aa11b9edfc5a889ae0 Mon Sep 17 00:00:00 2001 From: klzgrad Date: Mon, 2 May 2022 18:32:01 +0800 Subject: [PATCH] Fix Cronet build on Android --- src/components/cronet/BUILD.gn | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/cronet/BUILD.gn b/src/components/cronet/BUILD.gn index 33d59cb28e..209f252895 100644 --- a/src/components/cronet/BUILD.gn +++ b/src/components/cronet/BUILD.gn @@ -16,7 +16,7 @@ declare_args() { } # Disable histogram support is not allowed on Android. -assert(!disable_histogram_support || !is_android) +#assert(!disable_histogram_support || !is_android) buildflag_header("cronet_buildflags") { header = "cronet_buildflags.h" @@ -76,7 +76,7 @@ source_set("metrics_util") { # For platforms on which the native Cronet library is used, build the library, # a cronet_tests binary that exercises it, and a unit-tests binary. # Android and iOS have their own platform-specific rules to build Cronet. -if (is_android) { +if (false) { group("cronet_package") { testonly = true deps = [ "//components/cronet/android:cronet_package_android" ]