Colin Cross | fdec9ff | 2019-05-02 13:21:41 -0700 | [diff] [blame] | 1 | java_library { |
| 2 | name: "SettingsLib-search", |
| 3 | host_supported: true, |
| 4 | srcs: ["src/**/*.java"], |
| 5 | } |
| 6 | |
| 7 | java_plugin { |
| 8 | name: "SettingsLib-annotation-processor", |
| 9 | processor_class: "com.android.settingslib.search.IndexableProcessor", |
| 10 | static_libs: [ |
| 11 | "javapoet-prebuilt-jar", |
| 12 | "SettingsLib-search", |
| 13 | ], |
| 14 | srcs: ["processor-src/**/*.java"], |
| 15 | java_resource_dirs: ["resources"], |
| 16 | } |
| 17 | |
| 18 | // NOTE: Keep this module in sync with ./common.mk |
| 19 | java_defaults { |
| 20 | name: "SettingsLib-search-defaults", |
| 21 | plugins: ["SettingsLib-annotation-processor"], |
| 22 | static_libs: ["SettingsLib-search"], |
| 23 | } |