platform_build_soong/sdk
Paul Duffin 4c3e8e2d67 Ensure that DepIsInSameApex is not called for ExcludeFromApexContentsTag
The ExcludeFromApexContentsTag marker interface was added to avoid
every implementation of DepIsInSameApex() from having to deal with the
special tags, like PrebuiltDepTag. Unfortunately, when adding that
not all calls to DepIsInSameApex() were protected which meant that the
BootImageModule, which panics if it doesn't recognize a tag, was
causing failures. This change documents the need and improves the
consistency.

A follow up change will add a test for this.

Bug: 182992071
Test: m nothing
Change-Id: If0bf9a7447ebf7a0bb0c88e91951a7220d4af45c
2021-03-22 08:43:55 +00:00
..
Android.bp Add prebuilt_boot_image and add boot_images to sdk 2021-03-11 07:24:26 +00:00
boot_image_sdk_test.go Stop sdk package depending on testing.T being embedded in TestResult 2021-03-13 15:59:33 +00:00
bp.go Handle property structs and BpPropertySets as values to AddProperty. 2020-09-25 00:33:04 +01:00
bp_test.go Stop sdk package depending on testing.T being embedded in TestResult 2021-03-13 15:59:33 +00:00
cc_sdk_test.go Stop sdk package depending on testing.T being embedded in TestResult 2021-03-13 15:59:33 +00:00
exports.go Extract sdk registration code into function for reuse 2021-03-09 23:03:45 +00:00
exports_test.go Stop sdk package depending on testing.T being embedded in TestResult 2021-03-13 15:59:33 +00:00
java_sdk_test.go Add prepareForSdkTestWithJava 2021-03-21 11:01:13 +00:00
sdk.go Ensure that DepIsInSameApex is not called for ExcludeFromApexContentsTag 2021-03-22 08:43:55 +00:00
sdk_test.go Migrate sdk package to a per test build directory 2021-03-18 01:48:25 +00:00
testing.go Migrate sdk package to a per test build directory 2021-03-18 01:48:25 +00:00
update.go Support testing versioned/unversioned sdk Android.bp files separately 2021-02-22 18:23:22 +00:00