platform_bionic/libc/kernel/tools
Christopher Ferris 15d3fef0da Refactor the kernel update scripts.
The previous versions of the scripts did a lot of redundant changes
and were hard to follow.

I rewrote most of update_all.py so that it's clear about what's going on.

I updated clean_header.py to change the cleanupFile function so that
there is no magic about where the destination file is going to wind up.
Now the caller specifies the final location.

I updated utils.py so that if you are trying to do an update in one
location, but your lunch target is from another location, it causes
an error.

Bug: 35726570

Change-Id: Ic5a44d90c2774a627eecde34c0c403bc925a497c
Test: Ran the updater and verified it works properly.
Test: Verified that doing an update in one tree to another tree
Test: fails.
2017-03-02 15:21:42 -08:00
..
clean_header.py Refactor the kernel update scripts. 2017-03-02 15:21:42 -08:00
cpp.py Update the search path for libclang.so 2015-04-22 10:47:01 -07:00
defaults.py Update to kernel headers v4.7.2. 2016-08-29 12:07:13 -07:00
generate_uapi_headers.sh More kernel header cleanup. 2016-07-22 12:21:25 -07:00
kernel.py Make cpp.py less braindead. 2013-11-06 12:04:48 -08:00
update_all.py Refactor the kernel update scripts. 2017-03-02 15:21:42 -08:00
utils.py Refactor the kernel update scripts. 2017-03-02 15:21:42 -08:00