From d19b394439bf90991de8071756ccb645a5819928 Mon Sep 17 00:00:00 2001 From: Matthew Kennedy Date: Tue, 28 Feb 2023 03:26:26 -0800 Subject: [PATCH] no jni check needed --- unit_tests/unit_test_rules.mk | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/unit_tests/unit_test_rules.mk b/unit_tests/unit_test_rules.mk index 90b02ed2d6..ce1fceb4f8 100644 --- a/unit_tests/unit_test_rules.mk +++ b/unit_tests/unit_test_rules.mk @@ -137,27 +137,6 @@ OD = $(TRGT)objdump HEX = $(CP) -O ihex BIN = $(CP) -O binary -ifndef JAVA_HOME -$(error JAVA_HOME is undefined - due to JNI integration unit tests depend on JAVA_HOME) -endif - -ifneq (1,$(words [$(JAVA_HOME)])) -$(error JAVA_HOME $(JAVA_HOME) seems to contain spaces this would not work well. please use folder name without space often progra~1) -endif - -AOPT = -fPIC -I$(JAVA_HOME)/include - -ifeq ($(OS),Windows_NT) -# TODO: add validation to assert that we do not have Windows slash in JAVA_HOME variable - AOPT += -I$(JAVA_HOME)/include/win32 -else - ifeq ($(IS_MAC),yes) - AOPT += -I$(JAVA_HOME)/include/darwin - else - AOPT += -I$(JAVA_HOME)/include/linux - endif -endif - # Define C warning options here CWARN = -Wall -Wextra -Wstrict-prototypes -pedantic -Wmissing-prototypes -Wold-style-definition