1 # This file is generated by gyp; do not edit. 2 3 include $(CLEAR_VARS) 4 5 LOCAL_MODULE_CLASS := GYP 6 LOCAL_MODULE := third_party_ashmem_ashmem_gyp 7 LOCAL_MODULE_STEM := ashmem 8 LOCAL_MODULE_SUFFIX := .stamp 9 LOCAL_MODULE_TAGS := optional 10 gyp_intermediate_dir := $(call local-intermediates-dir) 11 gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared) 12 13 # Make sure our deps are built first. 14 GYP_TARGET_DEPENDENCIES := 15 16 ### Rules for action "generate_ashmem_shim_headers": 17 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target/third_party/ashmem/ashmem.h: gyp_local_path := $(LOCAL_PATH) 18 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target/third_party/ashmem/ashmem.h: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir)) 19 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target/third_party/ashmem/ashmem.h: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir)) 20 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target/third_party/ashmem/ashmem.h: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH)) 21 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target/third_party/ashmem/ashmem.h: $(LOCAL_PATH)/tools/generate_shim_headers/generate_shim_headers.py $(GYP_TARGET_DEPENDENCIES) 22 @echo "Gyp action: Generating ashmem shim headers ($@)" 23 $(hide)cd $(gyp_local_path)/third_party/ashmem; mkdir -p $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target/third_party/ashmem; python ../../tools/generate_shim_headers/generate_shim_headers.py --headers-root . --output-directory "$(gyp_shared_intermediate_dir)/shim_headers/ashmem/target" --prefix cutils/ ashmem.h --generate 24 25 26 27 GYP_GENERATED_OUTPUTS := \ 28 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target/third_party/ashmem/ashmem.h 29 30 # Make sure our deps and generated files are built first. 31 LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS) 32 33 ### Rules for final target. 34 # Add target alias to "gyp_all_modules" target. 35 .PHONY: gyp_all_modules 36 gyp_all_modules: third_party_ashmem_ashmem_gyp 37 38 # Alias gyp target name. 39 .PHONY: ashmem 40 ashmem: third_party_ashmem_ashmem_gyp 41 42 LOCAL_MODULE_PATH := $(PRODUCT_OUT)/gyp_stamp 43 LOCAL_UNINSTALLABLE_MODULE := true 44 45 include $(BUILD_SYSTEM)/base_rules.mk 46 47 $(LOCAL_BUILT_MODULE): $(LOCAL_ADDITIONAL_DEPENDENCIES) 48 $(hide) echo "Gyp timestamp: $@" 49 $(hide) mkdir -p $(dir $@) 50 $(hide) touch $@ 51