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 'target_name': 'extensions_api', | 9 'target_name': 'extensions_api', |
9 'type': 'static_library', | 10 'type': 'static_library', |
10 'sources': [ | 11 'sources': [ |
11 '<@(schema_files)', | 12 '<@(schema_files)', |
12 ], | 13 ], |
13 # TODO(jschuh): http://crbug.com/167187 size_t -> int | 14 # TODO(jschuh): http://crbug.com/167187 size_t -> int |
14 'msvs_disabled_warnings': [ 4267 ], | 15 'msvs_disabled_warnings': [ 4267 ], |
15 'includes': [ | 16 'includes': [ |
16 '../../../build/json_schema_bundle_compile.gypi', | 17 '../../../build/json_schema_bundle_compile.gypi', |
17 '../../../build/json_schema_compile.gypi', | 18 '../../../build/json_schema_compile.gypi', |
18 ], | 19 ], |
19 'variables': { | 20 'variables': { |
20 'chromium_code': 1, | 21 'chromium_code': 1, |
21 'non_compiled_schema_files': [ | 22 'non_compiled_schema_files': [ |
22 ], | 23 ], |
23 'conditions': [ | 24 'conditions': [ |
24 ['enable_extensions==1', { | 25 ['enable_extensions==1', { |
| 26 # Note: file list duplicated in GN build. |
25 'schema_files': [ | 27 'schema_files': [ |
26 'app_runtime.idl', | 28 'app_runtime.idl', |
27 'app_view_internal.json', | 29 'app_view_internal.json', |
28 'dns.idl', | 30 'dns.idl', |
29 'extensions_manifest_types.json', | 31 'extensions_manifest_types.json', |
30 'power.idl', | 32 'power.idl', |
31 'runtime.json', | 33 'runtime.json', |
32 'serial.idl', | 34 'serial.idl', |
33 'socket.idl', | 35 'socket.idl', |
34 'sockets_tcp.idl', | 36 'sockets_tcp.idl', |
(...skipping 15 matching lines...) Expand all Loading... |
50 'root_namespace': 'extensions::core_api', | 52 'root_namespace': 'extensions::core_api', |
51 'impl_dir': 'extensions/browser/api', | 53 'impl_dir': 'extensions/browser/api', |
52 }, | 54 }, |
53 'dependencies': [ | 55 'dependencies': [ |
54 '<(DEPTH)/device/serial/serial.gyp:device_serial', | 56 '<(DEPTH)/device/serial/serial.gyp:device_serial', |
55 '<(DEPTH)/skia/skia.gyp:skia', | 57 '<(DEPTH)/skia/skia.gyp:skia', |
56 ], | 58 ], |
57 }, | 59 }, |
58 ], | 60 ], |
59 } | 61 } |
OLD | NEW |