Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(10)

Side by Side Diff: source/libvpx/build/make/Android.mk

Issue 13042014: Description: (Closed) Base URL: https://src.chromium.org/chrome/trunk/deps/third_party/libvpx/
Patch Set: libvpx: Pull from upstream Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « source/config/win/x64/vpx_scale_rtcd.h ('k') | source/libvpx/build/make/Makefile » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 ## 1 ##
2 ## Copyright (c) 2012 The WebM project authors. All Rights Reserved. 2 ## Copyright (c) 2012 The WebM project authors. All Rights Reserved.
3 ## 3 ##
4 ## Use of this source code is governed by a BSD-style license 4 ## Use of this source code is governed by a BSD-style license
5 ## that can be found in the LICENSE file in the root of the source 5 ## that can be found in the LICENSE file in the root of the source
6 ## tree. An additional intellectual property rights grant can be found 6 ## tree. An additional intellectual property rights grant can be found
7 ## in the file PATENTS. All contributing project authors may 7 ## in the file PATENTS. All contributing project authors may
8 ## be found in the AUTHORS file in the root of the source tree. 8 ## be found in the AUTHORS file in the root of the source tree.
9 ## 9 ##
10 10
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 $$(eval $$(call ev-build-file)) 105 $$(eval $$(call ev-build-file))
106 106
107 $(1) : $$(_OBJ) $(2) 107 $(1) : $$(_OBJ) $(2)
108 @mkdir -p $$(dir $$@) 108 @mkdir -p $$(dir $$@)
109 @grep $(OFFSET_PATTERN) $$< | tr -d '\#' | $(CONFIG_DIR)/$(ASM_CONVERSIO N) > $$@ 109 @grep $(OFFSET_PATTERN) $$< | tr -d '\#' | $(CONFIG_DIR)/$(ASM_CONVERSIO N) > $$@
110 endef 110 endef
111 111
112 # Use ads2gas script to convert from RVCT format to GAS format. This passes 112 # Use ads2gas script to convert from RVCT format to GAS format. This passes
113 # puts the processed file under $(ASM_CNV_PATH). Local clean rule 113 # puts the processed file under $(ASM_CNV_PATH). Local clean rule
114 # to handle removing these 114 # to handle removing these
115 ASM_CNV_OFFSETS_DEPEND = $(ASM_CNV_PATH)/asm_com_offsets.asm 115 ASM_CNV_OFFSETS_DEPEND = $(ASM_CNV_PATH)/vp8_asm_com_offsets.asm
116 ifeq ($(CONFIG_VP8_DECODER), yes) 116 ifeq ($(CONFIG_VP8_DECODER), yes)
117 ASM_CNV_OFFSETS_DEPEND += $(ASM_CNV_PATH)/asm_dec_offsets.asm 117 ASM_CNV_OFFSETS_DEPEND += $(ASM_CNV_PATH)/vp8_asm_dec_offsets.asm
118 endif 118 endif
119 ifeq ($(CONFIG_VP8_ENCODER), yes) 119 ifeq ($(CONFIG_VP8_ENCODER), yes)
120 ASM_CNV_OFFSETS_DEPEND += $(ASM_CNV_PATH)/asm_enc_offsets.asm 120 ASM_CNV_OFFSETS_DEPEND += $(ASM_CNV_PATH)/vp8_asm_enc_offsets.asm
121 endif 121 endif
122 122
123 .PRECIOUS: %.asm.s 123 .PRECIOUS: %.asm.s
124 $(ASM_CNV_PATH)/libvpx/%.asm.s: $(LIBVPX_PATH)/%.asm $(ASM_CNV_OFFSETS_DEPEND) 124 $(ASM_CNV_PATH)/libvpx/%.asm.s: $(LIBVPX_PATH)/%.asm $(ASM_CNV_OFFSETS_DEPEND)
125 @mkdir -p $(dir $@) 125 @mkdir -p $(dir $@)
126 @$(CONFIG_DIR)/$(ASM_CONVERSION) <$< > $@ 126 @$(CONFIG_DIR)/$(ASM_CONVERSION) <$< > $@
127 127
128 # For building vpx_rtcd.h, which has a rule in libs.mk 128 # For building vpx_rtcd.h, which has a rule in libs.mk
129 TGT_ISA:=$(word 1, $(subst -, ,$(TOOLCHAIN))) 129 TGT_ISA:=$(word 1, $(subst -, ,$(TOOLCHAIN)))
130 target := libs 130 target := libs
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
183 clean: 183 clean:
184 @echo "Clean: ads2gas files [$(TARGET_ARCH_ABI)]" 184 @echo "Clean: ads2gas files [$(TARGET_ARCH_ABI)]"
185 @$(RM) $(CODEC_SRCS_ASM_ADS2GAS) $(CODEC_SRCS_ASM_NEON_ADS2GAS) 185 @$(RM) $(CODEC_SRCS_ASM_ADS2GAS) $(CODEC_SRCS_ASM_NEON_ADS2GAS)
186 @$(RM) $(patsubst %.asm, %.*, $(ASM_CNV_OFFSETS_DEPEND)) 186 @$(RM) $(patsubst %.asm, %.*, $(ASM_CNV_OFFSETS_DEPEND))
187 @$(RM) -r $(ASM_CNV_PATH) 187 @$(RM) -r $(ASM_CNV_PATH)
188 @$(RM) $(CLEAN-OBJS) 188 @$(RM) $(CLEAN-OBJS)
189 189
190 include $(BUILD_SHARED_LIBRARY) 190 include $(BUILD_SHARED_LIBRARY)
191 191
192 $(eval $(call asm_offsets_template,\ 192 $(eval $(call asm_offsets_template,\
193 $(ASM_CNV_PATH)/asm_com_offsets.asm, \ 193 $(ASM_CNV_PATH)/vp8_asm_com_offsets.asm, \
194 $(LIBVPX_PATH)/vp8/common/asm_com_offsets.c)) 194 $(LIBVPX_PATH)/vp8/common/vp8_asm_com_offsets.c))
195 195
196 ifeq ($(CONFIG_VP8_DECODER), yes) 196 ifeq ($(CONFIG_VP8_DECODER), yes)
197 $(eval $(call asm_offsets_template,\ 197 $(eval $(call asm_offsets_template,\
198 $(ASM_CNV_PATH)/asm_dec_offsets.asm, \ 198 $(ASM_CNV_PATH)/vp8_asm_dec_offsets.asm, \
199 $(LIBVPX_PATH)/vp8/decoder/asm_dec_offsets.c)) 199 $(LIBVPX_PATH)/vp8/decoder/vp8_asm_dec_offsets.c))
200 endif 200 endif
201 201
202 ifeq ($(CONFIG_VP8_ENCODER), yes) 202 ifeq ($(CONFIG_VP8_ENCODER), yes)
203 $(eval $(call asm_offsets_template,\ 203 $(eval $(call asm_offsets_template,\
204 $(ASM_CNV_PATH)/asm_enc_offsets.asm, \ 204 $(ASM_CNV_PATH)/vp8_asm_enc_offsets.asm, \
205 $(LIBVPX_PATH)/vp8/encoder/asm_enc_offsets.c)) 205 $(LIBVPX_PATH)/vp8/encoder/vp8_asm_enc_offsets.c))
206 endif 206 endif
207 207
208 ifeq ($(CONFIG_RUNTIME_CPU_DETECT),yes) 208 ifeq ($(CONFIG_RUNTIME_CPU_DETECT),yes)
209 $(call import-module,cpufeatures) 209 $(call import-module,cpufeatures)
210 endif 210 endif
OLDNEW
« no previous file with comments | « source/config/win/x64/vpx_scale_rtcd.h ('k') | source/libvpx/build/make/Makefile » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698