Android.bp 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. // Copyright (C) 2018 The Android Open Source Project
  2. //
  3. // Licensed under the Apache License, Version 2.0 (the "License");
  4. // you may not use this file except in compliance with the License.
  5. // You may obtain a copy of the License at
  6. //
  7. // http://www.apache.org/licenses/LICENSE-2.0
  8. //
  9. // Unless required by applicable law or agreed to in writing, software
  10. // distributed under the License is distributed on an "AS IS" BASIS,
  11. // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  12. // See the License for the specific language governing permissions and
  13. // limitations under the License.
  14. android_library {
  15. name: "launcher-aosp-tapl",
  16. static_libs: [
  17. "androidx.annotation_annotation",
  18. "androidx.test.runner",
  19. "androidx.test.rules",
  20. "androidx.test.uiautomator_uiautomator",
  21. "SystemUISharedLib",
  22. ],
  23. srcs: [
  24. "tests/tapl/**/*.java",
  25. "src/com/android/launcher3/util/SecureSettingsObserver.java",
  26. "src/com/android/launcher3/ResourceUtils.java",
  27. "src/com/android/launcher3/testing/TestProtocol.java",
  28. ],
  29. manifest: "tests/tapl/AndroidManifest.xml",
  30. platform_apis: true,
  31. }
  32. java_library_static {
  33. name: "launcher_log_protos_lite",
  34. srcs: [
  35. "protos/*.proto",
  36. "proto_overrides/*.proto",
  37. ],
  38. sdk_version: "current",
  39. proto: {
  40. type: "lite",
  41. local_include_dirs:[
  42. "protos",
  43. "proto_overrides",
  44. ],
  45. },
  46. static_libs: ["libprotobuf-java-lite"],
  47. }
  48. java_library {
  49. name: "LauncherPluginLib",
  50. static_libs: ["PluginCoreLib"],
  51. srcs: ["src_plugins/**/*.java"],
  52. sdk_version: "current",
  53. min_sdk_version: "28",
  54. }