xref: /aosp_15_r20/external/cronet/build/android/dcheck_is_off.flags (revision 6777b5387eb2ff775bb5750e3f5d96f37fb7352b)
1# Copyright 2019 The Chromium Authors
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
5# Contains flags that are applied only when ENABLE_DCHECK=false.
6
7-checkdiscard @org.chromium.build.annotations.CheckDiscard class ** {
8  *;
9}
10-checkdiscard class ** {
11  @org.chromium.build.annotations.CheckDiscard *;
12}
13
14# We always expect ServiceLoader.load() calls to be resolved by R8.
15-whyareyounotinlining class java.util.ServiceLoader { *** load(...); }
16
17# This has a ServiceLoader.load() failure that we filter out in dex.py.
18-checkdiscard class !cr_allowunused,kotlinx.coroutines.internal.FastServiceLoader {
19  *;
20}
21
22# Remove kotlin assertions since they add a lot of string and rarely fail.
23-assumenosideeffects class kotlin.jvm.internal.Intrinsics {
24  public static void check*(...);
25}
26