platform_build_soong/java
Colin Cross 01fd7ccbc7 Add sdk mutator for native modules
Compiling native modules against the NDK disables platform features
like ASAN.  For anything shipped on the system image there is no
reason to compile against the NDK.  Add a new mutator to Soong that
creates a platform and an SDK variant for modules that set
sdk_version, and ignore sdk_version for the platform variant.  The
SDK variant will be used for embedding in APKs that may be installed
on older platforms.  Apexes use their own variants that enforce
backwards compatibility.

Test: sdk_test.go
Test: TestJNIPackaging
Bug: 149591340
Change-Id: I7d72934aaee2e1326cc0ba5f29f51f14feec4521
Merged-In: I7d72934aaee2e1326cc0ba5f29f51f14feec4521
(cherry picked from commit 82e192c3ae)
2020-04-27 14:45:05 -07:00
..
config Update ike.jar's name in code coverage configuration 2020-02-25 00:47:30 -08:00
aapt2.go Add rules to handle asset resources. 2020-01-16 12:19:49 -08:00
aar.go Merge "Allow for setting a logging_parent for an Android App." 2020-02-18 22:57:31 +00:00
android_manifest.go Always use "${codename}.${sha}" if UNBUNDLED_BUILD_TARGET_SDK_WITH_API_FINGERPRINT=true 2020-03-03 12:06:30 +00:00
android_resources.go Separate device and product overlays 2019-03-21 11:25:46 +00:00
androidmk.go Add overrides to runtime_resource_overlay 2020-04-24 15:22:40 -07:00
androidmk_test.go Add a Tag field to dist to dist a tagged output 2020-03-30 13:55:32 +01:00
app.go Add sdk mutator for native modules 2020-04-27 14:45:05 -07:00
app_builder.go [soong] new field in Android.bp to request APK signing V4 2020-03-25 17:12:20 -07:00
app_test.go Add sdk mutator for native modules 2020-04-27 14:45:05 -07:00
builder.go Repeat kapt processor argument for multiple processors 2020-04-24 11:27:59 -07:00
device_host_converter.go jacoco correctly gathers info from APK-in-APEX 2020-01-08 14:49:31 +09:00
device_host_converter_test.go Add method to determine variations from a Target 2019-10-16 14:52:30 -07:00
dex.go Merge "Add support for experimentally enabling RBE support on specific rules." 2020-01-28 19:49:05 +00:00
dexpreopt.go Distinguish boot images by target rather than arch 2020-04-03 11:25:13 +01:00
dexpreopt_bootjars.go Relax boot image check to allow platform Jacoco variant in a coverage build. 2020-04-09 14:50:44 +01:00
dexpreopt_bootjars_test.go Forbid generating boot image files for jars in updatable modules. 2020-04-09 14:50:21 +01:00
dexpreopt_config.go Distinguish boot images by target rather than arch 2020-04-03 11:25:13 +01:00
dexpreopt_test.go Add a rule about platform_apis 2019-07-29 20:48:30 +09:00
droiddoc.go Merge changes Ib8025019,I7d58d104,I9dd4312c,I995ed389,Iba2a8a5a, ... into rvc-dev 2020-04-23 15:19:41 +00:00
gen.go Shard aidl compiles into srcjars 2019-10-04 14:00:36 -07:00
genrule.go Dedup java genrule module type registration 2019-12-19 19:19:40 +00:00
hiddenapi.go Merge CSV files generated by UnsupportedAppUsageProcessor. 2020-03-21 13:01:17 +00:00
hiddenapi_singleton.go Use modular removed-dex.txt files for greylisting. 2020-03-31 14:46:39 +00:00
jacoco.go Tune JVM, print full diagnostics on crash. 2019-06-11 13:30:13 -07:00
jacoco_test.go
java.go Add defaults support to runtime_resource_overlay. 2020-04-26 15:17:39 -07:00
java_resources.go Track sources for srcjars across modules 2019-05-06 14:22:26 -07:00
java_test.go Move NDK test modules into cc/testing.go 2020-02-19 18:59:15 -08:00
jdeps.go Sandbox soong_build by changing to root directory 2020-01-11 01:11:46 +00:00
jdeps_test.go jarjar_rules: accept file-group 2019-01-23 18:05:18 +00:00
kotlin.go Repeat kapt processor argument for multiple processors 2020-04-24 11:27:59 -07:00
kotlin_test.go Repeat kapt processor argument for multiple processors 2020-04-24 11:27:59 -07:00
OWNERS Add ART folks to owner of dexpreopt related file. 2019-04-30 15:33:49 +01:00
platform_compat_config.go Add support for compat config in APEX. 2020-02-05 13:33:50 +00:00
plugin.go Replace annotation_processors with plugins 2019-01-23 20:17:51 +00:00
plugin_test.go Java test code clean-up 2019-07-17 11:15:09 -07:00
prebuilt_apis.go Create prebuilt api modules in load hook not mutator 2020-04-09 21:35:53 +01:00
proto.go Default to compiling lite protos 2019-10-26 20:35:13 +00:00
robolectric.go AndroidMkEntries() returns multiple AndroidMkEntries structs 2019-12-11 17:25:27 +09:00
sdk.go Merge "Check updatable APKs compile against managed SDKs." into rvc-dev 2020-04-16 13:34:39 +00:00
sdk_library.go Extract createJavaImportForStubs() 2020-04-22 12:51:56 +01:00
sdk_test.go Create a framework.aidl for non-updatable platform 2020-04-09 17:45:30 +01:00
support_libraries.go Allow other module types in androidx 2019-07-22 13:18:48 -07:00
sysprop.go Create public stub for platform's sysprop_library 2019-12-19 09:35:23 +09:00
system_modules.go Remove old SdkMemberType API for creating snapshot modules 2020-04-22 12:51:45 +01:00
testing.go Make system_server stubs consistent with other stubs 2020-03-19 17:42:59 +00:00
tradefed.go Add tradefed_java_library_host 2019-10-18 15:14:15 -07:00