From fa3b250ad1acabe7131c14c24a129839a0dead10 Mon Sep 17 00:00:00 2001 From: Satoshi Niwa Date: Thu, 24 Sep 2020 10:43:09 +0900 Subject: [PATCH] Set expandattribute false for property attributes in prebuilts To prevent these from being optimized away. (Follow-up CL for aosp/1427751 ) Bug: 161083890 Test: atest CtsSecurityHostTestCases Change-Id: I11669b1643671f386c53136de0b7adea2b43bc28 --- prebuilts/api/30.0/public/attributes | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/prebuilts/api/30.0/public/attributes b/prebuilts/api/30.0/public/attributes index 19623afd6..0c91692bc 100644 --- a/prebuilts/api/30.0/public/attributes +++ b/prebuilts/api/30.0/public/attributes @@ -91,15 +91,19 @@ attribute extended_core_property_type; # All properties defined by /system. attribute system_property_type; +expandattribute system_property_type false; # All /system-defined properties used only in /system. attribute system_internal_property_type; +expandattribute system_internal_property_type false; # All /system-defined properties which can't be written outside /system. attribute system_restricted_property_type; +expandattribute system_restricted_property_type false; # All /system-defined properties with no restrictions. attribute system_public_property_type; +expandattribute system_public_property_type false; # All properties defined by /product. # Currently there are no enforcements between /system and /product, so for now @@ -111,15 +115,19 @@ define(`product_public_type', `system_public_property_type') # All properties defined by /vendor. attribute vendor_property_type; +expandattribute vendor_property_type false; # All /vendor-defined properties used only in /vendor. attribute vendor_internal_property_type; +expandattribute vendor_internal_property_type false; # All /vendor-defined properties which can't be written outside /vendor. attribute vendor_restricted_property_type; +expandattribute vendor_restricted_property_type false; # All /vendor-defined properties with no restrictions. attribute vendor_public_property_type; +expandattribute vendor_public_property_type false; # All service_manager types created by system_server attribute system_server_service;