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

Unified Diff: extensions/extensions.gyp

Issue 395333003: Extensions: Move cast_channel and hid APIs to extensions/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 5 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 | « extensions/common/api/hid.idl ('k') | extensions/shell/app_shell.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/extensions.gyp
diff --git a/extensions/extensions.gyp b/extensions/extensions.gyp
index 0320c8f6526f2fd65159413c8c75a7ef52bcd1cc..7faa1911cb224640ff8fa6004ad2d8489faddcb3 100644
--- a/extensions/extensions.gyp
+++ b/extensions/extensions.gyp
@@ -247,6 +247,7 @@
'../device/serial/serial.gyp:device_serial',
'../skia/skia.gyp:skia',
'../third_party/leveldatabase/leveldatabase.gyp:leveldatabase',
+ 'cast_channel_proto',
'common/api/api.gyp:extensions_api',
'extensions_common',
'extensions_strings.gyp:extensions_strings',
@@ -273,12 +274,25 @@
'browser/api/app_view/app_view_internal_api.h',
'browser/api/async_api_function.cc',
'browser/api/async_api_function.h',
+ 'browser/api/cast_channel/cast_auth_util.h',
+ 'browser/api/cast_channel/cast_channel_api.cc',
+ 'browser/api/cast_channel/cast_channel_api.h',
+ 'browser/api/cast_channel/cast_message_util.cc',
+ 'browser/api/cast_channel/cast_message_util.h',
+ 'browser/api/cast_channel/cast_socket.cc',
+ 'browser/api/cast_channel/cast_socket.h',
'browser/api/dns/dns_api.cc',
'browser/api/dns/dns_api.h',
'browser/api/dns/host_resolver_wrapper.cc',
'browser/api/dns/host_resolver_wrapper.h',
'browser/api/extensions_api_client.cc',
'browser/api/extensions_api_client.h',
+ 'browser/api/hid/hid_api.cc',
+ 'browser/api/hid/hid_api.h',
+ 'browser/api/hid/hid_connection_resource.cc',
+ 'browser/api/hid/hid_connection_resource.h',
+ 'browser/api/hid/hid_device_manager.cc',
+ 'browser/api/hid/hid_device_manager.h',
'browser/api/power/power_api.cc',
'browser/api/power/power_api.h',
'browser/api/power/power_api_manager.cc',
@@ -490,6 +504,27 @@
'../device/serial/serial.gyp:device_serial',
],
}],
+ ['use_openssl==1', {
+ 'sources': [
+ 'browser/api/cast_channel/cast_auth_util_openssl.cc',
+ ],
+ }, {
+ 'sources': [
+ # cast_auth_util_nss.cc uses NSS functions.
+ 'browser/api/cast_channel/cast_auth_util_nss.cc',
+ ],
+ }],
+ ['os_posix == 1 and OS != "mac" and OS != "ios" and OS != "android"', {
+ 'dependencies': [
+ '../build/linux/system.gyp:ssl',
+ ],
+ }],
+ ['OS == "mac" or OS == "ios" or OS == "win"', {
+ 'dependencies': [
+ '../third_party/nss/nss.gyp:nspr',
+ '../third_party/nss/nss.gyp:nss',
+ ],
+ }],
],
# Disable c4267 warnings until we fix size_t to int truncations.
'msvs_disabled_warnings': [ 4267, ],
@@ -770,5 +805,17 @@
}],
],
},
+ {
+ # Protobuf compiler / generator for chrome.cast.channel-related protocol buffers.
+ # GN version: //extensions/browser/api/cast_channel/BUILD.gn
+ 'target_name': 'cast_channel_proto',
+ 'type': 'static_library',
+ 'sources': [ 'browser/api/cast_channel/cast_channel.proto' ],
+ 'variables': {
+ 'proto_in_dir': 'browser/api/cast_channel',
+ 'proto_out_dir': 'extensions/browser/api/cast_channel',
+ },
+ 'includes': [ '../build/protoc.gypi' ]
+ },
]
}
« no previous file with comments | « extensions/common/api/hid.idl ('k') | extensions/shell/app_shell.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698