BookmarkManager: Fix 'new folder text field size changes on clicking it' issue.
[chromium-blink-merge.git] / remoting / codec / BUILD.gn
blob4a2cd73c44ff4a636ea86cbc65c7734155046ef6
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.
5 import("//remoting/remoting_srcs.gni")
7 source_set("codec") {
8   sources = rebase_path(remoting_srcs_gypi_values.remoting_codec_sources,
9                         ".",
10                         "//remoting")
12   configs += [ "//build/config/compiler:wexit_time_destructors" ]
14   deps = [
15     "//base/third_party/dynamic_annotations",
16     "//media",
17     "//media:shared_memory_support",
18     "//remoting/proto",
19     "//third_party/libvpx_new",
20     "//third_party/libyuv",
21     "//third_party/opus",
22     "//third_party/webrtc/modules/desktop_capture:primitives",
23   ]
25   if (is_nacl) {
26     deps -= [
27       "//media",
28       "//media:shared_memory_support",
29     ]
30     sources -= [
31       "audio_encoder.h",
32       "audio_encoder_opus.cc",
33       "audio_encoder_opus.h",
34       "audio_encoder_verbatim.cc",
35       "audio_encoder_verbatim.h",
36       "video_encoder.h",
37       "video_encoder_helper.cc",
38       "video_encoder_helper.h",
39       "video_encoder_verbatim.cc",
40       "video_encoder_verbatim.h",
41       "video_encoder_vpx.cc",
42       "video_encoder_vpx.h",
43     ]
44   }
47 source_set("unit_tests") {
48   testonly = true
50   sources = [
51     "audio_encoder_opus_unittest.cc",
52     "codec_test.cc",
53     "codec_test.h",
54     "video_decoder_vpx_unittest.cc",
55     "video_encoder_helper_unittest.cc",
56     "video_encoder_verbatim_unittest.cc",
57     "video_encoder_vpx_unittest.cc",
58   ]
60   deps = [
61     ":codec",
62     "//base",
63     "//remoting/proto",
64     "//testing/gtest",
65     "//third_party/webrtc/modules/desktop_capture",
66   ]