commit | 3bdc23d45b746a55bdc1358713580bd74f1a76b7 | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Thu Jun 16 20:03:42 2022 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Thu Jun 16 20:03:42 2022 +0000 |
tree | df0a7d639b6f99b3b778245536d051415ab2c8c8 | |
parent | 0c44a3fc5878c4e29d2de76d9e5a35ffd8db2c9a [diff] | |
parent | d1b4c3d8b1764d902cbb5cd627fce3ac1331fe3d [diff] |
Snap for 8736029 from d1b4c3d8b1764d902cbb5cd627fce3ac1331fe3d to mainline-go-adbd-release Change-Id: I41f78b6e6e35e9be8c4a6d3aaa69bd9c38d6f554
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