OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 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("//build/config/android/config.gni") | 5 import("//build/config/android/config.gni") |
6 import("//build/config/features.gni") | 6 import("//build/config/features.gni") |
7 import("//build/config/ui.gni") | 7 import("//build/config/ui.gni") |
8 import("//testing/test.gni") | 8 import("//testing/test.gni") |
9 import("//third_party/protobuf/proto_library.gni") | 9 import("//third_party/protobuf/proto_library.gni") |
10 | 10 |
11 proto_library("logging_proto") { | 11 proto_library("logging_proto") { |
12 sources = [ | 12 sources = [ |
13 "logging/proto/raw_events.proto", | 13 "logging/proto/raw_events.proto", |
14 ] | 14 ] |
15 } | 15 } |
16 | 16 |
17 # Common code shared by all cast components. | 17 # Common code shared by all cast components. |
18 source_set("common") { | 18 source_set("common") { |
19 sources = [ | 19 sources = [ |
20 "cast_config.cc", | 20 "cast_config.cc", |
21 "cast_config.h", | 21 "cast_config.h", |
22 "cast_defines.h", | 22 "cast_defines.h", |
23 "cast_environment.cc", | 23 "cast_environment.cc", |
24 "cast_environment.h", | 24 "cast_environment.h", |
25 "common/clock_drift_smoother.cc", | 25 "common/clock_drift_smoother.cc", |
26 "common/clock_drift_smoother.h", | 26 "common/clock_drift_smoother.h", |
| 27 "common/expanded_value_base.h", |
| 28 "common/rtp_time.cc", |
| 29 "common/rtp_time.h", |
27 "common/transport_encryption_handler.cc", | 30 "common/transport_encryption_handler.cc", |
28 "common/transport_encryption_handler.h", | 31 "common/transport_encryption_handler.h", |
29 "constants.h", | 32 "constants.h", |
30 "logging/encoding_event_subscriber.cc", | 33 "logging/encoding_event_subscriber.cc", |
31 "logging/encoding_event_subscriber.h", | 34 "logging/encoding_event_subscriber.h", |
32 "logging/log_deserializer.cc", | 35 "logging/log_deserializer.cc", |
33 "logging/log_deserializer.h", | 36 "logging/log_deserializer.h", |
34 "logging/log_event_dispatcher.cc", | 37 "logging/log_event_dispatcher.cc", |
35 "logging/log_event_dispatcher.h", | 38 "logging/log_event_dispatcher.h", |
36 "logging/log_serializer.cc", | 39 "logging/log_serializer.cc", |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 "net/rtp/rtp_parser.h", | 97 "net/rtp/rtp_parser.h", |
95 "net/rtp/rtp_sender.cc", | 98 "net/rtp/rtp_sender.cc", |
96 "net/rtp/rtp_sender.h", | 99 "net/rtp/rtp_sender.h", |
97 "net/udp_transport.cc", | 100 "net/udp_transport.cc", |
98 "net/udp_transport.h", | 101 "net/udp_transport.h", |
99 ] | 102 ] |
100 | 103 |
101 deps = [ | 104 deps = [ |
102 ":common", | 105 ":common", |
103 ] | 106 ] |
| 107 |
| 108 public_deps = [ |
| 109 ":common", |
| 110 ] |
104 } | 111 } |
105 | 112 |
106 source_set("sender") { | 113 source_set("sender") { |
107 sources = [ | 114 sources = [ |
108 "cast_sender.h", | 115 "cast_sender.h", |
109 "cast_sender_impl.cc", | 116 "cast_sender_impl.cc", |
110 "cast_sender_impl.h", | 117 "cast_sender_impl.h", |
111 "sender/audio_encoder.cc", | 118 "sender/audio_encoder.cc", |
112 "sender/audio_encoder.h", | 119 "sender/audio_encoder.h", |
113 "sender/audio_sender.cc", | 120 "sender/audio_sender.cc", |
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
294 # The _run targets exist only for compatibility w/ GYP. | 301 # The _run targets exist only for compatibility w/ GYP. |
295 group("cast_unittests_run") { | 302 group("cast_unittests_run") { |
296 testonly = true | 303 testonly = true |
297 deps = [ | 304 deps = [ |
298 ":cast_unittests", | 305 ":cast_unittests", |
299 ] | 306 ] |
300 } | 307 } |
301 | 308 |
302 test("cast_unittests") { | 309 test("cast_unittests") { |
303 sources = [ | 310 sources = [ |
| 311 "common/expanded_value_base_unittest.cc", |
| 312 "common/rtp_time_unittest.cc", |
304 "logging/encoding_event_subscriber_unittest.cc", | 313 "logging/encoding_event_subscriber_unittest.cc", |
305 "logging/receiver_time_offset_estimator_impl_unittest.cc", | 314 "logging/receiver_time_offset_estimator_impl_unittest.cc", |
306 "logging/serialize_deserialize_test.cc", | 315 "logging/serialize_deserialize_test.cc", |
307 "logging/simple_event_subscriber_unittest.cc", | 316 "logging/simple_event_subscriber_unittest.cc", |
308 "logging/stats_event_subscriber_unittest.cc", | 317 "logging/stats_event_subscriber_unittest.cc", |
309 "net/cast_transport_sender_impl_unittest.cc", | 318 "net/cast_transport_sender_impl_unittest.cc", |
310 "net/frame_id_wrap_helper_test.cc", | 319 "net/frame_id_wrap_helper_test.cc", |
311 "net/mock_cast_transport_sender.cc", | 320 "net/mock_cast_transport_sender.cc", |
312 "net/mock_cast_transport_sender.h", | 321 "net/mock_cast_transport_sender.h", |
313 "net/pacing/mock_paced_packet_sender.cc", | 322 "net/pacing/mock_paced_packet_sender.cc", |
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
539 deps = [ | 548 deps = [ |
540 ":sender", | 549 ":sender", |
541 ] | 550 ] |
542 } | 551 } |
543 | 552 |
544 static_library("cast_receiver") { | 553 static_library("cast_receiver") { |
545 deps = [ | 554 deps = [ |
546 ":receiver", | 555 ":receiver", |
547 ] | 556 ] |
548 } | 557 } |
OLD | NEW |