OSDN Git Service

Remove boolean arguments from NewLibrary()
authorColin Cross <ccross@android.com>
Fri, 9 Dec 2016 22:47:29 +0000 (14:47 -0800)
committerColin Cross <ccross@android.com>
Tue, 13 Dec 2016 21:39:43 +0000 (13:39 -0800)
commit979162601e1e1b8fb678bb158c66604de46405d3
tree47d4b677853fd9ab3560752d4f539abe8781ccba
parent0955e348436130df87ee8f2075b492a66c5232ef
Remove boolean arguments from NewLibrary()

NewLibrary is going to be used for header only libraries.  Instead
of adding more boolean arguments, replace the existing ones with
BuildOnlyStatic and BuildOnlyShared calls on the libraryDecorator
returned by NewLibrary.

Test: m -j, compare build.ninja
Change-Id: I832627938f3fbc8cc1565c695048a5b5c3553090
build/art.go