dcheck_is_off.flags (837B)
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 }