diff options
author | Christopher Ferris <cferris@google.com> | 2017-11-14 17:32:13 -0800 |
---|---|---|
committer | Christopher Ferris <cferris@google.com> | 2017-11-15 12:23:56 -0800 |
commit | 1308ad3ab33294c3abfd96da12b6df58b381ce52 (patch) | |
tree | 10aea87a1e3992b38fcc830b74bc4962a1f537bf /libc/kernel/tools/cpp.py | |
parent | 315dd896deae928f3e64f94d75cd20566cc95183 (diff) |
Update to kernel headers v4.14.
Remove the hiding of the kernel structure binder_fd_array_object. This
structure now matches the structure used in the binder code.
Load the libclang_android.so shared library directly for parsing.
This file changed name in a recent update to the prebuilts.
Test: Compiles arm/arm64/x86/x86_64.
Test: Boots on hikey and boots on a sailfish.
Test: Ran bionic unit tests on hikey and sailfish.
Change-Id: I141a4b93ac3511cd58f4d12bb3c0d4efaa4c2742
Diffstat (limited to 'libc/kernel/tools/cpp.py')
-rw-r--r-- | libc/kernel/tools/cpp.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/kernel/tools/cpp.py b/libc/kernel/tools/cpp.py index fff80f67e..68144cd5c 100644 --- a/libc/kernel/tools/cpp.py +++ b/libc/kernel/tools/cpp.py @@ -27,7 +27,7 @@ from clang.cindex import TranslationUnit # Set up LD_LIBRARY_PATH to include libclang.so, libLLVM.so, and etc. # Note that setting LD_LIBRARY_PATH with os.putenv() sometimes doesn't help. -clang.cindex.Config.set_library_path(os.path.join(top, 'prebuilts/sdk/tools/linux/lib64')) +clang.cindex.Config.set_library_file(os.path.join(top, 'prebuilts/sdk/tools/linux/lib64/libclang_android.so')) from defaults import kCppUndefinedMacro from defaults import kernel_remove_config_macros |