Android.bp 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. // Copyright 2011, 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. //#################################################
  15. // Build APK
  16. android_app {
  17. name: "PhotoViewerSample",
  18. libs: ["androidx.annotation_annotation"],
  19. static_libs: [
  20. "androidx.core_core",
  21. "androidx.legacy_legacy-support-core-ui",
  22. "androidx.legacy_legacy-support-core-utils",
  23. "androidx.fragment_fragment",
  24. "libphotoviewer",
  25. ],
  26. sdk_version: "current",
  27. srcs: [
  28. "src/**/*.java",
  29. "src/**/*.logtags",
  30. ],
  31. resource_dirs: ["res"],
  32. }
  33. //#################################################
  34. // Build APK
  35. android_app {
  36. name: "AppcompatPhotoViewerSample",
  37. libs: ["androidx.annotation_annotation"],
  38. static_libs: [
  39. "androidx.core_core",
  40. "androidx.legacy_legacy-support-core-ui",
  41. "androidx.legacy_legacy-support-core-utils",
  42. "androidx.fragment_fragment",
  43. "androidx.media_media",
  44. "androidx.appcompat_appcompat",
  45. "libphotoviewer_appcompat",
  46. ],
  47. sdk_version: "current",
  48. srcs: [
  49. "src/**/*.java",
  50. "src/**/*.logtags",
  51. ],
  52. resource_dirs: ["res"],
  53. }