1 # Copyright 2012 The Android Open Source Project
3 LOCAL_PATH:= $(call my-dir)
6 LOCAL_SRC_FILES := $(call all-subdir-java-files)
8 LOCAL_MODULE := content
10 include $(BUILD_JAVA_LIBRARY)
13 ALL_PREBUILT += $(TARGET_OUT)/bin/content
14 $(TARGET_OUT)/bin/content : $(LOCAL_PATH)/content | $(ACP)
15 $(transform-prebuilt-to-target)
18 files_noticed := bin/content
20 # Generate rules for a single file. The argument is the file path relative to
21 # the installation root
22 define make-notice-file
24 $(TARGET_OUT_NOTICE_FILES)/src/$(1).txt: $(LOCAL_PATH)/$(NOTICE_FILE)
25 @echo Notice file: $$< -- $$@
29 $(TARGET_OUT_NOTICE_FILES)/hash-timestamp: $(TARGET_OUT_NOTICE_FILES)/src/$(1).txt
33 $(foreach file,$(files_noticed),$(eval $(call make-notice-file,$(file))))