From 38d3b0fa18107026c85ddb0ae410339e02f0d690 Mon Sep 17 00:00:00 2001 From: Colin Cross Date: Tue, 8 Dec 2020 11:41:44 -0800 Subject: [PATCH] Export proguard.flags, manifest and sources for use by SettingsGoogle This relands I3d2f042a9ebf4a6f551449904eb77a34f637f28f. Bug: 175124789 Change-Id: I1cc3796f31e7db3d8f062436ebc618d93db19822 Test: m SettingsGoogle Test: m RunSettingsGoogleRoboTests --- Android.bp | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/Android.bp b/Android.bp index 03b4c36dd5b..ce0410f0a80 100644 --- a/Android.bp +++ b/Android.bp @@ -92,3 +92,21 @@ android_library_import { name: "contextualcards", aars: ["libs/contextualcards.aar"], } + +filegroup { + name: "Settings_proguard_flags", + srcs: ["proguard.flags"], +} + +// The sources for Settings need to be exposed to SettingsGoogle, etc. +// so they can run the com.android.settingslib.search.IndexableProcessor +// over all the sources together. +filegroup { + name: "Settings_srcs", + srcs: ["src/**/*.java"], +} + +filegroup { + name: "Settings_manifest", + srcs: ["AndroidManifest.xml"], +}