OLD | NEW |
| (Empty) |
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 | |
3 # found in the LICENSE file. | |
4 | |
5 { | |
6 'sources': [ | |
7 '<@(schema_files)', | |
8 ], | |
9 'variables': { | |
10 'chromium_code': 1, | |
11 # TODO: Eliminate these on Android. See crbug.com/305852. | |
12 'android_schema_files': [ | |
13 'runtime.json', | |
14 ], | |
15 'main_schema_files': [ | |
16 'app_runtime.idl', | |
17 'app_view_internal.json', | |
18 'cast_channel.idl', | |
19 'dns.idl', | |
20 'extensions_manifest_types.json', | |
21 'hid.idl', | |
22 'power.idl', | |
23 'runtime.json', | |
24 'serial.idl', | |
25 'socket.idl', | |
26 'sockets_tcp.idl', | |
27 'sockets_tcp_server.idl', | |
28 'sockets_udp.idl', | |
29 'storage.json', | |
30 'test.json', | |
31 'usb.idl', | |
32 'usb_private.idl', | |
33 ], | |
34 'non_compiled_schema_files': [ | |
35 ], | |
36 'conditions': [ | |
37 ['enable_extensions==1', { | |
38 'schema_files': [ | |
39 '<@(main_schema_files)', | |
40 ], | |
41 }, { | |
42 'schema_files': [ | |
43 '<@(android_schema_files)', | |
44 ], | |
45 }], | |
46 ], | |
47 'cc_dir': 'extensions/common/api', | |
48 'root_namespace': 'extensions::core_api::%(namespace)s', | |
49 'impl_dir_': 'extensions/browser/api', | |
50 }, | |
51 } | |
OLD | NEW |