Mark CRT objects as vendor available

This will build separate copies of the CRT for vendor vs system when
BOARD_VNDK_VERSION is set. We'll be able to change crtbrand / etc as
needed with #ifdef __ANDROID_VNDK__ and similar.

Bug: 36426473
Bug: 36079834
Test: Put #ifdef __ANDROID_VNDK__ into crtbrand.S, see changes
Change-Id: I7db0cccfe94d144f072e7cef23832884f3c066f0
This commit is contained in:
Dan Willemsen 2017-04-07 14:09:05 -07:00
parent d517ac2dcd
commit 230a7a44ce

View file

@ -1849,6 +1849,7 @@ cc_library {
cc_defaults {
name: "crt_defaults",
defaults: ["linux_bionic_supported"],
vendor_available: true,
no_default_compiler_flags: true,
@ -1878,6 +1879,7 @@ cc_defaults {
cc_defaults {
name: "crt_so_defaults",
vendor_available: true,
arch: {
mips: {
cflags: ["-fPIC"],