OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 'targets': [ | 6 'targets': [ |
7 { | 7 { |
8 'target_name': 'extensions_api', | 8 'target_name': 'extensions_api', |
9 'type': 'static_library', | 9 'type': 'static_library', |
10 'sources': [ | 10 'sources': [ |
11 '<@(schema_files)', | 11 '<@(schema_files)', |
12 ], | 12 ], |
13 # TODO(jschuh): http://crbug.com/167187 size_t -> int | 13 # TODO(jschuh): http://crbug.com/167187 size_t -> int |
14 'msvs_disabled_warnings': [ 4267 ], | 14 'msvs_disabled_warnings': [ 4267 ], |
15 'includes': [ | 15 'includes': [ |
16 '../../../build/json_schema_bundle_compile.gypi', | 16 '../../../build/json_schema_bundle_compile.gypi', |
17 '../../../build/json_schema_compile.gypi', | 17 '../../../build/json_schema_compile.gypi', |
18 ], | 18 ], |
19 'variables': { | 19 'variables': { |
20 'chromium_code': 1, | 20 'chromium_code': 1, |
21 'non_compiled_schema_files': [ | 21 'non_compiled_schema_files': [ |
22 ], | 22 ], |
23 # TODO: Eliminate these on Android. See crbug.com/305852. | 23 # TODO: Eliminate these on Android. See crbug.com/305852. |
24 'schema_files': [ | 24 'schema_files': [ |
25 'dns.idl', | 25 'dns.idl', |
26 'extensions_manifest_types.json', | 26 'extensions_manifest_types.json', |
| 27 'runtime.json', |
27 'socket.idl', | 28 'socket.idl', |
28 'sockets_tcp.idl', | 29 'sockets_tcp.idl', |
29 'sockets_tcp_server.idl', | 30 'sockets_tcp_server.idl', |
30 'sockets_udp.idl', | 31 'sockets_udp.idl', |
31 'storage.json', | 32 'storage.json', |
32 'test.json', | 33 'test.json', |
33 'usb.idl', | 34 'usb.idl', |
34 ], | 35 ], |
35 'cc_dir': 'extensions/common/api', | 36 'cc_dir': 'extensions/common/api', |
36 'root_namespace': 'extensions::core_api', | 37 'root_namespace': 'extensions::core_api', |
37 'impl_dir': 'extensions/browser/api', | 38 'impl_dir': 'extensions/browser/api', |
38 }, | 39 }, |
39 'dependencies': [ | 40 'dependencies': [ |
40 '<(DEPTH)/skia/skia.gyp:skia', | 41 '<(DEPTH)/skia/skia.gyp:skia', |
41 ], | 42 ], |
42 }, | 43 }, |
43 ], | 44 ], |
44 } | 45 } |
OLD | NEW |