Logan Chien | eb56784 | 2011-07-14 19:58:42 +0800 | [diff] [blame] | 1 | # Build Rules for Extracting Configuration from Android.mk |
2 | intermediates := $(local-intermediates-dir) | ||||
3 | |||||
4 | GEN := $(intermediates)/ConfigFromMk.h | ||||
5 | |||||
6 | $(GEN): PRIVATE_PATH := $(LIBBCC_ROOT_PATH) | ||||
7 | $(GEN): PRIVATE_CUSTOM_TOOL = \ | ||||
8 | $(PRIVATE_PATH)/tools/gen-config-from-mk.py < $< > $@ | ||||
9 | $(GEN): $(LIBBCC_ROOT_PATH)/libbcc-config.mk \ | ||||
10 | $(LIBBCC_ROOT_PATH)/tools/gen-config-from-mk.py | ||||
11 | $(transform-generated-source) | ||||
12 | |||||
13 | LOCAL_GENERATED_SOURCES += $(GEN) |