Home | History | Annotate | Download | only in libwebp
      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_libwebp_libwebp_gyp
      7 LOCAL_MODULE_STEM := webp
      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 	$(call intermediates-dir-for,STATIC_LIBRARIES,third_party_libwebp_libwebp_dec_gyp)/third_party_libwebp_libwebp_dec_gyp.a \
     16 	$(call intermediates-dir-for,STATIC_LIBRARIES,third_party_libwebp_libwebp_demux_gyp)/third_party_libwebp_libwebp_demux_gyp.a \
     17 	$(call intermediates-dir-for,STATIC_LIBRARIES,third_party_libwebp_libwebp_dsp_gyp)/third_party_libwebp_libwebp_dsp_gyp.a \
     18 	$(call intermediates-dir-for,STATIC_LIBRARIES,third_party_libwebp_libwebp_dsp_neon_gyp)/third_party_libwebp_libwebp_dsp_neon_gyp.a \
     19 	$(call intermediates-dir-for,STATIC_LIBRARIES,third_party_libwebp_libwebp_enc_gyp)/third_party_libwebp_libwebp_enc_gyp.a \
     20 	$(call intermediates-dir-for,STATIC_LIBRARIES,third_party_libwebp_libwebp_utils_gyp)/third_party_libwebp_libwebp_utils_gyp.a
     21 
     22 GYP_GENERATED_OUTPUTS :=
     23 
     24 # Make sure our deps and generated files are built first.
     25 LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS)
     26 
     27 ### Rules for final target.
     28 # Add target alias to "gyp_all_modules" target.
     29 .PHONY: gyp_all_modules
     30 gyp_all_modules: third_party_libwebp_libwebp_gyp
     31 
     32 # Alias gyp target name.
     33 .PHONY: libwebp
     34 libwebp: third_party_libwebp_libwebp_gyp
     35 
     36 LOCAL_MODULE_PATH := $(PRODUCT_OUT)/gyp_stamp
     37 LOCAL_UNINSTALLABLE_MODULE := true
     38 
     39 include $(BUILD_SYSTEM)/base_rules.mk
     40 
     41 $(LOCAL_BUILT_MODULE): $(LOCAL_ADDITIONAL_DEPENDENCIES)
     42 	$(hide) echo "Gyp timestamp: $@"
     43 	$(hide) mkdir -p $(dir $@)
     44 	$(hide) touch $@
     45