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

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: Created 6 years, 4 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
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 18 matching lines...) Expand all
29 '../url/url.gyp:url_lib', 29 '../url/url.gyp:url_lib',
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 'common/api/bluetooth/bluetooth_manifest_data.cc',
40 'common/api/bluetooth/bluetooth_manifest_data.h',
41 'common/api/bluetooth/bluetooth_manifest_handler.cc',
42 'common/api/bluetooth/bluetooth_manifest_handler.h',
43 'common/api/bluetooth/bluetooth_manifest_permission.cc',
44 'common/api/bluetooth/bluetooth_manifest_permission.h',
39 'common/api/messaging/message.h', 45 'common/api/messaging/message.h',
40 'common/api/sockets/sockets_manifest_data.cc', 46 'common/api/sockets/sockets_manifest_data.cc',
41 'common/api/sockets/sockets_manifest_data.h', 47 'common/api/sockets/sockets_manifest_data.h',
42 'common/api/sockets/sockets_manifest_handler.cc', 48 'common/api/sockets/sockets_manifest_handler.cc',
43 'common/api/sockets/sockets_manifest_handler.h', 49 'common/api/sockets/sockets_manifest_handler.h',
44 'common/api/sockets/sockets_manifest_permission.cc', 50 'common/api/sockets/sockets_manifest_permission.cc',
45 'common/api/sockets/sockets_manifest_permission.h', 51 'common/api/sockets/sockets_manifest_permission.h',
46 'common/common_manifest_handlers.cc', 52 'common/common_manifest_handlers.cc',
47 'common/common_manifest_handlers.h', 53 'common/common_manifest_handlers.h',
48 'common/constants.cc', 54 'common/constants.cc',
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 'common/value_counter.cc', 211 'common/value_counter.cc',
206 'common/value_counter.h', 212 'common/value_counter.h',
207 'common/view_type.cc', 213 'common/view_type.cc',
208 'common/view_type.h', 214 'common/view_type.h',
209 ], 215 ],
210 # Disable c4267 warnings until we fix size_t to int truncations. 216 # Disable c4267 warnings until we fix size_t to int truncations.
211 'msvs_disabled_warnings': [ 4267, ], 217 'msvs_disabled_warnings': [ 4267, ],
212 'conditions': [ 218 'conditions': [
213 ['enable_extensions==1', { 219 ['enable_extensions==1', {
214 'dependencies': [ 220 'dependencies': [
221 '../device/bluetooth/bluetooth.gyp:device_bluetooth',
215 # For Mojo generated headers for generated_api.cc. 222 # For Mojo generated headers for generated_api.cc.
216 '../device/serial/serial.gyp:device_serial_mojo', 223 '../device/serial/serial.gyp:device_serial_mojo',
217 '../device/usb/usb.gyp:device_usb', 224 '../device/usb/usb.gyp:device_usb',
218 ], 225 ],
219 'sources!': [ 226 'sources!': [
220 'common/extension_api_stub.cc', 227 'common/extension_api_stub.cc',
221 ], 228 ],
222 }, { # enable_extensions == 0 229 }, { # enable_extensions == 0
223 'sources!': [ 230 'sources!': [
224 'common/api/messaging/message.h', 231 'common/api/messaging/message.h',
(...skipping 24 matching lines...) Expand all
249 'type': 'static_library', 256 'type': 'static_library',
250 'dependencies': [ 257 'dependencies': [
251 '../base/base.gyp:base', 258 '../base/base.gyp:base',
252 '../base/base.gyp:base_prefs', 259 '../base/base.gyp:base_prefs',
253 '../components/components.gyp:keyed_service_content', 260 '../components/components.gyp:keyed_service_content',
254 '../components/components.gyp:keyed_service_core', 261 '../components/components.gyp:keyed_service_core',
255 '../components/components.gyp:pref_registry', 262 '../components/components.gyp:pref_registry',
256 '../components/components.gyp:usb_service', 263 '../components/components.gyp:usb_service',
257 '../components/components.gyp:web_modal', 264 '../components/components.gyp:web_modal',
258 '../content/content.gyp:content_browser', 265 '../content/content.gyp:content_browser',
266 '../device/bluetooth/bluetooth.gyp:device_bluetooth',
259 '../device/serial/serial.gyp:device_serial', 267 '../device/serial/serial.gyp:device_serial',
260 '../skia/skia.gyp:skia', 268 '../skia/skia.gyp:skia',
261 '../third_party/leveldatabase/leveldatabase.gyp:leveldatabase', 269 '../third_party/leveldatabase/leveldatabase.gyp:leveldatabase',
262 'cast_channel_proto', 270 'cast_channel_proto',
263 'common/api/api.gyp:extensions_api', 271 'common/api/api.gyp:extensions_api',
264 'extensions_common', 272 'extensions_common',
265 'extensions_strings.gyp:extensions_strings', 273 'extensions_strings.gyp:extensions_strings',
266 ], 274 ],
267 'include_dirs': [ 275 'include_dirs': [
268 '..', 276 '..',
(...skipping 10 matching lines...) Expand all
279 # Android build still compiles. See conditions below. 287 # Android build still compiles. See conditions below.
280 'browser/api/api_resource.cc', 288 'browser/api/api_resource.cc',
281 'browser/api/api_resource.h', 289 'browser/api/api_resource.h',
282 'browser/api/api_resource_manager.h', 290 'browser/api/api_resource_manager.h',
283 'browser/api/app_runtime/app_runtime_api.cc', 291 'browser/api/app_runtime/app_runtime_api.cc',
284 'browser/api/app_runtime/app_runtime_api.h', 292 'browser/api/app_runtime/app_runtime_api.h',
285 'browser/api/app_view/app_view_internal_api.cc', 293 'browser/api/app_view/app_view_internal_api.cc',
286 'browser/api/app_view/app_view_internal_api.h', 294 'browser/api/app_view/app_view_internal_api.h',
287 'browser/api/async_api_function.cc', 295 'browser/api/async_api_function.cc',
288 'browser/api/async_api_function.h', 296 'browser/api/async_api_function.h',
297 'browser/api/bluetooth/bluetooth_api.cc',
298 'browser/api/bluetooth/bluetooth_api.h',
299 'browser/api/bluetooth/bluetooth_api_pairing_delegate.cc',
300 'browser/api/bluetooth/bluetooth_api_pairing_delegate.h',
301 'browser/api/bluetooth/bluetooth_api_utils.cc',
302 'browser/api/bluetooth/bluetooth_api_utils.h',
303 'browser/api/bluetooth/bluetooth_event_router.cc',
304 'browser/api/bluetooth/bluetooth_event_router.h',
305 'browser/api/bluetooth/bluetooth_extension_function.cc',
306 'browser/api/bluetooth/bluetooth_extension_function.h',
307 'browser/api/bluetooth/bluetooth_private_api.cc',
308 'browser/api/bluetooth/bluetooth_private_api.h',
309 'browser/api/bluetooth_low_energy/bluetooth_low_energy_api.cc',
310 'browser/api/bluetooth_low_energy/bluetooth_low_energy_api.h',
311 'browser/api/bluetooth_low_energy/bluetooth_low_energy_connection.cc',
312 'browser/api/bluetooth_low_energy/bluetooth_low_energy_connection.h',
313 'browser/api/bluetooth_low_energy/bluetooth_low_energy_event_router.cc',
314 'browser/api/bluetooth_low_energy/bluetooth_low_energy_event_router.h',
315 'browser/api/bluetooth_low_energy/bluetooth_low_energy_notify_session.cc ',
316 'browser/api/bluetooth_low_energy/bluetooth_low_energy_notify_session.h' ,
317 'browser/api/bluetooth_low_energy/utils.cc',
318 'browser/api/bluetooth_low_energy/utils.h',
319 'browser/api/bluetooth_socket/bluetooth_api_socket.cc',
320 'browser/api/bluetooth_socket/bluetooth_api_socket.h',
321 'browser/api/bluetooth_socket/bluetooth_socket_api.cc',
322 'browser/api/bluetooth_socket/bluetooth_socket_api.h',
323 'browser/api/bluetooth_socket/bluetooth_socket_event_dispatcher.cc',
324 'browser/api/bluetooth_socket/bluetooth_socket_event_dispatcher.h',
289 'browser/api/cast_channel/cast_auth_util.cc', 325 'browser/api/cast_channel/cast_auth_util.cc',
290 'browser/api/cast_channel/cast_auth_util.h', 326 'browser/api/cast_channel/cast_auth_util.h',
291 'browser/api/cast_channel/cast_channel_api.cc', 327 'browser/api/cast_channel/cast_channel_api.cc',
292 'browser/api/cast_channel/cast_channel_api.h', 328 'browser/api/cast_channel/cast_channel_api.h',
293 'browser/api/cast_channel/cast_message_util.cc', 329 'browser/api/cast_channel/cast_message_util.cc',
294 'browser/api/cast_channel/cast_message_util.h', 330 'browser/api/cast_channel/cast_message_util.h',
295 'browser/api/cast_channel/cast_socket.cc', 331 'browser/api/cast_channel/cast_socket.cc',
296 'browser/api/cast_channel/cast_socket.h', 332 'browser/api/cast_channel/cast_socket.h',
297 'browser/api/cast_channel/logger.cc', 333 'browser/api/cast_channel/logger.cc',
298 'browser/api/cast_channel/logger.h', 334 'browser/api/cast_channel/logger.h',
(...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after
543 # Exclude all API implementations and the ExtensionsApiClient 579 # Exclude all API implementations and the ExtensionsApiClient
544 # interface. Moving an API from src/chrome to src/extensions implies 580 # interface. Moving an API from src/chrome to src/extensions implies
545 # it can be cleanly disabled with enable_extensions==0. 581 # it can be cleanly disabled with enable_extensions==0.
546 # TODO: Eventually the entire extensions module should not be built 582 # TODO: Eventually the entire extensions module should not be built
547 # when enable_extensions==0. 583 # when enable_extensions==0.
548 'sources/': [ 584 'sources/': [
549 ['exclude', '^browser/'], 585 ['exclude', '^browser/'],
550 ], 586 ],
551 'dependencies!': [ 587 'dependencies!': [
552 '../components/components.gyp:usb_service', 588 '../components/components.gyp:usb_service',
589 '../device/bluetooth/bluetooth.gyp:device_bluetooth',
553 '../device/serial/serial.gyp:device_serial', 590 '../device/serial/serial.gyp:device_serial',
554 ], 591 ],
555 }], 592 }],
556 ['use_openssl==1', { 593 ['use_openssl==1', {
557 'sources': [ 594 'sources': [
558 'browser/api/cast_channel/cast_auth_util_openssl.cc', 595 'browser/api/cast_channel/cast_auth_util_openssl.cc',
559 ], 596 ],
560 }, { 597 }, {
561 'sources': [ 598 'sources': [
562 # cast_auth_util_nss.cc uses NSS functions. 599 # cast_auth_util_nss.cc uses NSS functions.
(...skipping 384 matching lines...) Expand 10 before | Expand all | Expand 10 after
947 'browser/api/cast_channel/logging.proto' 984 'browser/api/cast_channel/logging.proto'
948 ], 985 ],
949 'variables': { 986 'variables': {
950 'proto_in_dir': 'browser/api/cast_channel', 987 'proto_in_dir': 'browser/api/cast_channel',
951 'proto_out_dir': 'extensions/browser/api/cast_channel', 988 'proto_out_dir': 'extensions/browser/api/cast_channel',
952 }, 989 },
953 'includes': [ '../build/protoc.gypi' ] 990 'includes': [ '../build/protoc.gypi' ]
954 }, 991 },
955 ] 992 ]
956 } 993 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698