blob: 3ec3e3ce2946a64f0f438f1e96b23c9f5e7c4349 [file] [log] [blame]
Makoto Onuki3aefe332023-10-06 10:02:07 -07001# File containing standard options to HostStubGen for Ravenwood
2
Makoto Onuki623cffb2023-11-29 10:45:06 -08003# --debug # To enable debug log on consone
Makoto Onuki3aefe332023-10-06 10:02:07 -07004
5# Keep all classes / methods / fields, but make the methods throw.
6--default-throw
7
8# Uncomment below lines to enable each feature.
Makoto Onuki3aefe332023-10-06 10:02:07 -07009
10#--default-method-call-hook
11# com.android.hoststubgen.hosthelper.HostTestUtils.logMethodCall
12#--default-class-load-hook
13# com.android.hoststubgen.hosthelper.HostTestUtils.logClassLoaded
14
15# Standard annotations.
16# Note, each line is a single argument, so we need newlines after each `--xxx-annotation`.
17--keep-annotation
Jeff Sharkey55c22562023-11-10 13:27:51 -070018 android.ravenwood.annotation.RavenwoodKeep
Makoto Onuki3aefe332023-10-06 10:02:07 -070019
Jeff Sharkeyce9f0d02023-11-16 10:57:43 -070020--keep-annotation
21 android.ravenwood.annotation.RavenwoodKeepPartialClass
22
Makoto Onuki3aefe332023-10-06 10:02:07 -070023--keep-class-annotation
Jeff Sharkey55c22562023-11-10 13:27:51 -070024 android.ravenwood.annotation.RavenwoodKeepWholeClass
Makoto Onuki3aefe332023-10-06 10:02:07 -070025
26--throw-annotation
Jeff Sharkey55c22562023-11-10 13:27:51 -070027 android.ravenwood.annotation.RavenwoodThrow
Makoto Onuki3aefe332023-10-06 10:02:07 -070028
29--remove-annotation
Jeff Sharkey55c22562023-11-10 13:27:51 -070030 android.ravenwood.annotation.RavenwoodRemove
Makoto Onuki3aefe332023-10-06 10:02:07 -070031
32--substitute-annotation
Jeff Sharkey55c22562023-11-10 13:27:51 -070033 android.ravenwood.annotation.RavenwoodReplace
Makoto Onuki3aefe332023-10-06 10:02:07 -070034
John Wu98346162024-09-26 22:59:40 +000035--redirect-annotation
36 android.ravenwood.annotation.RavenwoodRedirect
37
38--redirection-class-annotation
39 android.ravenwood.annotation.RavenwoodRedirectionClass
Makoto Onuki3aefe332023-10-06 10:02:07 -070040
41--class-load-hook-annotation
Jeff Sharkey55c22562023-11-10 13:27:51 -070042 android.ravenwood.annotation.RavenwoodClassLoadHook
Jeff Sharkeyce9f0d02023-11-16 10:57:43 -070043
44--keep-static-initializer-annotation
45 android.ravenwood.annotation.RavenwoodKeepStaticInitializer