Chromium Code Reviews| OLD | NEW |
|---|---|
| (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 } | |
| OLD | NEW |