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', |
37 'logging/proto/proto_utils.cc', | |
Alpha Left Google
2014/02/11 22:49:13
This should be moved to cast_logging_proto_lib.
imcheng
2014/02/12 08:44:13
Done.
| |
34 'logging/raw_event_subscriber.h', | 38 'logging/raw_event_subscriber.h', |
35 'logging/simple_event_subscriber.cc', | 39 'logging/simple_event_subscriber.cc', |
36 'logging/simple_event_subscriber.h', | 40 'logging/simple_event_subscriber.h', |
37 ], # source | 41 ], # source |
38 }, | 42 }, |
39 ], # targets, | 43 ], # targets, |
40 'conditions': [ | 44 'conditions': [ |
41 ['include_tests==1', { | 45 ['include_tests==1', { |
42 'targets': [ | 46 'targets': [ |
43 { | 47 { |
44 'target_name': 'cast_unittests', | 48 'target_name': 'cast_unittests', |
45 'type': '<(gtest_target_type)', | 49 'type': '<(gtest_target_type)', |
46 'dependencies': [ | 50 'dependencies': [ |
47 'cast_config', | 51 'cast_config', |
52 'cast_logging_proto_lib', | |
48 'cast_receiver.gyp:cast_receiver', | 53 'cast_receiver.gyp:cast_receiver', |
49 'cast_sender.gyp:cast_sender', | 54 'cast_sender.gyp:cast_sender', |
50 'test/utility/utility.gyp:cast_test_utility', | 55 'test/utility/utility.gyp:cast_test_utility', |
51 'transport/cast_transport.gyp:cast_transport', | 56 'transport/cast_transport.gyp:cast_transport', |
52 '<(DEPTH)/base/base.gyp:run_all_unittests', | 57 '<(DEPTH)/base/base.gyp:run_all_unittests', |
53 '<(DEPTH)/base/base.gyp:test_support_base', | 58 '<(DEPTH)/base/base.gyp:test_support_base', |
54 '<(DEPTH)/net/net.gyp:net', | 59 '<(DEPTH)/net/net.gyp:net', |
55 '<(DEPTH)/testing/gmock.gyp:gmock', | 60 '<(DEPTH)/testing/gmock.gyp:gmock', |
56 '<(DEPTH)/testing/gtest.gyp:gtest', | 61 '<(DEPTH)/testing/gtest.gyp:gtest', |
57 ], | 62 ], |
58 'include_dirs': [ | 63 'include_dirs': [ |
59 '<(DEPTH)/', | 64 '<(DEPTH)/', |
60 '<(DEPTH)/third_party/', | 65 '<(DEPTH)/third_party/', |
61 '<(DEPTH)/third_party/webrtc/', | 66 '<(DEPTH)/third_party/webrtc/', |
62 ], | 67 ], |
63 'sources': [ | 68 'sources': [ |
64 'audio_receiver/audio_decoder_unittest.cc', | 69 'audio_receiver/audio_decoder_unittest.cc', |
65 'audio_receiver/audio_receiver_unittest.cc', | 70 'audio_receiver/audio_receiver_unittest.cc', |
66 'audio_sender/audio_encoder_unittest.cc', | 71 'audio_sender/audio_encoder_unittest.cc', |
67 'audio_sender/audio_sender_unittest.cc', | 72 'audio_sender/audio_sender_unittest.cc', |
68 'congestion_control/congestion_control_unittest.cc', | 73 'congestion_control/congestion_control_unittest.cc', |
69 'framer/cast_message_builder_unittest.cc', | 74 'framer/cast_message_builder_unittest.cc', |
70 'framer/frame_buffer_unittest.cc', | 75 'framer/frame_buffer_unittest.cc', |
71 'framer/framer_unittest.cc', | 76 'framer/framer_unittest.cc', |
77 'logging/encoding_event_subscriber_unittest.cc', | |
72 'logging/logging_impl_unittest.cc', | 78 'logging/logging_impl_unittest.cc', |
73 'logging/logging_raw_unittest.cc', | 79 'logging/logging_raw_unittest.cc', |
74 'logging/simple_event_subscriber_unittest.cc', | 80 'logging/simple_event_subscriber_unittest.cc', |
75 'rtcp/mock_rtcp_receiver_feedback.cc', | 81 'rtcp/mock_rtcp_receiver_feedback.cc', |
76 'rtcp/mock_rtcp_receiver_feedback.h', | 82 'rtcp/mock_rtcp_receiver_feedback.h', |
77 'rtcp/mock_rtcp_sender_feedback.cc', | 83 'rtcp/mock_rtcp_sender_feedback.cc', |
78 'rtcp/mock_rtcp_sender_feedback.h', | 84 'rtcp/mock_rtcp_sender_feedback.h', |
79 'rtcp/rtcp_receiver_unittest.cc', | 85 'rtcp/rtcp_receiver_unittest.cc', |
80 'rtcp/rtcp_sender_unittest.cc', | 86 'rtcp/rtcp_sender_unittest.cc', |
81 'rtcp/rtcp_unittest.cc', | 87 'rtcp/rtcp_unittest.cc', |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
157 '<(DEPTH)/build/linux/system.gyp:x11', | 163 '<(DEPTH)/build/linux/system.gyp:x11', |
158 '<(DEPTH)/build/linux/system.gyp:xext', | 164 '<(DEPTH)/build/linux/system.gyp:xext', |
159 ], | 165 ], |
160 'sources': [ | 166 'sources': [ |
161 '<(DEPTH)/media/cast/test/linux_output_window.cc', | 167 '<(DEPTH)/media/cast/test/linux_output_window.cc', |
162 '<(DEPTH)/media/cast/test/linux_output_window.h', | 168 '<(DEPTH)/media/cast/test/linux_output_window.h', |
163 ], | 169 ], |
164 }], | 170 }], |
165 ], | 171 ], |
166 }, | 172 }, |
173 { | |
174 'target_name': 'cast_logging_proto_lib', | |
175 'type': 'static_library', | |
176 'sources': [ | |
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 |