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': [ |
(...skipping 18 matching lines...) Expand all Loading... |
29 'logging/logging_impl.h', | 29 'logging/logging_impl.h', |
30 'logging/logging_raw.cc', | 30 'logging/logging_raw.cc', |
31 'logging/logging_raw.h', | 31 'logging/logging_raw.h', |
32 'logging/logging_stats.cc', | 32 'logging/logging_stats.cc', |
33 'logging/logging_stats.h', | 33 'logging/logging_stats.h', |
34 'logging/raw_event_subscriber.h', | 34 'logging/raw_event_subscriber.h', |
35 'logging/simple_event_subscriber.cc', | 35 'logging/simple_event_subscriber.cc', |
36 'logging/simple_event_subscriber.h', | 36 'logging/simple_event_subscriber.h', |
37 ], # source | 37 ], # source |
38 }, | 38 }, |
| 39 { |
| 40 'target_name': 'cast_logging_proto_lib', |
| 41 'type': 'static_library', |
| 42 'sources': [ |
| 43 'logging/proto/proto_utils.cc', |
| 44 'logging/proto/raw_events.proto', |
| 45 ], |
| 46 'variables': { |
| 47 'proto_in_dir': 'logging/proto', |
| 48 'proto_out_dir': 'media/cast/logging/proto', |
| 49 }, |
| 50 'includes': ['../../build/protoc.gypi'], |
| 51 }, |
| 52 { |
| 53 'target_name': 'sender_logging', |
| 54 'type': 'static_library', |
| 55 'include_dirs': [ |
| 56 '<(DEPTH)/', |
| 57 ], |
| 58 'dependencies': [ |
| 59 'cast_config', |
| 60 'cast_logging_proto_lib', |
| 61 '<(DEPTH)/base/base.gyp:base', |
| 62 ], |
| 63 'sources': [ |
| 64 'logging/encoding_event_subscriber.cc', |
| 65 'logging/encoding_event_subscriber.h', |
| 66 ], # source |
| 67 }, |
39 ], # targets, | 68 ], # targets, |
40 'conditions': [ | 69 'conditions': [ |
41 ['include_tests==1', { | 70 ['include_tests==1', { |
42 'targets': [ | 71 'targets': [ |
43 { | 72 { |
44 'target_name': 'cast_unittests', | 73 'target_name': 'cast_unittests', |
45 'type': '<(gtest_target_type)', | 74 'type': '<(gtest_target_type)', |
46 'dependencies': [ | 75 'dependencies': [ |
47 'cast_config', | 76 'cast_config', |
| 77 'cast_logging_proto_lib', |
48 'cast_receiver.gyp:cast_receiver', | 78 'cast_receiver.gyp:cast_receiver', |
49 'cast_sender.gyp:cast_sender', | 79 'cast_sender.gyp:cast_sender', |
| 80 'sender_logging', |
50 'test/utility/utility.gyp:cast_test_utility', | 81 'test/utility/utility.gyp:cast_test_utility', |
51 'transport/cast_transport.gyp:cast_transport', | 82 'transport/cast_transport.gyp:cast_transport', |
52 '<(DEPTH)/base/base.gyp:run_all_unittests', | 83 '<(DEPTH)/base/base.gyp:run_all_unittests', |
53 '<(DEPTH)/base/base.gyp:test_support_base', | 84 '<(DEPTH)/base/base.gyp:test_support_base', |
54 '<(DEPTH)/net/net.gyp:net', | 85 '<(DEPTH)/net/net.gyp:net', |
55 '<(DEPTH)/testing/gmock.gyp:gmock', | 86 '<(DEPTH)/testing/gmock.gyp:gmock', |
56 '<(DEPTH)/testing/gtest.gyp:gtest', | 87 '<(DEPTH)/testing/gtest.gyp:gtest', |
57 ], | 88 ], |
58 'include_dirs': [ | 89 'include_dirs': [ |
59 '<(DEPTH)/', | 90 '<(DEPTH)/', |
60 '<(DEPTH)/third_party/', | 91 '<(DEPTH)/third_party/', |
61 '<(DEPTH)/third_party/webrtc/', | 92 '<(DEPTH)/third_party/webrtc/', |
62 ], | 93 ], |
63 'sources': [ | 94 'sources': [ |
64 'audio_receiver/audio_decoder_unittest.cc', | 95 'audio_receiver/audio_decoder_unittest.cc', |
65 'audio_receiver/audio_receiver_unittest.cc', | 96 'audio_receiver/audio_receiver_unittest.cc', |
66 'audio_sender/audio_encoder_unittest.cc', | 97 'audio_sender/audio_encoder_unittest.cc', |
67 'audio_sender/audio_sender_unittest.cc', | 98 'audio_sender/audio_sender_unittest.cc', |
68 'congestion_control/congestion_control_unittest.cc', | 99 'congestion_control/congestion_control_unittest.cc', |
69 'framer/cast_message_builder_unittest.cc', | 100 'framer/cast_message_builder_unittest.cc', |
70 'framer/frame_buffer_unittest.cc', | 101 'framer/frame_buffer_unittest.cc', |
71 'framer/framer_unittest.cc', | 102 'framer/framer_unittest.cc', |
| 103 'logging/encoding_event_subscriber_unittest.cc', |
72 'logging/logging_impl_unittest.cc', | 104 'logging/logging_impl_unittest.cc', |
73 'logging/logging_raw_unittest.cc', | 105 'logging/logging_raw_unittest.cc', |
74 'logging/simple_event_subscriber_unittest.cc', | 106 'logging/simple_event_subscriber_unittest.cc', |
75 'rtcp/mock_rtcp_receiver_feedback.cc', | 107 'rtcp/mock_rtcp_receiver_feedback.cc', |
76 'rtcp/mock_rtcp_receiver_feedback.h', | 108 'rtcp/mock_rtcp_receiver_feedback.h', |
77 'rtcp/mock_rtcp_sender_feedback.cc', | 109 'rtcp/mock_rtcp_sender_feedback.cc', |
78 'rtcp/mock_rtcp_sender_feedback.h', | 110 'rtcp/mock_rtcp_sender_feedback.h', |
79 'rtcp/rtcp_receiver_unittest.cc', | 111 'rtcp/rtcp_receiver_unittest.cc', |
80 'rtcp/rtcp_sender_unittest.cc', | 112 'rtcp/rtcp_sender_unittest.cc', |
81 'rtcp/rtcp_unittest.cc', | 113 'rtcp/rtcp_unittest.cc', |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
161 '<(DEPTH)/media/cast/test/linux_output_window.cc', | 193 '<(DEPTH)/media/cast/test/linux_output_window.cc', |
162 '<(DEPTH)/media/cast/test/linux_output_window.h', | 194 '<(DEPTH)/media/cast/test/linux_output_window.h', |
163 ], | 195 ], |
164 }], | 196 }], |
165 ], | 197 ], |
166 }, | 198 }, |
167 ], # targets | 199 ], # targets |
168 }], # include_tests | 200 }], # include_tests |
169 ], | 201 ], |
170 } | 202 } |
OLD | NEW |