diff options
author | brettw <brettw@chromium.org> | 2015-03-02 13:08:54 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-03-02 21:09:32 +0000 |
commit | 66c53eef76f7dff97b1bc76d51740c3a9c07844f (patch) | |
tree | e2bf20034d59bffefdb7e8d871148b8fc5626cbd /remoting/codec | |
parent | 32e6c72188d6b0b948d668afdc1cb209d44c2e70 (diff) | |
download | chromium_src-66c53eef76f7dff97b1bc76d51740c3a9c07844f.zip chromium_src-66c53eef76f7dff97b1bc76d51740c3a9c07844f.tar.gz chromium_src-66c53eef76f7dff97b1bc76d51740c3a9c07844f.tar.bz2 |
Add remoting and PPAPI tests to GN build
Reland of https://codereview.chromium.org/965633002/
TBR=dpranke
Review URL: https://codereview.chromium.org/961323004
Cr-Commit-Position: refs/heads/master@{#318756}
Diffstat (limited to 'remoting/codec')
-rw-r--r-- | remoting/codec/BUILD.gn | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/remoting/codec/BUILD.gn b/remoting/codec/BUILD.gn new file mode 100644 index 0000000..26bf12b --- /dev/null +++ b/remoting/codec/BUILD.gn @@ -0,0 +1,47 @@ +# 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. + +import("//remoting/remoting_srcs.gni") + +source_set("codec") { + sources = rebase_path(remoting_srcs_gypi_values.remoting_codec_sources, + ".", + "//remoting") + + configs += [ "//build/config/compiler:wexit_time_destructors" ] + + deps = [ + "//base/third_party/dynamic_annotations", + "//media", + "//media:shared_memory_support", + "//remoting/proto", + "//remoting/resources", + "//third_party/libvpx", + "//third_party/libyuv", + "//third_party/opus", + "//third_party/webrtc/modules/desktop_capture", + ] +} + +source_set("unit_tests") { + testonly = true + + sources = [ + "audio_encoder_opus_unittest.cc", + "codec_test.cc", + "codec_test.h", + "video_decoder_vpx_unittest.cc", + "video_encoder_helper_unittest.cc", + "video_encoder_verbatim_unittest.cc", + "video_encoder_vpx_unittest.cc", + ] + + deps = [ + ":codec", + "//base", + "//remoting/proto", + "//testing/gtest", + "//third_party/webrtc/modules/desktop_capture", + ] +} |