Fix Cronet build on Android

This commit is contained in:
klzgrad 2022-05-02 18:32:01 +08:00
parent 256a12df71
commit 0eb3edb9f8

View File

@ -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" ]