diff options
author | David Deephanphongs <dpanpong@google.com> | 2010-10-19 14:54:05 -0700 |
---|---|---|
committer | Jean-Baptiste Queru <jbq@google.com> | 2010-10-19 16:56:02 -0700 |
commit | 62f2ada64f7213243eafd7a4a4c3ccd5040ad85a (patch) | |
tree | 89da1077376b3f28e2cc680ef4d0ca54a2431e24 /cmds | |
parent | 99291b95b2ee1e1b2371806e6f6c96767a350c88 (diff) | |
download | frameworks_base-62f2ada64f7213243eafd7a4a4c3ccd5040ad85a.zip frameworks_base-62f2ada64f7213243eafd7a4a4c3ccd5040ad85a.tar.gz frameworks_base-62f2ada64f7213243eafd7a4a4c3ccd5040ad85a.tar.bz2 |
Add missing NOTICE entries.
Add missing NOTICE block for TagSoup in general NOTICE file.
Add comment in Android.mk to help reviewers locate the NOTICE for apache-http.
Modify build rule for 'am' command to pull in the NOTICE file.
Change-Id: I43c6c1468395b70d0942b3620f12e4b6f3d9a66b
Diffstat (limited to 'cmds')
-rw-r--r-- | cmds/am/Android.mk | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/cmds/am/Android.mk b/cmds/am/Android.mk index 170849d..8b321b3 100644 --- a/cmds/am/Android.mk +++ b/cmds/am/Android.mk @@ -12,3 +12,20 @@ ALL_PREBUILT += $(TARGET_OUT)/bin/am $(TARGET_OUT)/bin/am : $(LOCAL_PATH)/am | $(ACP) $(transform-prebuilt-to-target) +NOTICE_FILE := NOTICE +files_noticed := bin/am + +# Generate rules for a single file. The argument is the file path relative to +# the installation root +define make-notice-file + +$(TARGET_OUT_NOTICE_FILES)/src/$(1).txt: $(LOCAL_PATH)/$(NOTICE_FILE) + @echo Notice file: $$< -- $$@ + @mkdir -p $$(dir $$@) + @cat $$< >> $$@ + +$(TARGET_OUT_NOTICE_FILES)/hash-timestamp: $(TARGET_OUT_NOTICE_FILES)/src/$(1).txt + +endef + +$(foreach file,$(files_noticed),$(eval $(call make-notice-file,$(file)))) |