Home | History | Annotate | Download | only in sdk
      1 ifeq ($(PRODUCT_IS_ATV_SDK),true)
      2 # Refer to development/build/Android.mk
      3 source_properties_file := \
      4     $(HOST_OUT)/device/google/atv/sdk/images_$(TARGET_CPU_ABI)_source.properties
      5 
      6 ALL_SDK_FILES += $(source_properties_file)
      7 
      8 $(source_properties_file): $(TOPDIR)device/google/atv/sdk/images_$(TARGET_CPU_ABI)_source.prop_template
      9 	@echo Generate $@
     10 	$(hide) mkdir -p $(dir $@)
     11 	$(hide) sed -e 's/$${PLATFORM_VERSION}/$(PLATFORM_VERSION)/' \
     12 		 -e 's/$${PLATFORM_SDK_VERSION}/$(PLATFORM_SDK_VERSION)/' \
     13 		 -e 's/$${PLATFORM_VERSION_CODENAME}/$(subst REL,,$(PLATFORM_VERSION_CODENAME))/' \
     14 		 $< > $@ && sed -i -e '/^AndroidVersion.CodeName=\s*$$/d' $@
     15 
     16 source_properties_file :=
     17 endif # ATV SDK build
     18