Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0d583c83 authored by Jiyong Park's avatar Jiyong Park Committed by android-build-merger
Browse files

Merge "Avoid path conflicts for the notice files" am: 479cc847 am: 9c792a81

am: 29e4500e

Change-Id: I102bfe07bb7d9936a160ed2edec22d62b6cb674c
parents 07bc8f5b 29e4500e
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -71,8 +71,11 @@ else
      # javalib.jar is the default name for the build module (and isn't meaningful)
      # If that's what we have, substitute the module name instead.  These files
      # aren't included on the device, so this name is synthetic anyway.
      # Extra path "static" is added to try to avoid name conflict between the notice file of
      # this 'uninstallable' Java module and the notice file for another 'installable' Java module
      # whose stem is the same as this module's name.
      ifneq ($(filter javalib.jar,$(module_leaf)),)
        module_leaf := $(LOCAL_MODULE).jar
        module_leaf := static/$(LOCAL_MODULE).jar
      endif
      module_installed_filename := \
          $(patsubst $(PRODUCT_OUT)/%,%,$($(my_prefix)OUT_JAVA_LIBRARIES))/$(module_leaf)