summaryrefslogtreecommitdiffstats
path: root/remoting/codec
diff options
context:
space:
mode:
authorsergeyu <sergeyu@chromium.org>2015-09-14 16:03:33 -0700
committerCommit bot <commit-bot@chromium.org>2015-09-14 23:04:22 +0000
commit99d83f9b9121d659cdbf259ec9f71f8d1f090100 (patch)
tree401fcc5cecb29b24ddb37952d18141b31da8d1c3 /remoting/codec
parent3fa5b0aec0c7361fa666e4145da0ea9167f55ecd (diff)
downloadchromium_src-99d83f9b9121d659cdbf259ec9f71f8d1f090100.zip
chromium_src-99d83f9b9121d659cdbf259ec9f71f8d1f090100.tar.gz
chromium_src-99d83f9b9121d659cdbf259ec9f71f8d1f090100.tar.bz2
Compile remoting client plugin with GN
BUG=512899 Review URL: https://codereview.chromium.org/1312463005 Cr-Commit-Position: refs/heads/master@{#348752}
Diffstat (limited to 'remoting/codec')
-rw-r--r--remoting/codec/BUILD.gn24
1 files changed, 22 insertions, 2 deletions
diff --git a/remoting/codec/BUILD.gn b/remoting/codec/BUILD.gn
index 26bf12b..d08d83c 100644
--- a/remoting/codec/BUILD.gn
+++ b/remoting/codec/BUILD.gn
@@ -16,12 +16,32 @@ source_set("codec") {
"//media",
"//media:shared_memory_support",
"//remoting/proto",
- "//remoting/resources",
"//third_party/libvpx",
"//third_party/libyuv",
"//third_party/opus",
- "//third_party/webrtc/modules/desktop_capture",
+ "//third_party/webrtc/modules/desktop_capture:primitives",
]
+
+ if (is_nacl) {
+ deps -= [
+ "//media",
+ "//media:shared_memory_support",
+ ]
+ sources -= [
+ "audio_encoder.h",
+ "audio_encoder_opus.cc",
+ "audio_encoder_opus.h",
+ "audio_encoder_verbatim.cc",
+ "audio_encoder_verbatim.h",
+ "video_encoder.h",
+ "video_encoder_helper.cc",
+ "video_encoder_helper.h",
+ "video_encoder_verbatim.cc",
+ "video_encoder_verbatim.h",
+ "video_encoder_vpx.cc",
+ "video_encoder_vpx.h",
+ ]
+ }
}
source_set("unit_tests") {