Don't exclude GPL binaries from the emulator system image
GPL binaries are allowed on device and emulator as well
b/20341087
Change-Id: I777dccd0d5442ae2cd0b7e222f6a9beaa3648c37
diff --git a/core/main.mk b/core/main.mk
index 5ee0ec1..0fbcc14 100644
--- a/core/main.mk
+++ b/core/main.mk
@@ -750,6 +750,7 @@
$(TARGET_OUT)/% \
$(TARGET_OUT_DATA)/%, \
$(sort $(call get-tagged-modules,gnu)))
+ target_gnu_MODULES := $(filter-out $(TARGET_OUT_EXECUTABLES)/%,$(target_gnu_MODULES))
$(info Removing from sdk:)$(foreach d,$(target_gnu_MODULES),$(info : $(d)))
modules_to_install := \
$(filter-out $(target_gnu_MODULES),$(modules_to_install))