platform_build_soong/java
Paul Duffin c02e834ad6 Revert "Support libraries (not just boot jars) that have hiddenapi"
This reverts commit e5b5657f87.

The reverted change was added in order to gather the information about
the hiddenapi that is needed for the runtime to enforce the hiddenapi
accessibility rules. Without it the build broke with the following
error when the android.test.base library was not in the
PRODUCT_BOOT_JARS list:

AssertionError: Error processing: frameworks/base/config/hiddenapi-greylist.txt
The following entries were unexpected:
  Ljunit/framework/TestSuite;->isPublicTestMethod(Ljava/lang/reflect/Method;)Z
  Landroid/test/AndroidTestCase;->setTestContext(Landroid/content/Context;)V
  Landroid/test/InstrumentationTestCase;->runMethod(Ljava/lang/reflect/Method;I)V
  Landroid/test/AndroidTestCase;->getTestContext()Landroid/content/Context;
  Ljunit/framework/TestCase;->fName:Ljava/lang/String;
  Ljunit/framework/TestSuite;->isTestMethod(Ljava/lang/reflect/Method;)Z
  Please visit go/hiddenapi for more information.

However, it turns out that the runtime does not currently enforce
access to the hiddenapi of libraries that are not on the
PRODUCT_BOOT_JARS list. Gathering hiddenapi information for a library
not on the PRODUCT_BOOT_JARS list breaks the
CtsHiddenApiBlacklistApi27TestCases and
CtsHiddenApiBlacklistApi28TestCases test modules which use that
information to ensure that correct runtime behavior.

This change is being reverted simply because it does not work.

Bug: 126519737
Bug: 73711752
Test: make REMOVE_ATB_FROM_BCP=true droid and make droid
Change-Id: I1b4a7786b1061effa0e2d37832afa8570953a06e
2019-02-27 12:49:21 +00:00
..
config Revert "Support libraries (not just boot jars) that have hiddenapi" 2019-02-27 12:49:21 +00:00
aapt2.go Support passing resource zips to aapt2 2019-02-20 18:12:41 +00:00
aar.go Support passing resource zips to aapt2 2019-02-20 18:12:41 +00:00
android_manifest.go Set usesNonSdkApi in manifest when Platform_apis=true 2019-02-18 19:21:02 +00:00
android_resources.go Prepare for a type-safe OnceKey 2019-02-06 01:52:41 +00:00
androidmk.go Add RuleBuilder.Installs().String() 2019-02-13 08:03:29 -08:00
app.go [SOONG] Not auto-generate test config if test_suite is cts 2019-02-19 22:25:50 +08:00
app_builder.go Make manifest and APK agree on uncompressed native libs 2019-02-08 15:24:47 +00:00
app_test.go Fix resource overlay order for static libraries 2019-02-14 03:35:21 +00:00
builder.go Make manifest and APK agree on uncompressed native libs 2019-02-08 15:24:47 +00:00
dex.go soong_zip after dex should not fail when no *.dex files were generated 2019-02-15 10:14:23 -08:00
dexpreopt.go Refactor dexpreopt_bootjars.go to prepare for multiple boot images 2019-02-20 22:06:29 -08:00
dexpreopt_bootjars.go Don't return null for an interface type. 2019-02-24 16:04:52 +00:00
dexpreopt_config.go Add a DEX2OAT_BOOTCLASSPATH variable. 2019-02-26 12:55:37 +00:00
dexpreopt_test.go Don't dexpreopt when compile_dex but not installable 2019-01-06 08:50:36 -08:00
droiddoc.go Remove reference to legacy-test and core-junit from comments 2019-02-14 10:53:59 +00:00
gen.go Remove incorrect file comments 2018-12-27 12:26:30 -08:00
genrule.go Add module type docs to the java package 2019-02-13 18:39:40 +00:00
hiddenapi.go Revert "Support libraries (not just boot jars) that have hiddenapi" 2019-02-27 12:49:21 +00:00
hiddenapi_singleton.go Whitelist Offline.getProbes(..). 2019-02-25 16:49:05 -08:00
jacoco.go Change syntax for jacoco filter wildcard params. 2018-01-29 12:46:26 -08:00
jacoco_test.go Change syntax for jacoco filter wildcard params. 2018-01-29 12:46:26 -08:00
java.go [SOONG] Not auto-generate test config if test_suite is cts 2019-02-19 22:25:50 +08:00
java_resources.go soong_zip: support globs in -f and -D arguments 2018-09-28 14:01:29 -07:00
java_test.go Add java/testing.go for sysprop_test.go 2019-02-16 17:08:01 -08:00
jdeps.go Modify jar dependencies collection from dexpreopt to jar with resource 2018-12-21 10:37:03 +00:00
jdeps_test.go jarjar_rules: accept file-group 2019-01-23 18:05:18 +00:00
kotlin.go Clean up srcjar directories after each rule 2019-01-25 00:53:05 +00:00
kotlin_test.go Remove annotation_processors property 2019-01-24 23:48:04 +00:00
OWNERS Add an owners file for dexpreopt files. 2018-12-18 20:28:06 +00:00
plugin.go Replace annotation_processors with plugins 2019-01-23 20:17:51 +00:00
plugin_test.go Remove annotation_processors property 2019-01-24 23:48:04 +00:00
prebuilt_apis.go Get latest api version 2019-02-14 19:46:34 +09:00
proto.go Revert "Use protoc-gen-javalite for java lite protos" 2018-11-04 17:23:48 -08:00
sdk.go Prepare for a type-safe OnceKey 2019-02-06 01:52:41 +00:00
sdk_library.go Create sysprop_library soong module 2019-02-13 23:32:51 +00:00
sdk_test.go Use latest SDK version for current in PDK builds 2019-01-10 07:09:35 +00:00
support_libraries.go Make MakeVarsContext a PathContext 2019-02-07 22:31:04 +00:00
system_modules.go Enforce dependencies have right architecture 2018-08-30 16:31:02 +00:00
testing.go Refactor dexpreopt_bootjars.go to prepare for multiple boot images 2019-02-20 22:06:29 -08:00