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 | 11 # GN version: //extensions/common |
12 'target_name': 'extensions_common', | 12 'target_name': 'extensions_common', |
13 'type': 'static_library', | 13 'type': 'static_library', |
14 'dependencies': [ | 14 'dependencies': [ |
15 # TODO(benwells): figure out what to do with the api target and | 15 # TODO(benwells): figure out what to do with the api target and |
16 # api resources compiled into the chrome resource bundle. | 16 # api resources compiled into the chrome resource bundle. |
17 # http://crbug.com/162530 | 17 # http://crbug.com/162530 |
18 '../chrome/chrome_resources.gyp:chrome_resources', | 18 '../chrome/chrome_resources.gyp:chrome_resources', |
19 '../components/components.gyp:url_matcher', | 19 '../components/components.gyp:url_matcher', |
20 '../content/content.gyp:content_common', | 20 '../content/content.gyp:content_common', |
21 '../crypto/crypto.gyp:crypto', | 21 '../crypto/crypto.gyp:crypto', |
22 # For Mojo generated headers for generated_api.cc. | |
23 '../device/serial/serial.gyp:device_serial_mojo', | |
24 '../ipc/ipc.gyp:ipc', | 22 '../ipc/ipc.gyp:ipc', |
25 '../net/net.gyp:net', | 23 '../net/net.gyp:net', |
26 '../third_party/re2/re2.gyp:re2', | 24 '../third_party/re2/re2.gyp:re2', |
27 '../ui/base/ui_base.gyp:ui_base', | 25 '../ui/base/ui_base.gyp:ui_base', |
28 '../ui/gfx/gfx.gyp:gfx_geometry', | 26 '../ui/gfx/gfx.gyp:gfx_geometry', |
29 '../ui/gfx/ipc/gfx_ipc.gyp:gfx_ipc', | 27 '../ui/gfx/ipc/gfx_ipc.gyp:gfx_ipc', |
30 '../url/url.gyp:url_lib', | 28 '../url/url.gyp:url_lib', |
31 '../third_party/libxml/libxml.gyp:libxml', | 29 '../third_party/libxml/libxml.gyp:libxml', |
32 'common/api/api.gyp:extensions_api', | 30 'common/api/api.gyp:extensions_api', |
33 'extensions_strings.gyp:extensions_strings', | 31 'extensions_strings.gyp:extensions_strings', |
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
210 'common/value_counter.cc', | 208 'common/value_counter.cc', |
211 'common/value_counter.h', | 209 'common/value_counter.h', |
212 'common/view_type.cc', | 210 'common/view_type.cc', |
213 'common/view_type.h', | 211 'common/view_type.h', |
214 ], | 212 ], |
215 # Disable c4267 warnings until we fix size_t to int truncations. | 213 # Disable c4267 warnings until we fix size_t to int truncations. |
216 'msvs_disabled_warnings': [ 4267, ], | 214 'msvs_disabled_warnings': [ 4267, ], |
217 'conditions': [ | 215 'conditions': [ |
218 ['enable_extensions==1', { | 216 ['enable_extensions==1', { |
219 'dependencies': [ | 217 'dependencies': [ |
| 218 # For Mojo generated headers for generated_api.cc. |
| 219 '../device/serial/serial.gyp:device_serial_mojo', |
220 '../device/usb/usb.gyp:device_usb', | 220 '../device/usb/usb.gyp:device_usb', |
221 ], | 221 ], |
222 'sources!': [ | 222 'sources!': [ |
223 'common/extension_api_stub.cc', | 223 'common/extension_api_stub.cc', |
224 ], | 224 ], |
225 }, { # enable_extensions == 0 | 225 }, { # enable_extensions == 0 |
226 'sources!': [ | 226 'sources!': [ |
227 'common/api/messaging/message.h', | 227 'common/api/messaging/message.h', |
228 'common/api/sockets/sockets_manifest_data.cc', | 228 'common/api/sockets/sockets_manifest_data.cc', |
229 'common/api/sockets/sockets_manifest_data.h', | 229 'common/api/sockets/sockets_manifest_data.h', |
(...skipping 685 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
915 'browser/api/cast_channel/logging.proto' | 915 'browser/api/cast_channel/logging.proto' |
916 ], | 916 ], |
917 'variables': { | 917 'variables': { |
918 'proto_in_dir': 'browser/api/cast_channel', | 918 'proto_in_dir': 'browser/api/cast_channel', |
919 'proto_out_dir': 'extensions/browser/api/cast_channel', | 919 'proto_out_dir': 'extensions/browser/api/cast_channel', |
920 }, | 920 }, |
921 'includes': [ '../build/protoc.gypi' ] | 921 'includes': [ '../build/protoc.gypi' ] |
922 }, | 922 }, |
923 ] | 923 ] |
924 } | 924 } |
OLD | NEW |