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

Side by Side 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 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
OLDNEW
(Empty)
1 # Copyright 2015 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 {
6 'includes': [
7 '../openh264_args.gypi',
8 ],
9 'conditions': [
10 ['use_openh264==1', {
11 'targets': [
12 {
13 'target_name': 'openh264_unittests',
14 'type': '<(gtest_target_type)',
15 'dependencies': [
16 '<(DEPTH)/testing/gtest.gyp:gtest',
17 '<(DEPTH)/third_party/webrtc/common_video/common_video.gyp:common_vi deo',
18 '../openh264.gyp:openh264_encoder',
19 '../openh264.gyp:openh264_decoder',
20 ],
21 'defines': [
22 'INCLUDE_OPENH264_UNITTESTS',
23 ],
24 'include_dirs': [
25 '<(DEPTH)',
26 '<(DEPTH)/third_party',
27 ],
28 'sources': [
29 'h264_codec_tester.cc',
30 'h264_codec_tester.h',
31 'h264_decoder_impl.cc',
32 'h264_decoder_impl.h',
33 'h264_encoder_impl.cc',
34 'h264_encoder_impl.h',
35 'i420_utils.cc',
36 'i420_utils.h',
37 'openh264_unittests.cc',
38 ],
39 },
40 ],
41 }, {
42 # When building without OpenH264 we still produce a test binary but it
43 # won't contain any tests.
44 'targets': [
45 {
46 'target_name': 'openh264_unittests',
47 'type': '<(gtest_target_type)',
48 'dependencies': [
49 '<(DEPTH)/testing/gtest.gyp:gtest',
50 ],
51 'include_dirs': [
52 '<(DEPTH)',
53 ],
54 'sources': [
55 'openh264_unittests.cc',
56 ],
57 },
58 ],
59 }],
60 ],
61 }
OLDNEW
« 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