commit | 5ff80617fa99c7d61b4e058f0c65431bec55cd7d | [log] [tgz] |
---|---|---|
author | Harish Mahendrakar <hmahendrakar@google.com> | Tue Jan 30 04:36:51 2024 +0000 |
committer | Harish Mahendrakar <harish.mahendrakar@ittiam.com> | Tue Jan 30 15:45:17 2024 -0800 |
tree | 29bb09eb7111642668999320be0b3674e0d1801e | |
parent | f0214b163b8ba105fa54ebe947ec36fbaeb621ee [diff] |
Enable unit tests in postsubmit After some time of running these in postsubmit, these will be changed to presubmit. - Added AvcEncTest to device-tests test suite - Also run bpfmt on test/Android.bp Bug: 304383609 Test: atest AvcEncTest Change-Id: Ic18b25d8ed27313b6e3a984259af1215ae240c9e
Supports:
Use the following commands for building on the target machine
$ cd external/libavc $ mkdir build $ cd build $ cmake .. $ make
$ cd external/libavc $ mkdir build $ cd build $ CFLAGS="-m32" CXXFLAGS="-m32" LDFLAGS="-m32" cmake .. $ make
Update ‘CMAKE_C_COMPILER’, ‘CMAKE_CXX_COMPILER’, ‘CMAKE_C_COMPILER_AR’, and ‘CMAKE_CXX_COMPILER_AR’ in CMAKE_TOOLCHAIN_FILE passed below
$ cd external/libavc $ mkdir build $ cd build
$ cmake .. -DCMAKE_TOOLCHAIN_FILE=../cmake/toolchains/aarch64_toolchain.cmake $ make
$ cmake .. -DCMAKE_TOOLCHAIN_FILE=../cmake/toolchains/aarch32_toolchain.cmake $ make