diff options
author | Kevin DuBois <kevindubois@google.com> | 2020-11-18 13:25:52 -0800 |
---|---|---|
committer | Kevin DuBois <kevindubois@google.com> | 2020-11-25 10:01:18 -0800 |
commit | c256001091641af3302961cdf1b5e59a7d05da5b (patch) | |
tree | 86227acc5181ba333a19dfa86d6d7e97135fe400 | |
parent | 19071578272aa11301406a221e8c6ac79a1b8f50 (diff) | |
download | armnn-c256001091641af3302961cdf1b5e59a7d05da5b.tar.gz |
armnn: place flag around building armnn tests
Disable armnn tests, which still have a boost dependency, and are not
necessary to build the NN hal.
Test: build
Change-Id: I1c4cec7f0858295254778411b5a9f11e1918ba50
-rw-r--r-- | Android.mk | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk index 1232c59b0..3cfe5e3ca 100644 --- a/Android.mk +++ b/Android.mk @@ -282,6 +282,11 @@ include $(BUILD_STATIC_LIBRARY) ############### include $(CLEAR_VARS) +#For in-tree android build, disable building tests as the boost dependency (only used in test) +#is not present. +BUILD_TESTS := 0 +ifeq ($(BUILD_TESTS),1) + LOCAL_MODULE := armnn-tests ifeq ($(Q_OR_LATER),1) # "eng" is deprecated in Android Q @@ -453,3 +458,4 @@ endif endif include $(BUILD_EXECUTABLE) +endif |