platform_build_soong/java
Colin Cross dea1d03975 Fix addrsig warnings
ld -r reorders symbols and invalidates the .llvm_addrsig section, which
then causes warnings if the resulting object is used with ld --icf=safe.
The warning is especially common when building with musl, as the
clang_rt.crt* objects have .llvm_addrsig sections, are linked into
libc_musl_crt* using ld -r, and are then linked into every other binary
and shared library with --icf=safe.

Strip the .llvm_addrsig section after ld -r to prevent the warnings.

Test: m USE_HOST_MUSL=true host-native -k
Change-Id: Ia52a4756b9ebbb62115898d0de9f8641e6fea705
2023-04-14 14:31:14 -07:00
..
config Add com.android.tools.r8.emitRecordAnnotationsExInDex flag 2023-03-31 11:01:41 +01:00
core-libraries Create core-lambda-stubs from .txt files 2023-04-03 23:42:08 +00:00
aapt2.go Add soong support for resource shrinking 2022-09-23 19:11:11 +02:00
aar.go Update max_sdk_version from SdkSpec to ApiLevel 2023-03-23 19:38:56 +00:00
aar_test.go copy JNI from AAR files to android_app APK 2022-08-02 16:12:06 -04:00
Android.bp Merge "Support testing for resource shrinking" 2022-12-01 06:09:29 +00:00
android_manifest.go Update target_sdk_version from SdkSpec to ApiLevel 2023-03-23 19:31:17 +00:00
android_resources.go
androidmk.go Modify Soong to utilize from-text android.jar in build 2023-03-28 21:53:45 +00:00
androidmk_test.go Specify jnilib partition in Android-<target>.mk 2022-10-04 03:26:05 +00:00
app.go Update min_sdk_version from SdkSpec to ApiLevel 2023-03-22 20:15:45 +00:00
app_builder.go Add soong support for resource shrinking 2022-09-23 19:11:11 +02:00
app_import.go Update min_sdk_version from SdkSpec to ApiLevel 2023-03-22 20:15:45 +00:00
app_import_test.go Export Soong module type to LOCAL_SOONG_MODULE_TYPE to Make for SBOM generation. 2023-03-06 22:51:03 +00:00
app_set.go Add skip-sdk-check to extract_apks 2023-03-21 08:13:25 -07:00
app_set_test.go Add skip-sdk-check to extract_apks 2023-03-21 08:13:25 -07:00
app_test.go Fix addrsig warnings 2023-04-14 14:31:14 -07:00
base.go Rename core stubs to .txt stubs if applicable 2023-03-30 02:59:22 +00:00
boot_jars.go
bootclasspath.go Ensure that *bootclasspath* module types depend on device variants 2022-05-11 15:20:37 +00:00
bootclasspath_fragment.go Use stubs from .txt files for hiddenapi 2023-03-30 00:34:36 +00:00
bootclasspath_fragment_test.go Merge "Revert "bootclasspath_fragment: Treat some specific modules as test"" 2022-09-16 18:24:49 +00:00
builder.go Add skip-sdk-check to extract_apks 2023-03-21 08:13:25 -07:00
classpath_element.go Reformat build/soong for go 1.19 2022-08-17 10:43:13 -07:00
classpath_fragment.go Update max_sdk_version from SdkSpec to ApiLevel 2023-03-23 19:38:56 +00:00
device_host_converter.go Bp2build converter for java_host_for_device. 2023-04-04 19:49:17 -04:00
device_host_converter_test.go
dex.go Update min_sdk_version from SdkSpec to ApiLevel 2023-03-22 20:15:45 +00:00
dex_test.go Merge "Revert "Revert "R8/D8 should use sdk_version prop to determine API surface stability.""" 2023-02-23 21:39:49 +00:00
dexpreopt.go Revert^2 "Generate a boot image extension for mainline BCP... 2023-03-16 08:46:29 +00:00
dexpreopt_bootjars.go Revert^2 "Generate a boot image extension for mainline BCP... 2023-03-16 08:46:29 +00:00
dexpreopt_bootjars_test.go
dexpreopt_check.go
dexpreopt_config.go Revert^2 "Generate a boot image extension for mainline BCP... 2023-03-16 08:46:29 +00:00
dexpreopt_config_test.go Revert^2 "Generate a boot image extension for mainline BCP... 2023-03-16 08:46:29 +00:00
dexpreopt_config_testing.go Revert^2 "Generate a boot image extension for mainline BCP... 2023-03-16 08:46:29 +00:00
dexpreopt_test.go Generate a default wrapper for device java_binary 2022-10-27 11:19:53 -07:00
droiddoc.go Update max_sdk_version from SdkSpec to ApiLevel 2023-03-23 19:38:56 +00:00
droiddoc_test.go
droidstubs.go Prevent dynamically created java_api_contribution from inheriting 2023-02-04 00:29:33 +00:00
droidstubs_test.go Prevent dynamically created java_api_contribution from inheriting 2023-02-04 00:29:33 +00:00
fuzz.go Output shared dependendencies of JNI libs for Java fuzzers 2022-10-20 00:55:58 +00:00
fuzz_test.go Fix java/fuzz_test.go post submit build breakage 2022-11-22 17:51:23 +00:00
gen.go AIDL source generation accounts for Bazel paths 2022-08-25 14:47:41 -04:00
genrule.go Reformat build/soong for go 1.19 2022-08-17 10:43:13 -07:00
genrule_test.go
hiddenapi.go Update min_sdk_version from SdkSpec to ApiLevel 2023-03-22 20:15:45 +00:00
hiddenapi_modular.go Update min_sdk_version from SdkSpec to ApiLevel 2023-03-22 20:15:45 +00:00
hiddenapi_monolithic.go
hiddenapi_singleton.go
hiddenapi_singleton_test.go
jacoco.go add jacocoagent by default to Java modules 2022-09-09 16:50:38 -04:00
jacoco_test.go
java.go Merge "Update java_api_library in testing modules" 2023-04-05 23:27:50 +00:00
java_resources.go convert java_resources with bp2build 2022-05-10 14:32:52 +00:00
java_test.go Add dep_api_srcs property to java_api_library module 2023-04-03 17:53:40 +00:00
jdeps.go Consider only preferred modules for jdeps 2023-01-11 13:26:04 +09:00
jdeps_test.go
kotlin.go Use the current java version for -jvm-target 2022-06-28 16:06:16 -07:00
kotlin_test.go transitive Java deps for r8 2023-01-20 17:05:14 -05:00
legacy_core_platform_api_usage.go Remove SettingsOverlay* from legacyCorePlatformApiModules 2022-11-11 20:14:57 -08:00
lint.go Android Lint: allow local override of --exitcode flag 2023-03-22 17:52:56 +00:00
lint_defaults.txt Disable new lint checks from Android Studio 2023-03-09 14:11:47 +00:00
lint_test.go Give lint the correct api levels database for the current module 2023-02-28 21:18:17 -08:00
platform_bootclasspath.go Revert^2 "Generate a boot image extension for mainline BCP... 2023-03-16 08:46:29 +00:00
platform_bootclasspath_test.go Make sure dist files have license metadata. 2022-06-01 21:07:25 -07:00
platform_compat_config.go Stop module types being SdkAware 2022-12-12 17:33:06 +00:00
platform_compat_config_test.go
plugin.go bp2build for java_library with .kt srcs or common_srcs 2022-11-15 20:01:29 +00:00
plugin_test.go
prebuilt_apis.go Replace SortedStringKeys with SortedKeys 2023-02-28 16:51:32 -08:00
prebuilt_apis_test.go Tweak logic for when extension txt is latest 2022-09-21 11:51:21 +00:00
proto.go Clean up some bp2build technical debt 2022-05-13 19:47:48 -04:00
proto_test.go
resourceshrinker.go Add soong support for resource shrinking 2022-09-23 19:11:11 +02:00
resourceshrinker_test.go Support testing for resource shrinking 2022-09-28 09:46:35 -07:00
robolectric.go Set test config of Robolectric tests to LOCAL_FULL_TEST_CONFIG 2023-02-15 03:18:55 +08:00
rro.go Update max_sdk_version from SdkSpec to ApiLevel 2023-03-23 19:38:56 +00:00
rro_test.go Allow overriding rro category in override_runtime_resource_overlay 2022-10-07 18:21:34 +00:00
sdk.go Create core-lambda-stubs from .txt files 2023-04-03 23:42:08 +00:00
sdk_library.go Use stubs from .txt files for hiddenapi 2023-03-30 00:34:36 +00:00
sdk_library_external.go Reformat build/soong for go 1.19 2022-08-17 10:43:13 -07:00
sdk_library_test.go Call hook in java_sdk_library after droidstubs generation 2023-02-07 18:45:38 +00:00
sdk_test.go
support_libraries.go
system_modules.go Stop module types being SdkAware 2022-12-12 17:33:06 +00:00
system_modules_test.go
systemserver_classpath_fragment.go Stop module types being SdkAware 2022-12-12 17:33:06 +00:00
systemserver_classpath_fragment_test.go
testing.go Update java_api_library in testing modules 2023-04-04 22:52:37 +00:00
tradefed.go