Add dex_lang as common frontend to lir and LLVM. dex_lang + bc2lir =
Greenland
First commit of Greenland compiler: It's working in the sense of oat
tests. E.g., mm test-art-host-oat-Fibonacci. It shows the correct
bitcode before lir.
Change-Id: I91cbb02188325eb1fa605ed71ec7108fd2b0dbb9
diff --git a/build/Android.gtest.mk b/build/Android.gtest.mk
index 3405e7e..63c4b60 100644
--- a/build/Android.gtest.mk
+++ b/build/Android.gtest.mk
@@ -24,6 +24,10 @@
ART_TEST_CFLAGS += -DART_USE_LLVM_COMPILER=1
endif
+ifeq ($(ART_USE_GREENLAND_COMPILER),true)
+ ART_TEST_CFLAGS += -DART_USE_GREENLAND_COMPILER=1
+endif
+
# $(1): target or host
# $(2): file name
define build-art-test