platform_bionic/libc/kernel/tools
Pat Tjin 00fde2aff6 Modify path for python clang support package
Due to commit 594844244237091347b62e8fbbc8a2851258db50 (update
stable to r468909b) the path for python3-clang support was moved from
   prebuilts/clang/host/linux-x86/clang-stable/lib64/python3/site-packages
to:
   prebuilts/clang/host/linux-x86/clang-stable/lib/python3/site-packages

Change the imports to point to the correct place.

Without the change:
  Traceback (most recent call last):
    File "bionic/libc/kernel/tools/./clean_header.py", line 72, in <module>
      import sys, cpp, kernel, glob, os, re, getopt
    File "bionic/libc/kernel/tools/cpp.py", line 19, in <module>
      import clang.cindex
  ModuleNotFoundError: No module named 'clang'

Bug: 254401594
Test: execute clean_headers.py
Signed-off-by: Pat Tjin <pattjin@google.com>
Change-Id: Ibf1423fbe78ee009366e26905c4a09e68ac8ff9b
2022-10-21 18:27:24 +00:00
..
clean_header.py Remove a mips-specific hack. 2022-10-05 00:05:05 +00:00
cpp.py Modify path for python clang support package 2022-10-21 18:27:24 +00:00
defaults.py Kernel header scrubber: remove unused map entries. 2022-10-06 20:40:44 +00:00
generate_uapi_headers.sh Add riscv64 to the list of uapi architectures. 2022-09-30 21:37:57 +00:00
kernel.py Fix overly-zealous strip. 2021-04-20 16:05:02 -07:00
update_all.py Add support for removing structs that cross blocks. 2022-08-09 17:49:31 -07:00
utils.py Update for python3. 2021-04-19 17:02:38 -07:00