Merge "Exporting C++ headers from system/core" am: 812b7d5d52 am: f484dd3401

am: a252f11da3

Change-Id: If2dc2da283db7a60f478c6e61a9e9b32edb42ce7
This commit is contained in:
Vijay Venkatraman 2017-01-26 01:53:38 +00:00 committed by android-build-merger
commit 5a8f555e49
61 changed files with 17 additions and 0 deletions

1
include/sysutils Symbolic link
View file

@ -0,0 +1 @@
../libsysutils/include/sysutils/

1
include/utils Symbolic link
View file

@ -0,0 +1 @@
../libutils/include/utils/

View file

@ -21,5 +21,7 @@ LOCAL_SHARED_LIBRARIES := \
liblog \
libnl
LOCAL_EXPORT_C_INCLUDE_DIRS := system/core/libsysutils/include
include $(BUILD_SHARED_LIBRARY)

View file

@ -12,6 +12,17 @@
// See the License for the specific language governing permissions and
// limitations under the License.
cc_library_headers {
name: "libutils_headers",
host_supported: true,
export_include_dirs: ["include"],
target: {
windows: {
enabled: true,
},
},
}
cc_library {
name: "libutils",
host_supported: true,
@ -42,6 +53,8 @@ cc_library {
cflags: ["-Werror"],
include_dirs: ["external/safe-iop/include"],
header_libs: ["libutils_headers"],
export_header_lib_headers: ["libutils_headers"],
arch: {
mips: {