diff options
author | Vijay Venkatraman <vijaykv@google.com> | 2017-01-05 10:22:52 -0800 |
---|---|---|
committer | Vijay Venkatraman <vijaykv@google.com> | 2017-01-22 19:45:38 -0800 |
commit | 3c6763ca21c1150d66daf8fde9b440b1c3219fe6 (patch) | |
tree | 7a8df02f4d5f95e86faa96886f77e21e61eba4e1 /libcutils/include_vndk/cutils | |
parent | 41ee55a8754f12389394c0266c05d09123707f77 (diff) | |
download | system_core-3c6763ca21c1150d66daf8fde9b440b1c3219fe6.tar.gz system_core-3c6763ca21c1150d66daf8fde9b440b1c3219fe6.tar.bz2 system_core-3c6763ca21c1150d66daf8fde9b440b1c3219fe6.zip |
Exporting C headers from system/core
Moved headers from include/libcutils and include/liblog to
libcutils/include and liblog/include respectively, so they can be
exported via these libs. They needed to be moved since Soong does
not allow export from external folder.
Added symlink from old locations. They are needed since Soong
includes system/core/include by default. Once all modules are
cleaned up to explicitly add the required libs, the symlinks will be
removed.
Also added liblog_vndk_headers that exports a special log/log.h for
VNDK.
Moved headers of libcutils to libcutils_headers. They should be used
by modules for header-only inlines. Added libcutils_headers as
dependency of libcutils.
Added libcutils_vndk_headers that exports a special cutils/log.h
deprecating usage of the file. A later CL will deprecate the one in
libcutils_headers
Test: Add above libs to shared lib of local module
Change-Id: I6e1f9c5f23d8b6eae13dc3b7e5dfe7fae93b8510
Diffstat (limited to 'libcutils/include_vndk/cutils')
29 files changed, 49 insertions, 0 deletions
diff --git a/libcutils/include_vndk/cutils/android_get_control_file.h b/libcutils/include_vndk/cutils/android_get_control_file.h new file mode 120000 index 000000000..70d6a3b0b --- /dev/null +++ b/libcutils/include_vndk/cutils/android_get_control_file.h @@ -0,0 +1 @@ +../../include/cutils/android_get_control_file.h
\ No newline at end of file diff --git a/libcutils/include_vndk/cutils/android_reboot.h b/libcutils/include_vndk/cutils/android_reboot.h new file mode 120000 index 000000000..9e1bf4cc4 --- /dev/null +++ b/libcutils/include_vndk/cutils/android_reboot.h @@ -0,0 +1 @@ +../../include/cutils/android_reboot.h
\ No newline at end of file diff --git a/libcutils/include_vndk/cutils/ashmem.h b/libcutils/include_vndk/cutils/ashmem.h new file mode 120000 index 000000000..5c07beb06 --- /dev/null +++ b/libcutils/include_vndk/cutils/ashmem.h @@ -0,0 +1 @@ +../../include/cutils/ashmem.h
\ No newline at end of file diff --git a/libcutils/include_vndk/cutils/atomic.h b/libcutils/include_vndk/cutils/atomic.h new file mode 120000 index 000000000..f4f14fe7d --- /dev/null +++ b/libcutils/include_vndk/cutils/atomic.h @@ -0,0 +1 @@ +../../include/cutils/atomic.h
\ No newline at end of file diff --git a/libcutils/include_vndk/cutils/bitops.h b/libcutils/include_vndk/cutils/bitops.h new file mode 120000 index 000000000..edbd60c04 --- /dev/null +++ b/libcutils/include_vndk/cutils/bitops.h @@ -0,0 +1 @@ +../../include/cutils/bitops.h
\ No newline at end of file diff --git a/libcutils/include_vndk/cutils/compiler.h b/libcutils/include_vndk/cutils/compiler.h new file mode 120000 index 000000000..08ebc103e --- /dev/null +++ b/libcutils/include_vndk/cutils/compiler.h @@ -0,0 +1 @@ +../../include/cutils/compiler.h
\ No newline at end of file diff --git a/libcutils/include_vndk/cutils/config_utils.h b/libcutils/include_vndk/cutils/config_utils.h new file mode 120000 index 000000000..e011738d7 --- /dev/null +++ b/libcutils/include_vndk/cutils/config_utils.h @@ -0,0 +1 @@ +../../include/cutils/config_utils.h
\ No newline at end of file diff --git a/libcutils/include_vndk/cutils/fs.h b/libcutils/include_vndk/cutils/fs.h new file mode 120000 index 000000000..576bfa3a4 --- /dev/null +++ b/libcutils/include_vndk/cutils/fs.h @@ -0,0 +1 @@ +../../include/cutils/fs.h
\ No newline at end of file diff --git a/libcutils/include_vndk/cutils/hashmap.h b/libcutils/include_vndk/cutils/hashmap.h new file mode 120000 index 000000000..6b18406ae --- /dev/null +++ b/libcutils/include_vndk/cutils/hashmap.h @@ -0,0 +1 @@ +../../include/cutils/hashmap.h
\ No newline at end of file diff --git a/libcutils/include_vndk/cutils/iosched_policy.h b/libcutils/include_vndk/cutils/iosched_policy.h new file mode 120000 index 000000000..26cf33323 --- /dev/null +++ b/libcutils/include_vndk/cutils/iosched_policy.h @@ -0,0 +1 @@ +../../include/cutils/iosched_policy.h
\ No newline at end of file diff --git a/libcutils/include_vndk/cutils/jstring.h b/libcutils/include_vndk/cutils/jstring.h new file mode 120000 index 000000000..f3fd546ab --- /dev/null +++ b/libcutils/include_vndk/cutils/jstring.h @@ -0,0 +1 @@ +../../include/cutils/jstring.h
\ No newline at end of file diff --git a/libcutils/include_vndk/cutils/klog.h b/libcutils/include_vndk/cutils/klog.h new file mode 120000 index 000000000..8ca85ff65 --- /dev/null +++ b/libcutils/include_vndk/cutils/klog.h @@ -0,0 +1 @@ +../../include/cutils/klog.h
\ No newline at end of file diff --git a/libcutils/include_vndk/cutils/list.h b/libcutils/include_vndk/cutils/list.h new file mode 120000 index 000000000..9fa4c90f3 --- /dev/null +++ b/libcutils/include_vndk/cutils/list.h @@ -0,0 +1 @@ +../../include/cutils/list.h
\ No newline at end of file diff --git a/libcutils/include_vndk/cutils/log.h b/libcutils/include_vndk/cutils/log.h new file mode 100644 index 000000000..ae74024a3 --- /dev/null +++ b/libcutils/include_vndk/cutils/log.h @@ -0,0 +1,21 @@ +/*Special log.h file for VNDK linking modules*/ +/* + * Copyright (C) 2005-2017 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. +*/ +#ifndef _LIBS_CUTIL_LOG_H +#define _LIBS_CUTIL_LOG_H +#warning "Deprecated: don't include cutils/log.h, use either android/log.h or log/log.h" +#include <log/log.h> +#endif /* _LIBS_CUTIL_LOG_H */ diff --git a/libcutils/include_vndk/cutils/memory.h b/libcutils/include_vndk/cutils/memory.h new file mode 120000 index 000000000..e0e7abcb6 --- /dev/null +++ b/libcutils/include_vndk/cutils/memory.h @@ -0,0 +1 @@ +../../include/cutils/memory.h
\ No newline at end of file diff --git a/libcutils/include_vndk/cutils/misc.h b/libcutils/include_vndk/cutils/misc.h new file mode 120000 index 000000000..db09eb59e --- /dev/null +++ b/libcutils/include_vndk/cutils/misc.h @@ -0,0 +1 @@ +../../include/cutils/misc.h
\ No newline at end of file diff --git a/libcutils/include_vndk/cutils/multiuser.h b/libcutils/include_vndk/cutils/multiuser.h new file mode 120000 index 000000000..524111f1c --- /dev/null +++ b/libcutils/include_vndk/cutils/multiuser.h @@ -0,0 +1 @@ +../../include/cutils/multiuser.h
\ No newline at end of file diff --git a/libcutils/include_vndk/cutils/native_handle.h b/libcutils/include_vndk/cutils/native_handle.h new file mode 120000 index 000000000..e324d4e75 --- /dev/null +++ b/libcutils/include_vndk/cutils/native_handle.h @@ -0,0 +1 @@ +../../include/cutils/native_handle.h
\ No newline at end of file diff --git a/libcutils/include_vndk/cutils/open_memstream.h b/libcutils/include_vndk/cutils/open_memstream.h new file mode 120000 index 000000000..c89408490 --- /dev/null +++ b/libcutils/include_vndk/cutils/open_memstream.h @@ -0,0 +1 @@ +../../include/cutils/open_memstream.h
\ No newline at end of file diff --git a/libcutils/include_vndk/cutils/partition_utils.h b/libcutils/include_vndk/cutils/partition_utils.h new file mode 120000 index 000000000..d9734c8ef --- /dev/null +++ b/libcutils/include_vndk/cutils/partition_utils.h @@ -0,0 +1 @@ +../../include/cutils/partition_utils.h
\ No newline at end of file diff --git a/libcutils/include_vndk/cutils/properties.h b/libcutils/include_vndk/cutils/properties.h new file mode 120000 index 000000000..d56118e67 --- /dev/null +++ b/libcutils/include_vndk/cutils/properties.h @@ -0,0 +1 @@ +../../include/cutils/properties.h
\ No newline at end of file diff --git a/libcutils/include_vndk/cutils/qtaguid.h b/libcutils/include_vndk/cutils/qtaguid.h new file mode 120000 index 000000000..bc02441a6 --- /dev/null +++ b/libcutils/include_vndk/cutils/qtaguid.h @@ -0,0 +1 @@ +../../include/cutils/qtaguid.h
\ No newline at end of file diff --git a/libcutils/include_vndk/cutils/record_stream.h b/libcutils/include_vndk/cutils/record_stream.h new file mode 120000 index 000000000..8de649456 --- /dev/null +++ b/libcutils/include_vndk/cutils/record_stream.h @@ -0,0 +1 @@ +../../include/cutils/record_stream.h
\ No newline at end of file diff --git a/libcutils/include_vndk/cutils/sched_policy.h b/libcutils/include_vndk/cutils/sched_policy.h new file mode 120000 index 000000000..ddebdd0f6 --- /dev/null +++ b/libcutils/include_vndk/cutils/sched_policy.h @@ -0,0 +1 @@ +../../include/cutils/sched_policy.h
\ No newline at end of file diff --git a/libcutils/include_vndk/cutils/sockets.h b/libcutils/include_vndk/cutils/sockets.h new file mode 120000 index 000000000..585250c31 --- /dev/null +++ b/libcutils/include_vndk/cutils/sockets.h @@ -0,0 +1 @@ +../../include/cutils/sockets.h
\ No newline at end of file diff --git a/libcutils/include_vndk/cutils/str_parms.h b/libcutils/include_vndk/cutils/str_parms.h new file mode 120000 index 000000000..9c79a8f88 --- /dev/null +++ b/libcutils/include_vndk/cutils/str_parms.h @@ -0,0 +1 @@ +../../include/cutils/str_parms.h
\ No newline at end of file diff --git a/libcutils/include_vndk/cutils/threads.h b/libcutils/include_vndk/cutils/threads.h new file mode 120000 index 000000000..99330ffad --- /dev/null +++ b/libcutils/include_vndk/cutils/threads.h @@ -0,0 +1 @@ +../../include/cutils/threads.h
\ No newline at end of file diff --git a/libcutils/include_vndk/cutils/trace.h b/libcutils/include_vndk/cutils/trace.h new file mode 120000 index 000000000..b12e14073 --- /dev/null +++ b/libcutils/include_vndk/cutils/trace.h @@ -0,0 +1 @@ +../../include/cutils/trace.h
\ No newline at end of file diff --git a/libcutils/include_vndk/cutils/uevent.h b/libcutils/include_vndk/cutils/uevent.h new file mode 120000 index 000000000..451283a0f --- /dev/null +++ b/libcutils/include_vndk/cutils/uevent.h @@ -0,0 +1 @@ +../../include/cutils/uevent.h
\ No newline at end of file |