Android.bp 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. //
  2. // Copyright (C) 2008 The Android Open Source Project
  3. //
  4. // Licensed under the Apache License, Version 2.0 (the "License");
  5. // you may not use this file except in compliance with the License.
  6. // You may obtain a copy of the License at
  7. //
  8. // http://www.apache.org/licenses/LICENSE-2.0
  9. //
  10. // Unless required by applicable law or agreed to in writing, software
  11. // distributed under the License is distributed on an "AS IS" BASIS,
  12. // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. // See the License for the specific language governing permissions and
  14. // limitations under the License.
  15. //
  16. android_app {
  17. name: "framework-res",
  18. no_framework_libs: true,
  19. certificate: "platform",
  20. // Soong special-cases framework-res to install this alongside
  21. // the libraries at /system/framework/framework-res.apk.
  22. // Generate private symbols into the com.android.internal.R class
  23. // so they are not accessible to 3rd party apps.
  24. aaptflags: [
  25. "--private-symbols",
  26. "com.android.internal",
  27. // Framework doesn't need versioning since it IS the platform.
  28. "--no-auto-version",
  29. // Allow overlay to add resource
  30. "--auto-add-overlay",
  31. ],
  32. // Create package-export.apk, which other packages can use to get
  33. // PRODUCT-agnostic resource data like IDs and type definitions.
  34. export_package_resources: true,
  35. }