summaryrefslogtreecommitdiff
path: root/libutils/Unicode.cpp
diff options
context:
space:
mode:
authorDan Willemsen <dwillemsen@google.com>2018-12-03 15:50:00 -0800
committerDan Willemsen <dwillemsen@google.com>2018-12-03 15:50:00 -0800
commitd3825898da0a4871c5e7920516ed723f9f527eec (patch)
treec5fbbf263bf86aee2b89efc093d6eebb2f1207e7 /libutils/Unicode.cpp
parent307337fb40539fc2ab6bb3384ec3b679e36b78b2 (diff)
Prevent dependency cycle due to system_shared_libs expansion
It was discovered that we were building some objects inconsistently due to an optimization in cc_library to only build objects once and use them for both the static and shared libraries. But static libraries didn't get system_shared_libs set automatically, and we didn't notice that we would have built the objects differently. So static libraries now get the default system_shared_libs, we allow adjusting that for static vs shared in a cc_library, and we disable the optimization if the linked libraries are configured differently between static and shared in a single cc_library. This triggers dependency cycles for static libraries that libc/libdl use, so fix those cycles here. Test: treehugger Change-Id: I6ec2ea45292b602d5c506560de8b8d6ae725be6f
Diffstat (limited to 'libutils/Unicode.cpp')
0 files changed, 0 insertions, 0 deletions