platform_build/core/tasks
Tobias Thierer af482ea053 Disallow unnamed package on the bootclasspath.
There are currently no classes on the bootclasspath that live in the
unnamed package (empty package name). This CL explicitly forbids it.
This has the side effect of guarding against some classes of bugs,
for example R8 has functionality to generate some helper classes in
the unnamed package that should not be on the to bootclasspath
because they would hide corresponding classes in Applications.

Strictly speaking I believe that the "not package_name or " part
of the condition in the touched script is not needed because
LoadWhitelist() already skips empty lines and doesn't add "^$" to
the whitelist regex, but relying on this seems very fragile. If
there ever is a need to have classes in the bootclasspath's
unnamed package in future then we can always change this again.

Bug: 147480264
Test: Treehugger

Change-Id: Ic310dd0779dde133b3a5c3039ea5b70d31331a9b
2020-01-11 16:07:13 +00:00
..
check_boot_jars Disallow unnamed package on the bootclasspath. 2020-01-11 16:07:13 +00:00
tools Only include the "tools" and "testcases" subdirectories in android-cts.zip. 2019-08-21 12:31:41 -07:00
apidiff.mk Delete apidiff.mk 2018-09-17 15:33:13 -07:00
boot_jars_package_check.mk Revert submission 1194828-revert-1191937-art_apex_available-DWXQGTKMAR 2019-12-19 12:35:29 +09:00
build_custom_images.mk
collect_gpl_sources.mk Clean up DIST_DIR usages, move to dist-for-goals 2018-10-16 23:37:51 -07:00
cts.mk [Harness Separation] Update cts.mk to point to the new harness repo 2018-05-15 18:52:18 -07:00
deps_licenses.mk Do not call sort when setting ALL_DEPS.MODULES. 2018-08-17 12:41:24 -07:00
device-tests.mk Create individual build artifact for test suite build output 2019-06-20 10:02:36 -07:00
find-shareduid-violation.mk Rename product_services to system_ext 2019-07-09 08:57:19 +00:00
find-shareduid-violation.py Clean up noisy error log in find-shareduid-violation.py 2019-02-16 10:50:56 +09:00
general-tests.mk Add vts-core-tradefed.jar to general-tests.zip 2019-11-23 12:16:11 -08:00
ide.mk
module-info.mk Remove support for ONE_SHOT_MAKEFILE 2019-07-31 18:08:47 -07:00
mts.mk Add Mainline Test Suite (MTS). 2019-07-31 21:31:10 +00:00
oem_image.mk Build build_image and build_super_image as modules. 2019-07-18 10:27:38 -07:00
owners.mk Create an artifact to output module-info and OWNERS files in source code 2018-09-24 16:31:29 -07:00
sdk-addon.mk Remove support for ONE_SHOT_MAKEFILE 2019-07-31 18:08:47 -07:00
sts.mk Don't build STS when it does not exist. 2018-07-30 16:42:46 -07:00
test_mapping.mk Allow tests to be disabled for presubmit check 2018-04-17 12:07:31 -07:00
tradefed-tests-list.mk Create build artifact tradefed-tests_list.zip 2017-12-12 13:42:33 -08:00
vendor_module_check.mk Access PRODUCT_ variables directly 2019-03-28 15:54:25 +00:00
vndk.mk Fix and generate vndk snapshot entirely in Soong 2019-10-23 15:54:08 +09:00
vts-core-tests.mk Create a vts-core suite harness package 2019-09-19 13:13:44 -07:00
with-license.mk Include all system images in -with-license.sh 2019-12-05 15:51:24 -08:00