Updating trunk VERSION from 2139.0 to 2140.0
[chromium-blink-merge.git] / remoting / base / BUILD.gn
blob46a2b706fc31a7f5b8e95634d85e1f45c1a700ae
1 # Copyright 2014 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 static_library("base") {
6   sources = [
7     "auth_token_util.cc",
8     "auth_token_util.h",
9     "auto_thread.cc",
10     "auto_thread.h",
11     "auto_thread_task_runner.cc",
12     "auto_thread_task_runner.h",
13     "capabilities.cc",
14     "capabilities.h",
15     "compound_buffer.cc",
16     "compound_buffer.h",
17     "constants.cc",
18     "constants.h",
19     "plugin_thread_task_runner.cc",
20     "plugin_thread_task_runner.h",
21     "rate_counter.cc",
22     "rate_counter.h",
23     "resources.h",
24     "resources_linux.cc",
25     "resources_mac.cc",
26     "resources_win.cc",
27     "rsa_key_pair.cc",
28     "rsa_key_pair.h",
29     "running_average.cc",
30     "running_average.h",
31     "scoped_sc_handle_win.h",
32     "service_urls.cc",
33     "service_urls.h",
34     "socket_reader.cc",
35     "socket_reader.h",
36     "typed_buffer.h",
37     "url_request_context_getter.cc",
38     "url_request_context_getter.h",
39     "util.cc",
40     "util.h",
41     "vlog_net_log.cc",
42     "vlog_net_log.h",
43     "../codec/audio_decoder.cc",
44     "../codec/audio_decoder.h",
45     "../codec/audio_decoder_opus.cc",
46     "../codec/audio_decoder_opus.h",
47     "../codec/audio_decoder_verbatim.cc",
48     "../codec/audio_decoder_verbatim.h",
49     "../codec/audio_encoder.h",
50     "../codec/audio_encoder_opus.cc",
51     "../codec/audio_encoder_opus.h",
52     "../codec/audio_encoder_verbatim.cc",
53     "../codec/audio_encoder_verbatim.h",
54     "../codec/scoped_vpx_codec.cc",
55     "../codec/scoped_vpx_codec.h",
56     "../codec/video_decoder.h",
57     "../codec/video_decoder_verbatim.cc",
58     "../codec/video_decoder_verbatim.h",
59     "../codec/video_decoder_vpx.cc",
60     "../codec/video_decoder_vpx.h",
61     "../codec/video_encoder.h",
62     "../codec/video_encoder_verbatim.cc",
63     "../codec/video_encoder_verbatim.h",
64     "../codec/video_encoder_vpx.cc",
65     "../codec/video_encoder_vpx.h",
66   ]
68   configs += [ "//build/config/compiler:wexit_time_destructors" ]
69   # TODO(GYP) Remove when WebRTC is converted.
70   configs += [ "//content:webrtc_stub_config" ]
72   deps = [
73     "//base",
74     "//base/third_party/dynamic_annotations",
75     "//media",
76     "//media:shared_memory_support",
77     "//net",
78     "//remoting/proto",
79     "//remoting/resources",
80     #"//third_party/libvpx",  TODO(GYP)
81     "//third_party/libyuv",
82     "//third_party/opus",
83     "//third_party/protobuf:protobuf_lite",
84     #"//third_party/webrtc/modules/desktop_capture",  TODO(GYP)
85     "//ui/base",
86     "//ui/gfx",
87     "//ui/gfx/geometry",
88   ]
90   forward_dependent_configs_from = [
91     "//base",
92     "//net",
93     "//remoting/proto",
94     "//third_party/protobuf:protobuf_lite",
95   ]