This repository has been archived by the owner on Nov 3, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add to PRODUCT_COPY_FILES/PRODUCT_PACKAGES instead of replacing
Change-Id: I317b5ac3399cf82e4c708b52d84112d4b7b7d3df
- Loading branch information
Michael Vines
committed
Apr 26, 2013
1 parent
1333283
commit da67dc6
Showing
1 changed file
with
3 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 comments
on commit da67dc6
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Provided that the initial declaration of PRODUCT_COPY_FILES is set as a simple variable (:=) then all subsequent += will not be deferred so no performance impact (however negligible it would be!)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ahh, didn't know that. I just read the gnu manual about this which confirms this behavior. Thanks for the info.
The manual += done here is actually somewhat intentional - IIRC it forces make to expand variables now instead of waiting until PRODUCT_COPY_FILES is used, which makes things faster. Probably doesn't matter a whole lot in this case I guess.