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

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: 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 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") {
Dirk Pranke 2015/11/21 00:48:51 If you want this to be run on the chromium bots, i
hbos_chromium 2015/11/23 09:06:13 OK, good to know. I'll do the bot stuff in a follo
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:gtest",
brettw 2015/11/24 00:05:19 This should just be "//testing/gtest"
hbos_chromium 2015/11/25 16:17:02 Done.
24 "//third_party/openh264:openh264_encoder",
25 "//third_party/openh264:openh264_decoder",
26 "//third_party/webrtc/common_video:common_video",
brettw 2015/11/24 00:05:19 This should just be ""//third_party/webrtc/common_
hbos_chromium 2015/11/25 16:17:02 OK done, but :openh264_encoder and :openh264_decod
brettw 2015/11/25 19:26:34 Yes, if you omit the colon the last component is i
hbos_chromium 2015/11/26 12:19:24 Acknowledged.
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:gtest",
brettw 2015/11/24 00:05:19 Same as above.
hbos_chromium 2015/11/25 16:17:02 Done.
38 ]
39 }
40 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698