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

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

Issue 1217053002: libvpx: Pull from upstream (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/libvpx.git@master
Patch Set: Created 5 years, 5 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/vp9_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 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 -I$(LIBVPX_PATH) \ 156 -I$(LIBVPX_PATH) \
157 -I$(ASM_CNV_PATH) 157 -I$(ASM_CNV_PATH)
158 158
159 LOCAL_MODULE := libvpx 159 LOCAL_MODULE := libvpx
160 160
161 ifeq ($(CONFIG_RUNTIME_CPU_DETECT),yes) 161 ifeq ($(CONFIG_RUNTIME_CPU_DETECT),yes)
162 LOCAL_STATIC_LIBRARIES := cpufeatures 162 LOCAL_STATIC_LIBRARIES := cpufeatures
163 endif 163 endif
164 164
165 # Add a dependency to force generation of the RTCD files. 165 # Add a dependency to force generation of the RTCD files.
166 define rtcd_dep_template
166 ifeq ($(CONFIG_VP8), yes) 167 ifeq ($(CONFIG_VP8), yes)
167 $(foreach file, $(LOCAL_SRC_FILES), $(LOCAL_PATH)/$(file)): vp8_rtcd.h 168 $(foreach file, $(LOCAL_SRC_FILES), $(LOCAL_PATH)/$(file)): vp8_rtcd.h
168 endif 169 endif
169 ifeq ($(CONFIG_VP9), yes) 170 ifeq ($(CONFIG_VP9), yes)
170 $(foreach file, $(LOCAL_SRC_FILES), $(LOCAL_PATH)/$(file)): vp9_rtcd.h 171 $(foreach file, $(LOCAL_SRC_FILES), $(LOCAL_PATH)/$(file)): vp9_rtcd.h
171 endif 172 endif
172 $(foreach file, $(LOCAL_SRC_FILES), $(LOCAL_PATH)/$(file)): vpx_scale_rtcd.h 173 $(foreach file, $(LOCAL_SRC_FILES), $(LOCAL_PATH)/$(file)): vpx_scale_rtcd.h
173 $(foreach file, $(LOCAL_SRC_FILES), $(LOCAL_PATH)/$(file)): vpx_dsp_rtcd.h 174 $(foreach file, $(LOCAL_SRC_FILES), $(LOCAL_PATH)/$(file)): vpx_dsp_rtcd.h
174 175
175 ifeq ($(TARGET_ARCH_ABI),x86) 176 ifeq ($(TARGET_ARCH_ABI),x86)
176 $(foreach file, $(LOCAL_SRC_FILES), $(LOCAL_PATH)/$(file)): vpx_config.asm 177 $(foreach file, $(LOCAL_SRC_FILES), $(LOCAL_PATH)/$(file)): vpx_config.asm
177 endif 178 endif
179 endef
180
181 $(eval $(call rtcd_dep_template))
178 182
179 .PHONY: clean 183 .PHONY: clean
180 clean: 184 clean:
181 @echo "Clean: ads2gas files [$(TARGET_ARCH_ABI)]" 185 @echo "Clean: ads2gas files [$(TARGET_ARCH_ABI)]"
182 @$(RM) $(CODEC_SRCS_ASM_ADS2GAS) $(CODEC_SRCS_ASM_NEON_ADS2GAS) 186 @$(RM) $(CODEC_SRCS_ASM_ADS2GAS) $(CODEC_SRCS_ASM_NEON_ADS2GAS)
183 @$(RM) -r $(ASM_CNV_PATH) 187 @$(RM) -r $(ASM_CNV_PATH)
184 @$(RM) $(CLEAN-OBJS) 188 @$(RM) $(CLEAN-OBJS)
185 189
186 ifeq ($(ENABLE_SHARED),1) 190 ifeq ($(ENABLE_SHARED),1)
187 include $(BUILD_SHARED_LIBRARY) 191 include $(BUILD_SHARED_LIBRARY)
188 else 192 else
189 include $(BUILD_STATIC_LIBRARY) 193 include $(BUILD_STATIC_LIBRARY)
190 endif 194 endif
191 195
192 ifeq ($(CONFIG_RUNTIME_CPU_DETECT),yes) 196 ifeq ($(CONFIG_RUNTIME_CPU_DETECT),yes)
193 $(call import-module,cpufeatures) 197 $(call import-module,cpufeatures)
194 endif 198 endif
OLDNEW
« no previous file with comments | « source/config/win/x64/vp9_rtcd.h ('k') | source/libvpx/build/make/Makefile » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698