OLD | NEW |
1 ## | 1 ## |
2 ## Copyright (c) 2010 The WebM project authors. All Rights Reserved. | 2 ## Copyright (c) 2010 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 359 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
370 | 370 |
371 | 371 |
372 ## | 372 ## |
373 ## libvpx test directives | 373 ## libvpx test directives |
374 ## | 374 ## |
375 ifeq ($(CONFIG_UNIT_TESTS),yes) | 375 ifeq ($(CONFIG_UNIT_TESTS),yes) |
376 LIBVPX_TEST_DATA_PATH ?= . | 376 LIBVPX_TEST_DATA_PATH ?= . |
377 | 377 |
378 include $(SRC_PATH_BARE)/test/test.mk | 378 include $(SRC_PATH_BARE)/test/test.mk |
379 LIBVPX_TEST_SRCS=$(addprefix test/,$(call enabled,LIBVPX_TEST_SRCS)) | 379 LIBVPX_TEST_SRCS=$(addprefix test/,$(call enabled,LIBVPX_TEST_SRCS)) |
380 LIBVPX_TEST_BINS=./test_libvpx | 380 LIBVPX_TEST_BINS=./test_libvpx$(EXE_SFX) |
381 LIBVPX_TEST_DATA=$(addprefix $(LIBVPX_TEST_DATA_PATH)/,\ | 381 LIBVPX_TEST_DATA=$(addprefix $(LIBVPX_TEST_DATA_PATH)/,\ |
382 $(call enabled,LIBVPX_TEST_DATA)) | 382 $(call enabled,LIBVPX_TEST_DATA)) |
383 libvpx_test_data_url=http://downloads.webmproject.org/test_data/libvpx/$(1) | 383 libvpx_test_data_url=http://downloads.webmproject.org/test_data/libvpx/$(1) |
384 | 384 |
385 $(LIBVPX_TEST_DATA): | 385 $(LIBVPX_TEST_DATA): |
386 @echo " [DOWNLOAD] $@" | 386 @echo " [DOWNLOAD] $@" |
387 $(qexec)trap 'rm -f $@' INT TERM &&\ | 387 $(qexec)trap 'rm -f $@' INT TERM &&\ |
388 curl -L -o $@ $(call libvpx_test_data_url,$(@F)) | 388 curl -L -o $@ $(call libvpx_test_data_url,$(@F)) |
389 | 389 |
390 testdata:: $(LIBVPX_TEST_DATA) | 390 testdata:: $(LIBVPX_TEST_DATA) |
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
488 @echo "INPUT += $^" >> $@ | 488 @echo "INPUT += $^" >> $@ |
489 @echo "PREDEFINED = VPX_CODEC_DISABLE_COMPAT" >> $@ | 489 @echo "PREDEFINED = VPX_CODEC_DISABLE_COMPAT" >> $@ |
490 @echo "INCLUDE_PATH += ." >> $@; | 490 @echo "INCLUDE_PATH += ." >> $@; |
491 @echo "ENABLED_SECTIONS += $(sort $(CODEC_DOC_SECTIONS))" >> $@ | 491 @echo "ENABLED_SECTIONS += $(sort $(CODEC_DOC_SECTIONS))" >> $@ |
492 | 492 |
493 ## Generate rtcd.h for all objects | 493 ## Generate rtcd.h for all objects |
494 $(OBJS-yes:.o=.d): $(RTCD) | 494 $(OBJS-yes:.o=.d): $(RTCD) |
495 | 495 |
496 ## Update the global src list | 496 ## Update the global src list |
497 SRCS += $(CODEC_SRCS) $(LIBVPX_TEST_SRCS) $(GTEST_SRCS) | 497 SRCS += $(CODEC_SRCS) $(LIBVPX_TEST_SRCS) $(GTEST_SRCS) |
OLD | NEW |