OSDN Git Service

libalsautils: moved to vendor partition
authorIsaac Chen <ycchen@google.com>
Mon, 10 Apr 2017 06:43:30 +0000 (14:43 +0800)
committerIsaac Chen <ycchen@google.com>
Fri, 12 May 2017 08:09:25 +0000 (16:09 +0800)
Generic AOSP system image doesn't need libalsautils, so move
it to vendor partition in case vendors use it.

Bug: 37117855
Test: Build it with "vendor: true," and make sure it's actually
moved to vendor and also boot successfully on Sailfish.
Change-Id: Ib8c08276f0435b2b37ac6179100b7287b08f6f03

CleanSpec.mk
alsa_utils/Android.bp

index 1096f5d..7bc9963 100644 (file)
@@ -53,6 +53,10 @@ $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/filter
 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/SHARED_LIBRARIES/libaudioutils_intermediates)
 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/filterfw_intermediates)
 $(call add-clean-step, rm -f $(PRODUCT_OUT)/system/framework/filterfw.jar)
+$(call add-clean-step, rm -f $(PRODUCT_OUT)/symbols/system/lib/libalsautils.so)
+$(call add-clean-step, rm -f $(PRODUCT_OUT)/symbols/system/lib64/libalsautils.so)
+$(call add-clean-step, rm -f $(PRODUCT_OUT)/system/lib/libalsautils.so)
+$(call add-clean-step, rm -f $(PRODUCT_OUT)/system/lib64/libalsautils.so)
 
 # ************************************************
 # NEWER CLEAN STEPS MUST BE AT THE END OF THE LIST
index 4746af6..247419f 100644 (file)
@@ -14,6 +14,7 @@
 
 cc_library_shared {
     name: "libalsautils",
+    vendor: true,
     srcs: [
         "alsa_device_profile.c",
         "alsa_device_proxy.c",