OLD | NEW |
1 # Copyright 2013 The Chromium Authors. All rights reserved. | 1 # Copyright 2013 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 { | 5 { |
6 'variables': { | 6 'variables': { |
7 'include_tests%': 1, | 7 'include_tests%': 1, |
8 'chromium_code': 1, | 8 'chromium_code': 1, |
9 }, | 9 }, |
10 'targets': [ | 10 'targets': [ |
11 { | 11 { |
12 'target_name': 'cast_config', | 12 'target_name': 'cast_config', |
13 'type': 'static_library', | 13 'type': 'static_library', |
14 'include_dirs': [ | 14 'include_dirs': [ |
15 '<(DEPTH)/', | 15 '<(DEPTH)/', |
16 ], | 16 ], |
17 'dependencies': [ | 17 'dependencies': [ |
| 18 'cast_logging_proto_lib', |
18 '<(DEPTH)/base/base.gyp:base', | 19 '<(DEPTH)/base/base.gyp:base', |
19 ], | 20 ], |
20 'sources': [ | 21 'sources': [ |
21 'cast_config.cc', | 22 'cast_config.cc', |
22 'cast_config.h', | 23 'cast_config.h', |
23 'cast_defines.h', | 24 'cast_defines.h', |
24 'cast_environment.cc', | 25 'cast_environment.cc', |
25 'cast_environment.h', | 26 'cast_environment.h', |
| 27 'logging/encoding_event_subscriber.cc', |
| 28 'logging/encoding_event_subscriber.h', |
26 'logging/logging_defines.cc', | 29 'logging/logging_defines.cc', |
27 'logging/logging_defines.h', | 30 'logging/logging_defines.h', |
28 'logging/logging_impl.cc', | 31 'logging/logging_impl.cc', |
29 'logging/logging_impl.h', | 32 'logging/logging_impl.h', |
30 'logging/logging_raw.cc', | 33 'logging/logging_raw.cc', |
31 'logging/logging_raw.h', | 34 'logging/logging_raw.h', |
32 'logging/logging_stats.cc', | 35 'logging/logging_stats.cc', |
33 'logging/logging_stats.h', | 36 'logging/logging_stats.h', |
34 'logging/raw_event_subscriber.h', | 37 'logging/raw_event_subscriber.h', |
35 'logging/simple_event_subscriber.cc', | 38 'logging/simple_event_subscriber.cc', |
36 'logging/simple_event_subscriber.h', | 39 'logging/simple_event_subscriber.h', |
37 ], # source | 40 ], # source |
38 }, | 41 }, |
39 ], # targets, | 42 ], # targets, |
40 'conditions': [ | 43 'conditions': [ |
41 ['include_tests==1', { | 44 ['include_tests==1', { |
42 'targets': [ | 45 'targets': [ |
43 { | 46 { |
44 'target_name': 'cast_unittests', | 47 'target_name': 'cast_unittests', |
45 'type': '<(gtest_target_type)', | 48 'type': '<(gtest_target_type)', |
46 'dependencies': [ | 49 'dependencies': [ |
47 'cast_config', | 50 'cast_config', |
| 51 'cast_logging_proto_lib', |
48 'cast_receiver.gyp:cast_receiver', | 52 'cast_receiver.gyp:cast_receiver', |
49 'cast_sender.gyp:cast_sender', | 53 'cast_sender.gyp:cast_sender', |
50 'test/utility/utility.gyp:cast_test_utility', | 54 'test/utility/utility.gyp:cast_test_utility', |
51 'transport/cast_transport.gyp:cast_transport', | 55 'transport/cast_transport.gyp:cast_transport', |
52 '<(DEPTH)/base/base.gyp:run_all_unittests', | 56 '<(DEPTH)/base/base.gyp:run_all_unittests', |
53 '<(DEPTH)/base/base.gyp:test_support_base', | 57 '<(DEPTH)/base/base.gyp:test_support_base', |
54 '<(DEPTH)/net/net.gyp:net', | 58 '<(DEPTH)/net/net.gyp:net', |
55 '<(DEPTH)/testing/gmock.gyp:gmock', | 59 '<(DEPTH)/testing/gmock.gyp:gmock', |
56 '<(DEPTH)/testing/gtest.gyp:gtest', | 60 '<(DEPTH)/testing/gtest.gyp:gtest', |
57 ], | 61 ], |
58 'include_dirs': [ | 62 'include_dirs': [ |
59 '<(DEPTH)/', | 63 '<(DEPTH)/', |
60 '<(DEPTH)/third_party/', | 64 '<(DEPTH)/third_party/', |
61 '<(DEPTH)/third_party/webrtc/', | 65 '<(DEPTH)/third_party/webrtc/', |
62 ], | 66 ], |
63 'sources': [ | 67 'sources': [ |
64 'audio_receiver/audio_decoder_unittest.cc', | 68 'audio_receiver/audio_decoder_unittest.cc', |
65 'audio_receiver/audio_receiver_unittest.cc', | 69 'audio_receiver/audio_receiver_unittest.cc', |
66 'audio_sender/audio_encoder_unittest.cc', | 70 'audio_sender/audio_encoder_unittest.cc', |
67 'audio_sender/audio_sender_unittest.cc', | 71 'audio_sender/audio_sender_unittest.cc', |
68 'congestion_control/congestion_control_unittest.cc', | 72 'congestion_control/congestion_control_unittest.cc', |
69 'framer/cast_message_builder_unittest.cc', | 73 'framer/cast_message_builder_unittest.cc', |
70 'framer/frame_buffer_unittest.cc', | 74 'framer/frame_buffer_unittest.cc', |
71 'framer/framer_unittest.cc', | 75 'framer/framer_unittest.cc', |
| 76 'logging/encoding_event_subscriber_unittest.cc', |
72 'logging/logging_impl_unittest.cc', | 77 'logging/logging_impl_unittest.cc', |
73 'logging/logging_raw_unittest.cc', | 78 'logging/logging_raw_unittest.cc', |
74 'logging/simple_event_subscriber_unittest.cc', | 79 'logging/simple_event_subscriber_unittest.cc', |
75 'rtcp/mock_rtcp_receiver_feedback.cc', | 80 'rtcp/mock_rtcp_receiver_feedback.cc', |
76 'rtcp/mock_rtcp_receiver_feedback.h', | 81 'rtcp/mock_rtcp_receiver_feedback.h', |
77 'rtcp/mock_rtcp_sender_feedback.cc', | 82 'rtcp/mock_rtcp_sender_feedback.cc', |
78 'rtcp/mock_rtcp_sender_feedback.h', | 83 'rtcp/mock_rtcp_sender_feedback.h', |
79 'rtcp/rtcp_receiver_unittest.cc', | 84 'rtcp/rtcp_receiver_unittest.cc', |
80 'rtcp/rtcp_sender_unittest.cc', | 85 'rtcp/rtcp_sender_unittest.cc', |
81 'rtcp/rtcp_unittest.cc', | 86 'rtcp/rtcp_unittest.cc', |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
157 '<(DEPTH)/build/linux/system.gyp:x11', | 162 '<(DEPTH)/build/linux/system.gyp:x11', |
158 '<(DEPTH)/build/linux/system.gyp:xext', | 163 '<(DEPTH)/build/linux/system.gyp:xext', |
159 ], | 164 ], |
160 'sources': [ | 165 'sources': [ |
161 '<(DEPTH)/media/cast/test/linux_output_window.cc', | 166 '<(DEPTH)/media/cast/test/linux_output_window.cc', |
162 '<(DEPTH)/media/cast/test/linux_output_window.h', | 167 '<(DEPTH)/media/cast/test/linux_output_window.h', |
163 ], | 168 ], |
164 }], | 169 }], |
165 ], | 170 ], |
166 }, | 171 }, |
| 172 { |
| 173 'target_name': 'cast_logging_proto_lib', |
| 174 'type': 'static_library', |
| 175 'sources': [ |
| 176 'logging/proto/proto_utils.cc', |
| 177 'logging/proto/raw_events.proto', |
| 178 ], |
| 179 'variables': { |
| 180 'proto_in_dir': 'logging/proto', |
| 181 'proto_out_dir': 'media/cast/logging/proto', |
| 182 }, |
| 183 'includes': ['../../build/protoc.gypi'], |
| 184 }, |
167 ], # targets | 185 ], # targets |
168 }], # include_tests | 186 }], # include_tests |
169 ], | 187 ], |
170 } | 188 } |
OLD | NEW |