Android.bp 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  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. // Defaults shared between real and test versions of the APEX.
  15. apex_defaults {
  16. name: "com.android.tzdata-defaults",
  17. // Use a custom AndroidManifest.xml used for API targeting.
  18. androidManifest: ":com.android.tzdata-androidManifest",
  19. // Explicit because the defaulting behavior only works for the real
  20. // module.
  21. file_contexts: "com.android.tzdata",
  22. // Shared signing information.
  23. key: "apex.tzdata.key",
  24. certificate: ":com.android.tzdata.certificate",
  25. }
  26. filegroup {
  27. name: "com.android.tzdata-androidManifest",
  28. srcs: ["AndroidManifest.xml"],
  29. }
  30. apex_key {
  31. name: "apex.tzdata.key",
  32. public_key: "com.android.tzdata.avbpubkey",
  33. private_key: "com.android.tzdata.pem",
  34. }
  35. android_app_certificate {
  36. name: "com.android.tzdata.certificate",
  37. certificate: "com.android.tzdata",
  38. }
  39. // The definition for the real (not test) tzdata APEX.
  40. apex {
  41. name: "com.android.tzdata",
  42. defaults: ["com.android.tzdata-defaults"],
  43. manifest: "manifest.json",
  44. prebuilts: [
  45. "apex_tz_version",
  46. "apex_tzlookup.xml",
  47. "apex_tzdata",
  48. "apex_icu_tzdata.dat",
  49. ],
  50. }