• Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 # File containing standard options to HostStubGen for Ravenwood
2 
3 # --debug # To enable debug log on consone
4 
5 # Keep all classes / methods / fields, but make the methods throw.
6 --default-throw
7 
8 # Uncomment below lines to enable each feature.
9 # --enable-non-stub-method-check
10 --no-non-stub-method-check
11 
12 #--default-method-call-hook
13 #    com.android.hoststubgen.hosthelper.HostTestUtils.logMethodCall
14 #--default-class-load-hook
15 #    com.android.hoststubgen.hosthelper.HostTestUtils.logClassLoaded
16 
17 # Standard annotations.
18 # Note, each line is a single argument, so we need newlines after each `--xxx-annotation`.
19 --keep-annotation
20     android.ravenwood.annotation.RavenwoodKeep
21 
22 --keep-annotation
23     android.ravenwood.annotation.RavenwoodKeepPartialClass
24 
25 --keep-class-annotation
26     android.ravenwood.annotation.RavenwoodKeepWholeClass
27 
28 --throw-annotation
29     android.ravenwood.annotation.RavenwoodThrow
30 
31 --remove-annotation
32     android.ravenwood.annotation.RavenwoodRemove
33 
34 --substitute-annotation
35     android.ravenwood.annotation.RavenwoodReplace
36 
37 --native-substitute-annotation
38     android.ravenwood.annotation.RavenwoodNativeSubstitutionClass
39 
40 --class-load-hook-annotation
41     android.ravenwood.annotation.RavenwoodClassLoadHook
42 
43 --keep-static-initializer-annotation
44     android.ravenwood.annotation.RavenwoodKeepStaticInitializer
45