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

Side by Side Diff: third_party/openh264/testing/BUILD.gn

Issue 1446453004: Adding third_party/openh264 build files for encoding (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed brettw comments, (use_openh264 = true again for trybots) 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 import("//testing/test.gni")
6 import("//third_party/openh264/openh264_args.gni")
7
8 if (use_openh264) {
9 test("openh264_unittests") {
10 sources = [
11 "h264_codec_tester.cc",
12 "h264_codec_tester.h",
13 "h264_decoder_impl.cc",
14 "h264_decoder_impl.h",
15 "h264_encoder_impl.cc",
16 "h264_encoder_impl.h",
17 "i420_utils.cc",
18 "i420_utils.h",
19 "openh264_unittests.cc",
20 ]
21 defines = [ "INCLUDE_OPENH264_UNITTESTS" ]
22 deps = [
23 "//testing/gtest",
24 "//third_party/openh264:openh264_encoder",
25 "//third_party/openh264:openh264_decoder",
26 "//third_party/webrtc/common_video",
27 ]
28 }
29 } else {
30 # When building without OpenH264 we still produce a test binary but it won't
31 # contain any tests.
32 test("openh264_unittests") {
33 sources = [
34 "openh264_unittests.cc",
35 ]
36 deps = [
37 "//testing/gtest",
38 ]
39 }
40 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698