Merge "notice files in system_other becomes included in system's one" into rvc-dev am: 22f98f1885

Original change: https://googleplex-android-review.googlesource.com/c/platform/build/+/11910080

Change-Id: I1c20546b4b937b13333d3256a7f8aacc5ef8161b
diff --git a/core/Makefile b/core/Makefile
index 8b5c971..9d564ce 100644
--- a/core/Makefile
+++ b/core/Makefile
@@ -974,6 +974,8 @@
 license_modules := $(filter-out $(TARGET_OUT_TESTCASES)/%,$(license_modules))
 # filesystem images: system, vendor, product, system_ext, and odm
 license_modules_system := $(filter $(TARGET_OUT)/%,$(license_modules))
+# system_other is relevant to system partition.
+license_modules_system += $(filter $(TARGET_OUT_SYSTEM_OTHER)/%,$(license_modules))
 license_modules_vendor := $(filter $(TARGET_OUT_VENDOR)/%,$(license_modules))
 license_modules_product := $(filter $(TARGET_OUT_PRODUCT)/%,$(license_modules))
 license_modules_system_ext := $(filter $(TARGET_OUT_SYSTEM_EXT)/%,$(license_modules))