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