commit | 2c284c59958089d836912b357b6e314df81f0be8 | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Thu Jun 16 21:53:38 2022 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Thu Jun 16 21:53:38 2022 +0000 |
tree | df0a7d639b6f99b3b778245536d051415ab2c8c8 | |
parent | 2086febc6eaab53479a8c9a293d9455a729a639b [diff] | |
parent | d1b4c3d8b1764d902cbb5cd627fce3ac1331fe3d [diff] |
Snap for 8736029 from d1b4c3d8b1764d902cbb5cd627fce3ac1331fe3d to mainline-go-extservices-release Change-Id: If654929ef917c20c92445b63c98b284fd4ee4a92
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