Files
build_soong/java
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
..
2023-01-25 16:05:43 +00:00
2022-12-12 17:33:05 +00:00
2023-01-20 17:05:14 -05:00
2022-12-13 15:57:01 -08:00
2023-01-20 17:05:14 -05:00
2022-08-17 10:43:13 -07:00
2023-01-27 15:43:38 -08:00
2023-01-20 17:05:14 -05:00
2022-09-30 17:04:15 +00:00
2022-05-13 19:47:48 -04:00
2023-02-03 18:20:03 +00:00