From 0a13878b965a87e0dd0eb6a9659bd279038c1de4 Mon Sep 17 00:00:00 2001 From: Hyunyoung Song Date: Tue, 18 Sep 2018 16:08:50 -0700 Subject: [PATCH] Add launcher-log-proto-nano rule in Android.bp Bug: 123904290 Test: m launcher-log-proto-nano Change-Id: I71c749be60df20ad474a7b898c8668642a67a72f (cherry picked from commit 46e1145ecccca78d65f576262971002a78046652) --- Android.bp | 41 ++++++++++++++++++++++++++++++++++++++--- 1 file changed, 38 insertions(+), 3 deletions(-) diff --git a/Android.bp b/Android.bp index c5832441c7..5688407c96 100644 --- a/Android.bp +++ b/Android.bp @@ -13,19 +13,54 @@ // limitations under the License. java_library_static { + name: "launcher-log-proto-nano", + proto: { + type: "nano", + output_params: [ + "store_unknown_fields=true", + "enum_style=java", + ], + local_include_dirs: [ + "protos", + "proto_overrides", + ], + }, + srcs: [ + "protos/**/*.proto", + "proto_overrides/**/*.proto", + ], +} + +android_library{ name: "launcher-aosp-tapl", static_libs: [ "androidx.annotation_annotation", + "androidx.dynamicanimation_dynamicanimation", + "androidx.recyclerview_recyclerview", + "androidx.preference_preference", "androidx.test.runner", "androidx.test.rules", "androidx.test.uiautomator_uiautomator", + "iconloader_base", + "launcher-log-proto-nano", + "launcherprotosnano", "SystemUISharedLib", ], srcs: [ "tests/tapl/**/*.java", - "quickstep/src/com/android/quickstep/SwipeUpSetting.java", - "src/com/android/launcher3/util/SecureSettingsObserver.java", - "src/com/android/launcher3/TestProtocol.java", + "quickstep/src/**/*.java", + "quickstep/recents_ui_overrides/src/**/*.java", + "src/**/*.java", + "src_build_config/**/*.java", + "src_flags/**/*.java", + "src_plugins/**/*.java", + "src_shortcuts_overrides/**/*.java", + ], + dxflags: ["--multi-dex"], + resource_dirs: [ + "res", + "quickstep/res", + "quickstep/recents_ui_overrides/res", ], platform_apis: true, }