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 'sources': [ | 6 'sources': [ |
7 '<@(schema_files)', | 7 '<@(schema_files)', |
8 ], | 8 ], |
9 'variables': { | 9 'variables': { |
10 'chromium_code': 1, | 10 'chromium_code': 1, |
(...skipping 23 matching lines...) Expand all Loading... |
34 'sockets_tcp_server.idl', | 34 'sockets_tcp_server.idl', |
35 'sockets_udp.idl', | 35 'sockets_udp.idl', |
36 'storage.json', | 36 'storage.json', |
37 'system_cpu.idl', | 37 'system_cpu.idl', |
38 'system_display.idl', | 38 'system_display.idl', |
39 'system_memory.idl', | 39 'system_memory.idl', |
40 'system_network.idl', | 40 'system_network.idl', |
41 'system_storage.idl', | 41 'system_storage.idl', |
42 'test.json', | 42 'test.json', |
43 'usb.idl', | 43 'usb.idl', |
44 'usb_private.idl', | |
45 'web_request.json', | 44 'web_request.json', |
46 'web_view_internal.json', | 45 'web_view_internal.json', |
47 ], | 46 ], |
48 'non_compiled_schema_files': [ | 47 'non_compiled_schema_files': [ |
49 ], | 48 ], |
50 'main_non_compiled_schema_files': [ | 49 'main_non_compiled_schema_files': [ |
51 'web_request_internal.json', | 50 'web_request_internal.json', |
52 ], | 51 ], |
53 # TODO(thestig) Do not include this file in non-extensions builds. | 52 # TODO(thestig) Do not include this file in non-extensions builds. |
54 # Then the conditional and else block can go away. | 53 # Then the conditional and else block can go away. |
55 # Do the same for extensions/common/api/schemas.gni. | 54 # Do the same for extensions/common/api/schemas.gni. |
56 'conditions': [ | 55 'conditions': [ |
57 ['enable_extensions==1', { | 56 ['enable_extensions==1', { |
58 'non_compiled_schema_files': [ | 57 'non_compiled_schema_files': [ |
59 '<@(main_non_compiled_schema_files)', | 58 '<@(main_non_compiled_schema_files)', |
60 ], | 59 ], |
61 'schema_files': [ | 60 'schema_files': [ |
62 '<@(main_schema_files)', | 61 '<@(main_schema_files)', |
63 ], | 62 ], |
64 }, { | 63 }, { |
65 'schema_files': [ | 64 'schema_files': [ |
66 ], | 65 ], |
67 }], | 66 }], |
68 ], | 67 ], |
69 'cc_dir': 'extensions/common/api', | 68 'cc_dir': 'extensions/common/api', |
70 'root_namespace': 'extensions::core_api::%(namespace)s', | 69 'root_namespace': 'extensions::core_api::%(namespace)s', |
71 'impl_dir_': 'extensions/browser/api', | 70 'impl_dir_': 'extensions/browser/api', |
72 }, | 71 }, |
73 } | 72 } |
OLD | NEW |