Merge "Exporting C++ headers from system/core"
am: 812b7d5d52
Change-Id: I218819c51271db63d6ecbc1e5ac51674bfd6fc4a
This commit is contained in:
commit
f484dd3401
61 changed files with 17 additions and 0 deletions
1
include/sysutils
Symbolic link
1
include/sysutils
Symbolic link
|
|
@ -0,0 +1 @@
|
||||||
|
../libsysutils/include/sysutils/
|
||||||
1
include/utils
Symbolic link
1
include/utils
Symbolic link
|
|
@ -0,0 +1 @@
|
||||||
|
../libutils/include/utils/
|
||||||
|
|
@ -21,5 +21,7 @@ LOCAL_SHARED_LIBRARIES := \
|
||||||
liblog \
|
liblog \
|
||||||
libnl
|
libnl
|
||||||
|
|
||||||
|
LOCAL_EXPORT_C_INCLUDE_DIRS := system/core/libsysutils/include
|
||||||
|
|
||||||
include $(BUILD_SHARED_LIBRARY)
|
include $(BUILD_SHARED_LIBRARY)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -12,6 +12,17 @@
|
||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
|
cc_library_headers {
|
||||||
|
name: "libutils_headers",
|
||||||
|
host_supported: true,
|
||||||
|
export_include_dirs: ["include"],
|
||||||
|
target: {
|
||||||
|
windows: {
|
||||||
|
enabled: true,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
}
|
||||||
|
|
||||||
cc_library {
|
cc_library {
|
||||||
name: "libutils",
|
name: "libutils",
|
||||||
host_supported: true,
|
host_supported: true,
|
||||||
|
|
@ -42,6 +53,8 @@ cc_library {
|
||||||
|
|
||||||
cflags: ["-Werror"],
|
cflags: ["-Werror"],
|
||||||
include_dirs: ["external/safe-iop/include"],
|
include_dirs: ["external/safe-iop/include"],
|
||||||
|
header_libs: ["libutils_headers"],
|
||||||
|
export_header_lib_headers: ["libutils_headers"],
|
||||||
|
|
||||||
arch: {
|
arch: {
|
||||||
mips: {
|
mips: {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue