Merge "Exporting C++ headers from system/core"

This commit is contained in:
Vijay Venkatraman 2017-01-26 01:39:40 +00:00 committed by Gerrit Code Review
commit 812b7d5d52
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: {