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

Side by Side Diff: remoting/codec/BUILD.gn

Issue 1312463005: Compile remoting client plugin with GN (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 months 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
1 # Copyright 2015 The Chromium Authors. All rights reserved. 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 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//remoting/remoting_srcs.gni") 5 import("//remoting/remoting_srcs.gni")
6 6
7 source_set("codec") { 7 source_set("codec") {
8 sources = rebase_path(remoting_srcs_gypi_values.remoting_codec_sources, 8 sources = rebase_path(remoting_srcs_gypi_values.remoting_codec_sources,
9 ".", 9 ".",
10 "//remoting") 10 "//remoting")
11 11
12 configs += [ "//build/config/compiler:wexit_time_destructors" ] 12 configs += [ "//build/config/compiler:wexit_time_destructors" ]
13 13
14 deps = [ 14 deps = [
15 "//base/third_party/dynamic_annotations", 15 "//base/third_party/dynamic_annotations",
16 "//media",
17 "//media:shared_memory_support",
18 "//remoting/proto", 16 "//remoting/proto",
19 "//remoting/resources",
20 "//third_party/libvpx", 17 "//third_party/libvpx",
21 "//third_party/libyuv", 18 "//third_party/libyuv",
22 "//third_party/opus", 19 "//third_party/opus",
23 "//third_party/webrtc/modules/desktop_capture", 20 "//third_party/webrtc/modules/desktop_capture:primitives",
24 ] 21 ]
22
23 if (is_nacl) {
24 sources -= [
25 "audio_encoder.h",
26 "audio_encoder_opus.cc",
27 "audio_encoder_opus.h",
28 "audio_encoder_verbatim.cc",
29 "audio_encoder_verbatim.h",
30 "video_encoder.h",
31 "video_encoder_helper.cc",
32 "video_encoder_helper.h",
33 "video_encoder_verbatim.cc",
34 "video_encoder_verbatim.h",
35 "video_encoder_vpx.cc",
36 "video_encoder_vpx.h",
37 ]
38 }
25 } 39 }
26 40
27 source_set("unit_tests") { 41 source_set("unit_tests") {
28 testonly = true 42 testonly = true
29 43
30 sources = [ 44 sources = [
31 "audio_encoder_opus_unittest.cc", 45 "audio_encoder_opus_unittest.cc",
32 "codec_test.cc", 46 "codec_test.cc",
33 "codec_test.h", 47 "codec_test.h",
34 "video_decoder_vpx_unittest.cc", 48 "video_decoder_vpx_unittest.cc",
35 "video_encoder_helper_unittest.cc", 49 "video_encoder_helper_unittest.cc",
36 "video_encoder_verbatim_unittest.cc", 50 "video_encoder_verbatim_unittest.cc",
37 "video_encoder_vpx_unittest.cc", 51 "video_encoder_vpx_unittest.cc",
38 ] 52 ]
39 53
40 deps = [ 54 deps = [
41 ":codec", 55 ":codec",
42 "//base", 56 "//base",
43 "//remoting/proto", 57 "//remoting/proto",
44 "//testing/gtest", 58 "//testing/gtest",
45 "//third_party/webrtc/modules/desktop_capture", 59 "//third_party/webrtc/modules/desktop_capture",
46 ] 60 ]
47 } 61 }
OLDNEW
« net/net.gypi ('K') | « remoting/client/plugin/BUILD.gn ('k') | remoting/protocol/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698