blob: c9adf022dc45b36bac3b5100a085392bce0954e5 [file] [log] [blame]
# Copyright 2023 The Chromium Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
#
import("//build/config/android/config.gni")
import("//build/config/coverage/coverage.gni")
# Chosen to match what CQ bots exist.
enable_libs_and_assets_verification =
!enable_chrome_android_internal && !is_component_build &&
!use_jacoco_coverage &&
((target_cpu == "arm" && android_channel == "stable") ||
(target_cpu == "arm64" && android_channel == "default" &&
!skip_secondary_abi_for_cq &&
# Disable checks in official arm64 builds due to unwind assets.
!is_official_build))
# enable_chrome_android_internal: Manifest merging of play services deps vary.
# use_jacoco_coverage: Adds proguard flags.
# android_channel: Manifest entries vary based on channel.
# target_cpu: android:versionCode varies.
enable_manifest_verification =
!is_java_debug && !enable_chrome_android_internal && !use_jacoco_coverage &&
android_channel == "stable" && target_cpu == "arm"