This reverts commit 642965c678.
Reason for revert: Droidfood Blocking Bug: 217145027
Change-Id: I669b72fcd91c62e28883b5f55eb36af274d85806
(cherry picked from commit 8dbea15e5da05b371572297041454569dc166c90)
Merged-In:I669b72fcd91c62e28883b5f55eb36af274d85806
19 lines
681 B
Bash
Executable File
19 lines
681 B
Bash
Executable File
#!/bin/bash
|
|
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 |