Index: extensions/extensions.gyp |
diff --git a/extensions/extensions.gyp b/extensions/extensions.gyp |
index 9c28412ee1cf840eb27ffbc5603020971c96ee81..e5303964a75ab6cd0c46633a6c1b25e152dbfe4c 100644 |
--- a/extensions/extensions.gyp |
+++ b/extensions/extensions.gyp |
@@ -284,7 +284,7 @@ |
'../skia/skia.gyp:skia', |
'../third_party/leveldatabase/leveldatabase.gyp:leveldatabase', |
'browser/api/api_registration.gyp:extensions_api_registration', |
- 'common/api/api.gyp:cast_channel_proto', |
+ 'cast_channel_proto', |
'common/api/api.gyp:extensions_api', |
'extensions_common', |
'extensions_strings.gyp:extensions_strings', |
@@ -1021,7 +1021,7 @@ |
'../testing/gmock.gyp:gmock', |
'../testing/gtest.gyp:gtest', |
'../third_party/leveldatabase/leveldatabase.gyp:leveldatabase', |
- 'common/api/api.gyp:cast_channel_proto', |
+ 'cast_channel_proto', |
'extensions_common', |
'extensions_renderer', |
'extensions_resources.gyp:extensions_resources', |
@@ -1131,5 +1131,20 @@ |
}], |
], |
}, |
+ { |
+ # Protobuf compiler / generator for chrome.cast.channel-related protocol buffers. |
+ # GN version: //extensions/browser/api/cast_channel:cast_channel_proto |
+ 'target_name': 'cast_channel_proto', |
+ 'type': 'static_library', |
+ 'sources': [ |
+ 'browser/api/cast_channel/cast_channel.proto', |
+ 'browser/api/cast_channel/logging.proto' |
+ ], |
+ 'variables': { |
+ 'proto_in_dir': 'browser/api/cast_channel', |
+ 'proto_out_dir': 'extensions/browser/api/cast_channel', |
+ }, |
+ 'includes': [ '../build/protoc.gypi' ] |
+ }, |
] |
} |