Revert "Fix snapshot of a host/device cc_library with stubs"

Revert submission 1302576

Bug: 156054601
Reason for revert: Presumed root cause of build break.
Reverted Changes:
Ifc8116e11:Detect invalid arch specific properties in snapsho...
I7ebd33307:Adds support for 'ignored-on-host'
I167b47a13:Fix snapshot of a host/device cc_library with stub...

Change-Id: Ibccce5286605bb71c6be3b3550ba86d8b7e24fa7
This commit is contained in:
Greg Kaiser
2020-05-08 19:12:34 +00:00
parent 2af52380be
commit ad913d56ac
3 changed files with 1 additions and 95 deletions

View File

@@ -342,11 +342,7 @@ type nativeLibInfoProperties struct {
// The specific stubs version for the lib variant, or empty string if stubs
// are not in use.
//
// Marked 'ignored-on-host' as the StubsVersion() from which this is initialized is
// not set on host and the stubs.versions property which this is written to is does
// not vary by arch so cannot be android specific.
StubsVersion string `sdk:"ignored-on-host"`
StubsVersion string
// outputFile is not exported as it is always arch specific.
outputFile android.Path