diff options
author | Dan Albert <danalbert@google.com> | 2014-11-08 22:20:03 -0800 |
---|---|---|
committer | Dan Albert <danalbert@google.com> | 2014-11-11 14:30:54 -0800 |
commit | 954b5bdcf4c3621c10666a09bbfc3fe1cf785950 (patch) | |
tree | ef93620abe82f1d26b98d15d5588426cc2debfa6 /core/shared_library_internal.mk | |
parent | 1f6371583ef6ce3a384262ebb291515f5ca3a7b6 (diff) | |
download | build-954b5bdcf4c3621c10666a09bbfc3fe1cf785950.zip build-954b5bdcf4c3621c10666a09bbfc3fe1cf785950.tar.gz build-954b5bdcf4c3621c10666a09bbfc3fe1cf785950.tar.bz2 |
Make modules depend on their makefile.
This should obviate much of the need for cleanspecs, and also make it
unnecessary to continue adding LOCAL_ADDITIONAL_DEPENDENCIES for this
sort of thing all over the tree.
Change-Id: I97aa8fd280ae868a5f6364f8b7bf3c2fe235d6ce
Diffstat (limited to 'core/shared_library_internal.mk')
-rw-r--r-- | core/shared_library_internal.mk | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/core/shared_library_internal.mk b/core/shared_library_internal.mk index baedb3b..1fda794 100644 --- a/core/shared_library_internal.mk +++ b/core/shared_library_internal.mk @@ -64,9 +64,13 @@ $(linked_module): PRIVATE_TARGET_LIBATOMIC := $(my_target_libatomic) $(linked_module): PRIVATE_TARGET_CRTBEGIN_SO_O := $(my_target_crtbegin_so_o) $(linked_module): PRIVATE_TARGET_CRTEND_SO_O := $(my_target_crtend_so_o) -$(linked_module): $(all_objects) $(all_libraries) \ - $(LOCAL_ADDITIONAL_DEPENDENCIES) \ - $(my_target_crtbegin_so_o) $(my_target_crtend_so_o) +$(linked_module): \ + $(all_objects) \ + $(all_libraries) \ + $(my_target_crtbegin_so_o) \ + $(my_target_crtend_so_o) \ + $(LOCAL_MODULE_MAKEFILE) \ + $(LOCAL_ADDITIONAL_DEPENDENCIES) $(transform-o-to-shared-lib) endif # skip_build_from_source |