blob: b9eace49683743c98eaf1f04c437d81914a474f7
1 | intermediates := $(local-intermediates-dir) |
2 | |
3 | SRC := $(call my-dir)/include/vnd_40183.txt |
4 | ifeq (,$(wildcard $(SRC))) |
5 | # configuration file does not exist. Use default one |
6 | SRC := $(call my-dir)/include/vnd_generic.txt |
7 | endif |
8 | GEN := $(intermediates)/vnd_buildcfg.h |
9 | TOOL := $(TOP_DIR)external/bluetooth/bluedroid/tools/gen-buildcfg.sh |
10 | |
11 | $(GEN): PRIVATE_PATH := $(call my-dir) |
12 | $(GEN): PRIVATE_CUSTOM_TOOL = $(TOOL) $< $@ |
13 | $(GEN): $(SRC) $(TOOL) |
14 | $(transform-generated-source) |
15 | |
16 | LOCAL_GENERATED_SOURCES += $(GEN) |
17 |