diff options
author | Dan Albert <danalbert@google.com> | 2015-10-23 17:13:18 -0700 |
---|---|---|
committer | Dan Albert <danalbert@google.com> | 2015-10-23 17:19:33 -0700 |
commit | 13965c3ffe1501e8d5c77d663d1111da2fece989 (patch) | |
tree | 2dd5898f2b1329a2e79115fe89726bc880e836c9 /checkbuild.py | |
parent | c0f272bec743400b2c0ad46480618d410aa7d423 (diff) | |
download | ndk-13965c3ffe1501e8d5c77d663d1111da2fece989.tar.gz |
Build cpufeatures package.
Bug: http://b/23362228
Change-Id: I6877bf9cb6cd3ec8d2ce674364c2f2689cae500c
Diffstat (limited to 'checkbuild.py')
-rw-r--r-- | checkbuild.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/checkbuild.py b/checkbuild.py index 2abbc6d80..6c014e2d7 100644 --- a/checkbuild.py +++ b/checkbuild.py @@ -40,6 +40,7 @@ import build_support # pylint: disable=import-error ALL_MODULES = { 'binutils', 'clang', + 'cpufeatures', 'gcc', 'gcclibs', 'gdbserver', @@ -404,6 +405,13 @@ def build_tests(out_dir, _): root_dir=build_support.ndk_path()) +def build_cpufeatures(out_dir, _): + archive_name = os.path.join(out_dir, 'cpufeatures') + shutil.make_archive(archive_name, 'bztar', + base_dir='sources/android/cpufeatures', + root_dir=build_support.ndk_path()) + + def main(): args, package_args = ArgParser().parse_known_args() @@ -466,6 +474,7 @@ def main(): module_builds = collections.OrderedDict([ ('binutils', build_binutils), ('clang', build_clang), + ('cpufeatures', build_cpufeatures), ('gcc', build_gcc), ('gcclibs', build_gcc_libs), ('gdbserver', build_gdbserver), |