From ce6ea7999ff19a0420f1ac3ebf5d70abdf0eca5d Mon Sep 17 00:00:00 2001 From: Logan Chien Date: Thu, 8 Nov 2018 14:48:47 +0800 Subject: [PATCH] header-checker: Fix unit test include directories This commit fixes the built-in include directories for header-abi-dumper unit test cases. Remove the reference to `prebuilts/sdk/renderscript/clang-include` because we don't check out `prebuilts/sdk` in `aosp-clang-tools` branch. Test: PATH=out/soong/dist/bin:$PATH \ development/vndk/tools/header-checker/tests/test.py Change-Id: Ieb24b0a53b719f4569149251efcdaa3722c0b88c --- vndk/tools/header-checker/utils/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vndk/tools/header-checker/utils/utils.py b/vndk/tools/header-checker/utils/utils.py index 989af99b9..237b567d8 100644 --- a/vndk/tools/header-checker/utils/utils.py +++ b/vndk/tools/header-checker/utils/utils.py @@ -19,7 +19,7 @@ except KeyError: BUILTIN_HEADERS_DIR = ( os.path.join(AOSP_DIR, 'bionic', 'libc', 'include'), os.path.join(AOSP_DIR, 'external', 'libcxx', 'include'), - os.path.join(AOSP_DIR, 'prebuilts', 'sdk', 'renderscript', 'clang-include'), + os.path.join(AOSP_DIR, 'prebuilts', 'clang-tools', 'linux-x86', 'clang-headers'), ) EXPORTED_HEADERS_DIR = (