| OLD | NEW |
| 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 { |
| 11 # GN version: //extensions/common:mojo | 11 # GN version: //extensions/common:mojo |
| 12 'target_name': 'extensions_common_mojo', | 12 'target_name': 'extensions_common_mojo', |
| 13 # The type of this target must be none. This is so that resources can | 13 # The type of this target must be none. This is so that resources can |
| 14 # depend upon this target for generating the js bindings files. Any | 14 # depend upon this target for generating the js bindings files. Any |
| 15 # generated cpp files must be listed explicitly in extensions_common | 15 # generated cpp files must be listed explicitly in extensions_common |
| 16 'type': 'none', | 16 'type': 'none', |
| 17 'includes': [ | 17 'includes': [ |
| 18 '../mojo/public/tools/bindings/mojom_bindings_generator.gypi', | 18 '../mojo/public/tools/bindings/mojom_bindings_generator.gypi', |
| 19 ], | 19 ], |
| 20 'sources': [ | 20 'sources': [ |
| 21 'common/stash.mojom', | 21 'common/stash.mojom', |
| 22 ], | 22 ], |
| 23 }, | 23 }, |
| 24 { | 24 { |
| 25 # GN version: //extensions/common | 25 # GN version: //extensions/common |
| 26 'target_name': 'extensions_common_constants', |
| 27 'type': 'static_library', |
| 28 'include_dirs': [ |
| 29 '..', |
| 30 '<(INTERMEDIATE_DIR)', |
| 31 ], |
| 32 'sources': [ |
| 33 # Note: sources list duplicated in GN build. |
| 34 'common/constants.cc', |
| 35 'common/constants.h', |
| 36 ], |
| 37 # Disable c4267 warnings until we fix size_t to int truncations. |
| 38 'msvs_disabled_warnings': [ 4267, ], |
| 39 }, |
| 40 { |
| 41 # GN version: //extensions/common |
| 26 'target_name': 'extensions_common', | 42 'target_name': 'extensions_common', |
| 27 'type': 'static_library', | 43 'type': 'static_library', |
| 28 'dependencies': [ | 44 'dependencies': [ |
| 29 '../components/components.gyp:crx_file', | 45 '../components/components.gyp:crx_file', |
| 30 '../components/components.gyp:url_matcher', | 46 '../components/components.gyp:url_matcher', |
| 31 '../content/content.gyp:content_common', | 47 '../content/content.gyp:content_common', |
| 32 '../crypto/crypto.gyp:crypto', | 48 '../crypto/crypto.gyp:crypto', |
| 33 '../ipc/ipc.gyp:ipc', | 49 '../ipc/ipc.gyp:ipc', |
| 34 '../net/net.gyp:net', | 50 '../net/net.gyp:net', |
| 35 '../third_party/re2/re2.gyp:re2', | 51 '../third_party/re2/re2.gyp:re2', |
| 36 '../ui/base/ui_base.gyp:ui_base', | 52 '../ui/base/ui_base.gyp:ui_base', |
| 37 '../ui/gfx/gfx.gyp:gfx_geometry', | 53 '../ui/gfx/gfx.gyp:gfx_geometry', |
| 38 '../ui/gfx/ipc/gfx_ipc.gyp:gfx_ipc', | 54 '../ui/gfx/ipc/gfx_ipc.gyp:gfx_ipc', |
| 39 '../url/url.gyp:url_lib', | 55 '../url/url.gyp:url_lib', |
| 40 '../third_party/libxml/libxml.gyp:libxml', | 56 '../third_party/libxml/libxml.gyp:libxml', |
| 41 'extensions_resources.gyp:extensions_resources', | 57 'extensions_resources.gyp:extensions_resources', |
| 42 'extensions_strings.gyp:extensions_strings', | 58 'extensions_strings.gyp:extensions_strings', |
| 59 'extensions_common_constants', |
| 43 'extensions_common_mojo', | 60 'extensions_common_mojo', |
| 44 ], | 61 ], |
| 45 'include_dirs': [ | 62 'include_dirs': [ |
| 46 '..', | 63 '..', |
| 47 '<(INTERMEDIATE_DIR)', | 64 '<(INTERMEDIATE_DIR)', |
| 48 ], | 65 ], |
| 49 'sources': [ | 66 'sources': [ |
| 50 # Note: sources list duplicated in GN build. | 67 # Note: sources list duplicated in GN build. |
| 51 'common/api/bluetooth/bluetooth_manifest_data.cc', | 68 'common/api/bluetooth/bluetooth_manifest_data.cc', |
| 52 'common/api/bluetooth/bluetooth_manifest_data.h', | 69 'common/api/bluetooth/bluetooth_manifest_data.h', |
| 53 'common/api/bluetooth/bluetooth_manifest_handler.cc', | 70 'common/api/bluetooth/bluetooth_manifest_handler.cc', |
| 54 'common/api/bluetooth/bluetooth_manifest_handler.h', | 71 'common/api/bluetooth/bluetooth_manifest_handler.h', |
| 55 'common/api/bluetooth/bluetooth_manifest_permission.cc', | 72 'common/api/bluetooth/bluetooth_manifest_permission.cc', |
| 56 'common/api/bluetooth/bluetooth_manifest_permission.h', | 73 'common/api/bluetooth/bluetooth_manifest_permission.h', |
| 57 'common/api/messaging/message.h', | 74 'common/api/messaging/message.h', |
| 58 'common/api/sockets/sockets_manifest_data.cc', | 75 'common/api/sockets/sockets_manifest_data.cc', |
| 59 'common/api/sockets/sockets_manifest_data.h', | 76 'common/api/sockets/sockets_manifest_data.h', |
| 60 'common/api/sockets/sockets_manifest_handler.cc', | 77 'common/api/sockets/sockets_manifest_handler.cc', |
| 61 'common/api/sockets/sockets_manifest_handler.h', | 78 'common/api/sockets/sockets_manifest_handler.h', |
| 62 'common/api/sockets/sockets_manifest_permission.cc', | 79 'common/api/sockets/sockets_manifest_permission.cc', |
| 63 'common/api/sockets/sockets_manifest_permission.h', | 80 'common/api/sockets/sockets_manifest_permission.h', |
| 64 'common/common_manifest_handlers.cc', | 81 'common/common_manifest_handlers.cc', |
| 65 'common/common_manifest_handlers.h', | 82 'common/common_manifest_handlers.h', |
| 66 'common/constants.cc', | |
| 67 'common/constants.h', | |
| 68 'common/csp_validator.cc', | 83 'common/csp_validator.cc', |
| 69 'common/csp_validator.h', | 84 'common/csp_validator.h', |
| 70 'common/dom_action_types.h', | 85 'common/dom_action_types.h', |
| 71 'common/draggable_region.cc', | 86 'common/draggable_region.cc', |
| 72 'common/draggable_region.h', | 87 'common/draggable_region.h', |
| 73 'common/error_utils.cc', | 88 'common/error_utils.cc', |
| 74 'common/error_utils.h', | 89 'common/error_utils.h', |
| 75 'common/event_filter.cc', | 90 'common/event_filter.cc', |
| 76 'common/event_filter.h', | 91 'common/event_filter.h', |
| 77 'common/event_filtering_info.cc', | 92 'common/event_filtering_info.cc', |
| (...skipping 1118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1196 'conditions': [ | 1211 'conditions': [ |
| 1197 ['OS=="win" and win_use_allocator_shim==1', { | 1212 ['OS=="win" and win_use_allocator_shim==1', { |
| 1198 'dependencies': [ | 1213 'dependencies': [ |
| 1199 '../base/allocator/allocator.gyp:allocator', | 1214 '../base/allocator/allocator.gyp:allocator', |
| 1200 ], | 1215 ], |
| 1201 }], | 1216 }], |
| 1202 ], | 1217 ], |
| 1203 }, | 1218 }, |
| 1204 ] | 1219 ] |
| 1205 } | 1220 } |
| OLD | NEW |