LOCAL_PATH:= $(call my-dir)
-ifeq ($(TARGET_ARCH),arm)
-
# Mock-ril only buid for debug variants
ifneq ($(filter userdebug eng tests, $(TARGET_BUILD_VARIANT)),)
-include $(CLEAR_VARS)
-
# Directories of source files
src_cpp=src/cpp
src_java=src/java
gen_src_py=$(src_generated)/python
gen_src_desc=$(src_generated)/desc
+ifeq ($(TARGET_ARCH),arm)
+
+include $(CLEAR_VARS)
+
LOCAL_SRC_FILES:= \
$(src_cpp)/ctrl_server.cpp \
$(src_cpp)/experiments.cpp \
include $(BUILD_SHARED_LIBRARY)
-endif
-
-endif
+endif # TARGET_ARCH == arm
# Java librilproto
# =======================================================
include $(BUILD_STATIC_JAVA_LIBRARY)
# =======================================================
+
+endif # TARGET_BUILD_VARIANT