From d656da494d9e3e0cf1fcb771a75f22ef717e2a75 Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Fri, 18 Oct 2019 08:02:18 -0700 Subject: tinyxml: reduce visibility. While we wait for the last vendor usages to be fixed, reduce the visibility so that at least no non-vendor code can add a new dependency. Bug: http://b/139157325 Test: treehugger Change-Id: Iaf205085de3a78a1fcb332489fbb331250be9c0d --- Android.bp | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/Android.bp b/Android.bp index 4651d1f..978d7d1 100644 --- a/Android.bp +++ b/Android.bp @@ -1,12 +1,5 @@ // Copyright 2005 The Android Open Source Project -// -// Android.mk for TinyXml. -// -// Add -DTIXML_USE_STL to CFLAGS to use STL. -// -// For the device -// ===================================================== cc_library_shared { name: "libtinyxml", @@ -19,6 +12,10 @@ cc_library_shared { vendor: true, + // DO NOT USE! + // Use tinyxml2 (or expat or libxml2 or...) instead. + visibility: ["//vendor:__subpackages__"], + cflags: [ "-Wno-implicit-fallthrough", "-Wno-logical-op-parentheses", -- cgit v1.2.3