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

Unified Diff: third_party/openh264/testing/openh264_unittests.gyp

Issue 1446453004: Adding third_party/openh264 build files for encoding (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: use_openh264 = conditional on chrome branding again Created 5 years, 1 month 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 side-by-side diff with in-line comments
Download patch
Index: third_party/openh264/testing/openh264_unittests.gyp
diff --git a/third_party/openh264/testing/openh264_unittests.gyp b/third_party/openh264/testing/openh264_unittests.gyp
new file mode 100644
index 0000000000000000000000000000000000000000..bc2b615c46cb74b0bd06f13279e5a5f5261963f9
--- /dev/null
+++ b/third_party/openh264/testing/openh264_unittests.gyp
@@ -0,0 +1,61 @@
+# Copyright 2015 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+{
+ 'includes': [
+ '../openh264_args.gypi',
+ ],
+ 'conditions': [
+ ['use_openh264==1', {
+ 'targets': [
+ {
+ 'target_name': 'openh264_unittests',
+ 'type': '<(gtest_target_type)',
+ 'dependencies': [
+ '<(DEPTH)/testing/gtest.gyp:gtest',
+ '<(DEPTH)/third_party/webrtc/common_video/common_video.gyp:common_video',
+ '../openh264.gyp:openh264_encoder',
+ '../openh264.gyp:openh264_decoder',
+ ],
+ 'defines': [
+ 'INCLUDE_OPENH264_UNITTESTS',
+ ],
+ 'include_dirs': [
+ '<(DEPTH)',
+ '<(DEPTH)/third_party',
+ ],
+ 'sources': [
+ 'h264_codec_tester.cc',
+ 'h264_codec_tester.h',
+ 'h264_decoder_impl.cc',
+ 'h264_decoder_impl.h',
+ 'h264_encoder_impl.cc',
+ 'h264_encoder_impl.h',
+ 'i420_utils.cc',
+ 'i420_utils.h',
+ 'openh264_unittests.cc',
+ ],
+ },
+ ],
+ }, {
+ # When building without OpenH264 we still produce a test binary but it
+ # won't contain any tests.
+ 'targets': [
+ {
+ 'target_name': 'openh264_unittests',
+ 'type': '<(gtest_target_type)',
+ 'dependencies': [
+ '<(DEPTH)/testing/gtest.gyp:gtest',
+ ],
+ 'include_dirs': [
+ '<(DEPTH)',
+ ],
+ 'sources': [
+ 'openh264_unittests.cc',
+ ],
+ },
+ ],
+ }],
+ ],
+}
« third_party/openh264/testing/BUILD.gn ('K') | « third_party/openh264/testing/openh264_unittests.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698