platform_build_soong/apex
Jiakai Zhang 81e468171f Use the profiles in the APEX to dexpreopt system server jars.
After this change, if "profile_guided: true" is set, profile-guided
compilation will be enabled for the jar and the ".prof" file next to
the jar in the APEX ("javalib/<name>.jar.prof") will be used as the
profile when dexpreopting for the prebuilt APEX.

Bug: 241823638
Test: m nothing
Test: -
  1. (on internal master) Patch aosp/2426453.
  2. Build the APEX bundle and the module SDK of com.android.wifi
  3. (on tm-dev) Patch this CL and aosp/2141972.
  4. Copy the APEX bundle and the module SDK built on step 2 to the
     source tree
  5. Disable hiddenapi check
  6. lunch cf_x86_64_phone-userdebug && m MODULE_BUILD_FROM_SOURCE=false com.google.android.wifi
  7. cat out/soong/.intermediates/prebuilts/module_sdk/Wifi/current/prebuilt_service-wifi/android_common_com.android.wifi/dexpreopt/oat/x86_64/javalib.invocation
  8. See the profile being used.
Change-Id: I55a5a295e9c5d6f0564afb139c5fb7da91ab8cae
2023-02-15 22:47:24 +00:00
..
Android.bp Export default apex version from updatable_modules.go to Bazel's 2022-08-02 10:11:36 +00:00
androidmk.go Revert "Revert "Remove apex.apex_name"" 2023-02-09 00:11:27 +00:00
apex.go Use the profiles in the APEX to dexpreopt system server jars. 2023-02-15 22:47:24 +00:00
apex_sdk_member.go Add apexes property to sdk 2022-07-06 15:58:43 +00:00
apex_singleton.go Merge "Update error message for new policy." am: bf49705608 am: 775f9e37c7 2021-08-04 10:20:47 +00:00
apex_test.go Merge "Properly check the deapexed files in tests." 2023-02-10 15:18:37 +00:00
bootclasspath_fragment_test.go Properly check the deapexed files in tests. 2023-02-10 23:13:41 +08:00
bp2build.go Export apex_available_baseline to soong_injection 2023-02-08 17:43:09 -08:00
bp2build_test.go Read ApexMkInfo for modules to be installed. 2023-01-27 04:02:45 +00:00
builder.go Revert "Revert "Remove apex.apex_name"" 2023-02-09 00:11:27 +00:00
classpath_element_test.go bootclasspath_fragment: Require at least one hidden_api package property 2022-05-27 16:27:50 +01:00
deapexer.go Fix deapexer usage in prebuilt_apex/apex_set 2022-12-12 17:40:26 +00:00
key.go Introduce BazelStringOrLabelFromProp. 2022-10-20 14:57:37 +00:00
OWNERS
platform_bootclasspath_test.go bootclasspath_fragment: Require at least one hidden_api package property 2022-05-27 16:27:50 +01:00
prebuilt.go Allow building against prerelease prebuilt APEXes 2022-12-12 18:00:47 +00:00
systemserver_classpath_fragment_test.go Use the profiles in the APEX to dexpreopt system server jars. 2023-02-15 22:47:24 +00:00
TEST_MAPPING
testing.go Surface Java APIs Used By APK-only Modules. 2022-04-05 21:28:29 +00:00
vndk.go VNDK APEX doesn't use "apex_name" property 2023-02-07 13:58:19 +09:00
vndk_test.go Remove obsolete notice property. 2022-07-29 17:54:40 +00:00