OSDN Git Service

Don't add dependencies on Makefiles when using ninja
authorColin Cross <ccross@android.com>
Mon, 28 Sep 2015 23:26:00 +0000 (16:26 -0700)
committerColin Cross <ccross@android.com>
Mon, 28 Sep 2015 23:29:52 +0000 (16:29 -0700)
commita4447e8c89ca193ffdb4678de78998f9857ae7c7
tree497c88df13f3733731875e18a1865e1f49287ebc
parent6c3bf1b800d8b7514731cbb169b1070e172a1148
Don't add dependencies on Makefiles when using ninja

Ninja has an implicit dependency on the command being run, and kati will
regenerate the ninja manifest if any read makefile changes, so there is no
need to have dependencies on makefiles.
This won't catch all the cases where LOCAL_ADDITIONAL_DEPENDENCIES contains
a .mk file, because a few users of LOCAL_ADDITIONAL_DEPENDENCIES don't
include base_rules.mk, but it will fix the most common ones.

Bug: 23566977
Change-Id: I66de882421376303ab7233c8ce7274548f6b2199
13 files changed:
core/base_rules.mk
core/binary.mk
core/definitions.mk
core/droiddoc.mk
core/executable_prefer_symlink.mk
core/host_dalvik_java_library.mk
core/host_dalvik_static_java_library.mk
core/host_java_library.mk
core/host_shared_library_internal.mk
core/java.mk
core/phony_package.mk
core/prebuilt_internal.mk
core/shared_library_internal.mk