Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5)

Unified Diff: media/cast/cast.gyp

Issue 138913014: Cast: Added a new RawEventSubscriber implementation for use in cast extension. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed miu's comments and changed targets Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | media/cast/logging/encoding_event_subscriber.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/cast/cast.gyp
diff --git a/media/cast/cast.gyp b/media/cast/cast.gyp
index 21e5e554f2d89bc0de922a80423ca755c89ddb9b..a0dbf4487093aa046272c476a37986eb69d324ae 100644
--- a/media/cast/cast.gyp
+++ b/media/cast/cast.gyp
@@ -36,6 +36,35 @@
'logging/simple_event_subscriber.h',
], # source
},
+ {
+ 'target_name': 'cast_logging_proto_lib',
+ 'type': 'static_library',
+ 'sources': [
+ 'logging/proto/proto_utils.cc',
+ 'logging/proto/raw_events.proto',
+ ],
+ 'variables': {
+ 'proto_in_dir': 'logging/proto',
+ 'proto_out_dir': 'media/cast/logging/proto',
+ },
+ 'includes': ['../../build/protoc.gypi'],
+ },
+ {
+ 'target_name': 'sender_logging',
+ 'type': 'static_library',
+ 'include_dirs': [
+ '<(DEPTH)/',
+ ],
+ 'dependencies': [
+ 'cast_config',
+ 'cast_logging_proto_lib',
+ '<(DEPTH)/base/base.gyp:base',
+ ],
+ 'sources': [
+ 'logging/encoding_event_subscriber.cc',
+ 'logging/encoding_event_subscriber.h',
+ ], # source
+ },
], # targets,
'conditions': [
['include_tests==1', {
@@ -45,8 +74,10 @@
'type': '<(gtest_target_type)',
'dependencies': [
'cast_config',
+ 'cast_logging_proto_lib',
'cast_receiver.gyp:cast_receiver',
'cast_sender.gyp:cast_sender',
+ 'sender_logging',
'test/utility/utility.gyp:cast_test_utility',
'transport/cast_transport.gyp:cast_transport',
'<(DEPTH)/base/base.gyp:run_all_unittests',
@@ -69,6 +100,7 @@
'framer/cast_message_builder_unittest.cc',
'framer/frame_buffer_unittest.cc',
'framer/framer_unittest.cc',
+ 'logging/encoding_event_subscriber_unittest.cc',
'logging/logging_impl_unittest.cc',
'logging/logging_raw_unittest.cc',
'logging/simple_event_subscriber_unittest.cc',
« no previous file with comments | « no previous file | media/cast/logging/encoding_event_subscriber.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698