No-Typo-Check: Not related to this change. Bug: 161477208 Change-Id: I99e4780f6855b7045aa0cd5a49c13d2d0d51ed64
32 lines
1.3 KiB
Bash
Executable File
32 lines
1.3 KiB
Bash
Executable File
#!/bin/bash
|
|
|
|
echo "XXX---XXX---XXX---XXX---XXX---XXX---XXX---XXX---XXX---XXX---XXX---XXX---XXX"
|
|
echo "XXX---XXX---XXX---XXX---XXX---XXX---XXX---XXX---XXX---XXX---XXX---XXX---XXX"
|
|
echo "TODO(b/192560463): The OPK does not build because it expects an"
|
|
echo "older version of the ODK library. The ipc_ref tests do not work because"
|
|
echo "the reference code is v17 but OPK is v16."
|
|
# Also, if you are fixing this script, it should probably be moved to the jenkins
|
|
# directory, so that it is next to all the other scripts that Luci runs.
|
|
echo "XXX---XXX---XXX---XXX---XXX---XXX---XXX---XXX---XXX---XXX---XXX---XXX---XXX"
|
|
echo "XXX---XXX---XXX---XXX---XXX---XXX---XXX---XXX---XXX---XXX---XXX---XXX---XXX"
|
|
exit 0
|
|
|
|
set -ex
|
|
|
|
export CXX=clang++
|
|
export CC=clang
|
|
export GYP_DEFINES="$GYP_DEFINES clang=1"
|
|
export PATH_TO_CDM_DIR=.
|
|
export PYTHONPATH="$PYTHONPATH:$PATH_TO_CDM_DIR/third_party"
|
|
|
|
python3 $PATH_TO_CDM_DIR/third_party/gyp/__init__.py --format=ninja \
|
|
--depth=$(pwd) oemcrypto/test/fuzz_tests/oemcrypto_fuzztests.gyp
|
|
ninja -C out/Default
|
|
# oemcrypto_opk_fuzztests.gypi has flags to instrument all the gyp targets
|
|
# with fuzzer flags.
|
|
python3 $PATH_TO_CDM_DIR/third_party/gyp/__init__.py --format=ninja \
|
|
--depth=$(pwd) \
|
|
--include=oemcrypto/test/fuzz_tests/oemcrypto_opk_fuzztests.gypi \
|
|
oemcrypto/test/fuzz_tests/oemcrypto_opk_fuzztests.gyp
|
|
ninja -C out/Default
|