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

Side by Side Diff: extensions/extensions.gyp

Issue 420663003: Extensions: Move bluetooth APIs to extensions/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix android, gn Created 6 years, 3 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « extensions/common/api/schemas.gypi ('k') | extensions/extensions_strings.grd » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 'chromium_code': 1, 7 'chromium_code': 1,
8 }, 8 },
9 'targets': [ 9 'targets': [
10 { 10 {
(...skipping 19 matching lines...) Expand all
30 '../third_party/libxml/libxml.gyp:libxml', 30 '../third_party/libxml/libxml.gyp:libxml',
31 'common/api/api.gyp:extensions_api', 31 'common/api/api.gyp:extensions_api',
32 'extensions_strings.gyp:extensions_strings', 32 'extensions_strings.gyp:extensions_strings',
33 ], 33 ],
34 'include_dirs': [ 34 'include_dirs': [
35 '..', 35 '..',
36 '<(INTERMEDIATE_DIR)', 36 '<(INTERMEDIATE_DIR)',
37 ], 37 ],
38 'sources': [ 38 'sources': [
39 # Note: sources list duplicated in GN build. 39 # Note: sources list duplicated in GN build.
40 'common/api/bluetooth/bluetooth_manifest_data.cc',
41 'common/api/bluetooth/bluetooth_manifest_data.h',
42 'common/api/bluetooth/bluetooth_manifest_handler.cc',
43 'common/api/bluetooth/bluetooth_manifest_handler.h',
44 'common/api/bluetooth/bluetooth_manifest_permission.cc',
45 'common/api/bluetooth/bluetooth_manifest_permission.h',
40 'common/api/messaging/message.h', 46 'common/api/messaging/message.h',
41 'common/api/sockets/sockets_manifest_data.cc', 47 'common/api/sockets/sockets_manifest_data.cc',
42 'common/api/sockets/sockets_manifest_data.h', 48 'common/api/sockets/sockets_manifest_data.h',
43 'common/api/sockets/sockets_manifest_handler.cc', 49 'common/api/sockets/sockets_manifest_handler.cc',
44 'common/api/sockets/sockets_manifest_handler.h', 50 'common/api/sockets/sockets_manifest_handler.h',
45 'common/api/sockets/sockets_manifest_permission.cc', 51 'common/api/sockets/sockets_manifest_permission.cc',
46 'common/api/sockets/sockets_manifest_permission.h', 52 'common/api/sockets/sockets_manifest_permission.h',
47 'common/common_manifest_handlers.cc', 53 'common/common_manifest_handlers.cc',
48 'common/common_manifest_handlers.h', 54 'common/common_manifest_handlers.h',
49 'common/constants.cc', 55 'common/constants.cc',
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 'common/value_counter.cc', 214 'common/value_counter.cc',
209 'common/value_counter.h', 215 'common/value_counter.h',
210 'common/view_type.cc', 216 'common/view_type.cc',
211 'common/view_type.h', 217 'common/view_type.h',
212 ], 218 ],
213 # Disable c4267 warnings until we fix size_t to int truncations. 219 # Disable c4267 warnings until we fix size_t to int truncations.
214 'msvs_disabled_warnings': [ 4267, ], 220 'msvs_disabled_warnings': [ 4267, ],
215 'conditions': [ 221 'conditions': [
216 ['enable_extensions==1', { 222 ['enable_extensions==1', {
217 'dependencies': [ 223 'dependencies': [
224 '../device/bluetooth/bluetooth.gyp:device_bluetooth',
218 # For Mojo generated headers for generated_api.cc. 225 # For Mojo generated headers for generated_api.cc.
219 '../device/serial/serial.gyp:device_serial_mojo', 226 '../device/serial/serial.gyp:device_serial_mojo',
220 '../device/usb/usb.gyp:device_usb', 227 '../device/usb/usb.gyp:device_usb',
221 ], 228 ],
222 'sources!': [ 229 'sources!': [
223 'common/extension_api_stub.cc', 230 'common/extension_api_stub.cc',
224 ], 231 ],
225 }, { # enable_extensions == 0 232 }, { # enable_extensions == 0
226 'sources!': [ 233 'sources!': [
234 'common/api/bluetooth/bluetooth_manifest_data.cc',
235 'common/api/bluetooth/bluetooth_manifest_data.h',
236 'common/api/bluetooth/bluetooth_manifest_handler.cc',
237 'common/api/bluetooth/bluetooth_manifest_handler.h',
238 'common/api/bluetooth/bluetooth_manifest_permission.cc',
239 'common/api/bluetooth/bluetooth_manifest_permission.h',
227 'common/api/messaging/message.h', 240 'common/api/messaging/message.h',
228 'common/api/sockets/sockets_manifest_data.cc', 241 'common/api/sockets/sockets_manifest_data.cc',
229 'common/api/sockets/sockets_manifest_data.h', 242 'common/api/sockets/sockets_manifest_data.h',
230 'common/api/sockets/sockets_manifest_handler.cc', 243 'common/api/sockets/sockets_manifest_handler.cc',
231 'common/api/sockets/sockets_manifest_handler.h', 244 'common/api/sockets/sockets_manifest_handler.h',
232 'common/api/sockets/sockets_manifest_permission.cc', 245 'common/api/sockets/sockets_manifest_permission.cc',
233 'common/api/sockets/sockets_manifest_permission.h', 246 'common/api/sockets/sockets_manifest_permission.h',
234 'common/extension_api.cc', 247 'common/extension_api.cc',
235 'common/manifest_handlers/externally_connectable.cc', 248 'common/manifest_handlers/externally_connectable.cc',
236 'common/manifest_handlers/externally_connectable.h', 249 'common/manifest_handlers/externally_connectable.h',
(...skipping 16 matching lines...) Expand all
253 'dependencies': [ 266 'dependencies': [
254 '../base/base.gyp:base', 267 '../base/base.gyp:base',
255 '../base/base.gyp:base_prefs', 268 '../base/base.gyp:base_prefs',
256 '../components/components.gyp:keyed_service_content', 269 '../components/components.gyp:keyed_service_content',
257 '../components/components.gyp:keyed_service_core', 270 '../components/components.gyp:keyed_service_core',
258 '../components/components.gyp:pref_registry', 271 '../components/components.gyp:pref_registry',
259 '../components/components.gyp:sessions', 272 '../components/components.gyp:sessions',
260 '../components/components.gyp:usb_service', 273 '../components/components.gyp:usb_service',
261 '../components/components.gyp:web_modal', 274 '../components/components.gyp:web_modal',
262 '../content/content.gyp:content_browser', 275 '../content/content.gyp:content_browser',
276 '../device/bluetooth/bluetooth.gyp:device_bluetooth',
263 '../device/serial/serial.gyp:device_serial', 277 '../device/serial/serial.gyp:device_serial',
264 '../skia/skia.gyp:skia', 278 '../skia/skia.gyp:skia',
265 '../third_party/leveldatabase/leveldatabase.gyp:leveldatabase', 279 '../third_party/leveldatabase/leveldatabase.gyp:leveldatabase',
266 'browser/api/api_registration.gyp:extensions_api_registration', 280 'browser/api/api_registration.gyp:extensions_api_registration',
267 'cast_channel_proto', 281 'cast_channel_proto',
268 'common/api/api.gyp:extensions_api', 282 'common/api/api.gyp:extensions_api',
269 'extensions_common', 283 'extensions_common',
270 'extensions_strings.gyp:extensions_strings', 284 'extensions_strings.gyp:extensions_strings',
271 ], 285 ],
272 'include_dirs': [ 286 'include_dirs': [
(...skipping 14 matching lines...) Expand all
287 'browser/api/api_resource.h', 301 'browser/api/api_resource.h',
288 'browser/api/api_resource_manager.h', 302 'browser/api/api_resource_manager.h',
289 'browser/api/app_runtime/app_runtime_api.cc', 303 'browser/api/app_runtime/app_runtime_api.cc',
290 'browser/api/app_runtime/app_runtime_api.h', 304 'browser/api/app_runtime/app_runtime_api.h',
291 'browser/api/app_view/app_view_internal_api.cc', 305 'browser/api/app_view/app_view_internal_api.cc',
292 'browser/api/app_view/app_view_internal_api.h', 306 'browser/api/app_view/app_view_internal_api.h',
293 'browser/api/guest_view/guest_view_internal_api.cc', 307 'browser/api/guest_view/guest_view_internal_api.cc',
294 'browser/api/guest_view/guest_view_internal_api.h', 308 'browser/api/guest_view/guest_view_internal_api.h',
295 'browser/api/async_api_function.cc', 309 'browser/api/async_api_function.cc',
296 'browser/api/async_api_function.h', 310 'browser/api/async_api_function.h',
311 'browser/api/bluetooth/bluetooth_api.cc',
312 'browser/api/bluetooth/bluetooth_api.h',
313 'browser/api/bluetooth/bluetooth_api_pairing_delegate.cc',
314 'browser/api/bluetooth/bluetooth_api_pairing_delegate.h',
315 'browser/api/bluetooth/bluetooth_api_utils.cc',
316 'browser/api/bluetooth/bluetooth_api_utils.h',
317 'browser/api/bluetooth/bluetooth_event_router.cc',
318 'browser/api/bluetooth/bluetooth_event_router.h',
319 'browser/api/bluetooth/bluetooth_extension_function.cc',
320 'browser/api/bluetooth/bluetooth_extension_function.h',
321 'browser/api/bluetooth/bluetooth_private_api.cc',
322 'browser/api/bluetooth/bluetooth_private_api.h',
323 'browser/api/bluetooth_low_energy/bluetooth_low_energy_api.cc',
324 'browser/api/bluetooth_low_energy/bluetooth_low_energy_api.h',
325 'browser/api/bluetooth_low_energy/bluetooth_low_energy_connection.cc',
326 'browser/api/bluetooth_low_energy/bluetooth_low_energy_connection.h',
327 'browser/api/bluetooth_low_energy/bluetooth_low_energy_event_router.cc',
328 'browser/api/bluetooth_low_energy/bluetooth_low_energy_event_router.h',
329 'browser/api/bluetooth_low_energy/bluetooth_low_energy_notify_session.cc ',
330 'browser/api/bluetooth_low_energy/bluetooth_low_energy_notify_session.h' ,
331 'browser/api/bluetooth_low_energy/utils.cc',
332 'browser/api/bluetooth_low_energy/utils.h',
333 'browser/api/bluetooth_socket/bluetooth_api_socket.cc',
334 'browser/api/bluetooth_socket/bluetooth_api_socket.h',
335 'browser/api/bluetooth_socket/bluetooth_socket_api.cc',
336 'browser/api/bluetooth_socket/bluetooth_socket_api.h',
337 'browser/api/bluetooth_socket/bluetooth_socket_event_dispatcher.cc',
338 'browser/api/bluetooth_socket/bluetooth_socket_event_dispatcher.h',
297 'browser/api/cast_channel/cast_auth_util.cc', 339 'browser/api/cast_channel/cast_auth_util.cc',
298 'browser/api/cast_channel/cast_auth_util.h', 340 'browser/api/cast_channel/cast_auth_util.h',
299 'browser/api/cast_channel/cast_channel_api.cc', 341 'browser/api/cast_channel/cast_channel_api.cc',
300 'browser/api/cast_channel/cast_channel_api.h', 342 'browser/api/cast_channel/cast_channel_api.h',
301 'browser/api/cast_channel/cast_message_util.cc', 343 'browser/api/cast_channel/cast_message_util.cc',
302 'browser/api/cast_channel/cast_message_util.h', 344 'browser/api/cast_channel/cast_message_util.h',
303 'browser/api/cast_channel/cast_socket.cc', 345 'browser/api/cast_channel/cast_socket.cc',
304 'browser/api/cast_channel/cast_socket.h', 346 'browser/api/cast_channel/cast_socket.h',
305 'browser/api/cast_channel/logger.cc', 347 'browser/api/cast_channel/logger.cc',
306 'browser/api/cast_channel/logger.h', 348 'browser/api/cast_channel/logger.h',
(...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after
573 # Exclude all API implementations and the ExtensionsApiClient 615 # Exclude all API implementations and the ExtensionsApiClient
574 # interface. Moving an API from src/chrome to src/extensions implies 616 # interface. Moving an API from src/chrome to src/extensions implies
575 # it can be cleanly disabled with enable_extensions==0. 617 # it can be cleanly disabled with enable_extensions==0.
576 # TODO: Eventually the entire extensions module should not be built 618 # TODO: Eventually the entire extensions module should not be built
577 # when enable_extensions==0. 619 # when enable_extensions==0.
578 'sources/': [ 620 'sources/': [
579 ['exclude', '^browser/'], 621 ['exclude', '^browser/'],
580 ], 622 ],
581 'dependencies!': [ 623 'dependencies!': [
582 '../components/components.gyp:usb_service', 624 '../components/components.gyp:usb_service',
625 '../device/bluetooth/bluetooth.gyp:device_bluetooth',
583 '../device/serial/serial.gyp:device_serial', 626 '../device/serial/serial.gyp:device_serial',
584 ], 627 ],
585 }], 628 }],
586 ['use_openssl==1', { 629 ['use_openssl==1', {
587 'sources': [ 630 'sources': [
588 'browser/api/cast_channel/cast_auth_util_openssl.cc', 631 'browser/api/cast_channel/cast_auth_util_openssl.cc',
589 ], 632 ],
590 }, { 633 }, {
591 'sources': [ 634 'sources': [
592 # cast_auth_util_nss.cc uses NSS functions. 635 # cast_auth_util_nss.cc uses NSS functions.
(...skipping 407 matching lines...) Expand 10 before | Expand all | Expand 10 after
1000 'browser/api/cast_channel/logging.proto' 1043 'browser/api/cast_channel/logging.proto'
1001 ], 1044 ],
1002 'variables': { 1045 'variables': {
1003 'proto_in_dir': 'browser/api/cast_channel', 1046 'proto_in_dir': 'browser/api/cast_channel',
1004 'proto_out_dir': 'extensions/browser/api/cast_channel', 1047 'proto_out_dir': 'extensions/browser/api/cast_channel',
1005 }, 1048 },
1006 'includes': [ '../build/protoc.gypi' ] 1049 'includes': [ '../build/protoc.gypi' ]
1007 }, 1050 },
1008 ] 1051 ]
1009 } 1052 }
OLDNEW
« no previous file with comments | « extensions/common/api/schemas.gypi ('k') | extensions/extensions_strings.grd » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698