diff options
Diffstat (limited to 'android/build/binary.make')
-rw-r--r-- | android/build/binary.make | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/android/build/binary.make b/android/build/binary.make index e22a96d..f6542dc 100644 --- a/android/build/binary.make +++ b/android/build/binary.make @@ -20,7 +20,8 @@ LOCAL_OBJS_DIR := $(call intermediates-dir-for,EXECUTABLES,$(LOCAL_MODULE)) LOCAL_OBJECTS := LOCAL_CC ?= $(CC) -LOCAL_C_SOURCES := $(filter %.c,$(LOCAL_SRC_FILES) $(LOCAL_GENERATED_SOURCES)) +LOCAL_C_SOURCES := $(filter %.c,$(LOCAL_SRC_FILES)) +LOCAL_GENERATED_C_SOURCES := $(filter %.c,$(LOCAL_GENERATED_SOURCES)) LOCAL_CXX_SOURCES := $(filter %$(LOCAL_CPP_EXTENSION),$(LOCAL_SRC_FILES) $(LOCAL_GENERATED_SOURCES)) LOCAL_OBJC_SOURCES := $(filter %.m,$(LOCAL_SRC_FILES) $(LOCAL_GENERATED_SOURCES)) @@ -28,6 +29,10 @@ $(foreach src,$(LOCAL_C_SOURCES), \ $(eval $(call compile-c-source,$(src))) \ ) +$(foreach src,$(LOCAL_GENERATED_C_SOURCES), \ + $(eval $(call compile-generated-c-source,$(src))) \ +) + $(foreach src,$(LOCAL_CXX_SOURCES), \ $(eval $(call compile-cxx-source,$(src))) \ ) |