Export static libraries.

Export static libraries through LOCAL_STATIC_LIBRARIES and
LOCAL_WHOLE_STATIC_LIBRARIES. This enables dependency-based NOTICE file
generation. Also, add a notice property in the libwinpthread module.

Bug: 36073965
Test: cc_test.go
Change-Id: Ic63ca523b40acac82bbe876f7aa40ecd495907c5
This commit is contained in:
Jaewoong Jung
2018-11-01 15:40:37 -07:00
parent ea058fd78c
commit 5d19e1de88
6 changed files with 117 additions and 8 deletions

View File

@@ -238,6 +238,9 @@ func TestArchConfig(buildDir string, env map[string]string) Config {
{BuildOs, Arch{ArchType: X86_64}},
{BuildOs, Arch{ArchType: X86}},
},
Windows: []Target{
{Windows, Arch{ArchType: X86}},
},
}
config.BuildOsVariant = config.Targets[BuildOs][0].String()