Add test for sdk variant of cc libraries
This looks at androidmkinfo to assert the following on sdk variants of
cc libraries
1. It links against NDK variant of bionic and not apex
(systemapi/module-libapi) variant of bionic. This dependency comes
from system_dynamic_dep_defaults
2. It links against libstc++ and not (libc++_static + libc++demangle).
This depdendency comes from STL resolution.
Test: b test //build/bazel/rules/cc:cc_library_static_tests --config=android
Change-Id: I1fbf833d4924ffc5e4a795f4c5929571bbc73508
2 files changed