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 # GN version: //extensions/common/api | 8 # GN version: //extensions/common/api |
9 'target_name': 'extensions_api', | 9 'target_name': 'extensions_api', |
10 'type': 'static_library', | 10 'type': 'static_library', |
11 'sources': [ | 11 'sources': [ |
12 '<@(schema_files)', | 12 '<@(schema_files)', |
13 ], | 13 ], |
14 # TODO(jschuh): http://crbug.com/167187 size_t -> int | 14 # TODO(jschuh): http://crbug.com/167187 size_t -> int |
15 'msvs_disabled_warnings': [ 4267 ], | 15 'msvs_disabled_warnings': [ 4267 ], |
16 'includes': [ | 16 'includes': [ |
17 '../../../build/json_schema_bundle_compile.gypi', | 17 '../../../build/json_schema_bundle_compile.gypi', |
18 '../../../build/json_schema_compile.gypi', | 18 '../../../build/json_schema_compile.gypi', |
19 ], | 19 ], |
20 'variables': { | 20 'variables': { |
21 'chromium_code': 1, | 21 'chromium_code': 1, |
22 'non_compiled_schema_files': [ | 22 'non_compiled_schema_files': [ |
23 ], | 23 ], |
24 'conditions': [ | 24 'conditions': [ |
25 ['enable_extensions==1', { | 25 ['enable_extensions==1', { |
26 # Note: file list duplicated in GN build. | 26 # Note: file list duplicated in GN build. |
27 'schema_files': [ | 27 'schema_files': [ |
28 'app_runtime.idl', | 28 'app_runtime.idl', |
29 'app_view_internal.json', | 29 'app_view_internal.json', |
| 30 'cast_channel.idl', |
30 'dns.idl', | 31 'dns.idl', |
31 'extensions_manifest_types.json', | 32 'extensions_manifest_types.json', |
| 33 'hid.idl', |
32 'power.idl', | 34 'power.idl', |
33 'runtime.json', | 35 'runtime.json', |
34 'serial.idl', | 36 'serial.idl', |
35 'socket.idl', | 37 'socket.idl', |
36 'sockets_tcp.idl', | 38 'sockets_tcp.idl', |
37 'sockets_tcp_server.idl', | 39 'sockets_tcp_server.idl', |
38 'sockets_udp.idl', | 40 'sockets_udp.idl', |
39 'storage.json', | 41 'storage.json', |
40 'test.json', | 42 'test.json', |
41 'usb.idl', | 43 'usb.idl', |
(...skipping 13 matching lines...) Expand all Loading... |
55 ['enable_extensions==1', { | 57 ['enable_extensions==1', { |
56 'dependencies': [ | 58 'dependencies': [ |
57 '<(DEPTH)/device/serial/serial.gyp:device_serial', | 59 '<(DEPTH)/device/serial/serial.gyp:device_serial', |
58 '<(DEPTH)/skia/skia.gyp:skia', | 60 '<(DEPTH)/skia/skia.gyp:skia', |
59 ], | 61 ], |
60 }], | 62 }], |
61 ], | 63 ], |
62 }, | 64 }, |
63 ], | 65 ], |
64 } | 66 } |
OLD | NEW |