summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorInseob Kim <inseob@google.com>2024-02-05 17:56:37 +0900
committerInseob Kim <inseob@google.com>2024-02-05 17:56:37 +0900
commit4a88116a0019e9bdae0b26f71c256db4024e9f13 (patch)
treeede3c64c00ff6d9dc25108c19eb83ec2e6e00285
parentf30263e10be184819a5ffdba944d936af87d484e (diff)
downloadTelephony-4a88116a0019e9bdae0b26f71c256db4024e9f13.tar.gz
Use RRO for product-specific resources
Currently TeleService is compiled and linked with the argument '--product {PRODUCT_CHARACTERISTICS}' to select product-specific resources. But that causes the app to depend on the product characteristics, making differences of system.img among targets. Setting generate_product_characteristics_rro will automatically generate an RRO package which contains resources having product="{PRODUCT_CHARACTERISTICS}"'. The RRO package will be installed to /product partition. TeleService will be compiled with '--product default', making system.img identical to all targets. Bug: 322932641 Test: TH Change-Id: Ida005dd8ae58e65f2c3ee5917ae992681c5efd35
-rw-r--r--Android.bp2
1 files changed, 2 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index 1e7b95449..b51af0b44 100644
--- a/Android.bp
+++ b/Android.bp
@@ -79,6 +79,8 @@ android_app {
proto: {
type: "lite",
},
+
+ generate_product_characteristics_rro: true,
}
// Allow other applications to use public constants from SlicePurchaseController