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 24 matching lines...) Expand all Loading... |
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', | 44 'usb_private.idl', |
| 45 'web_request.json', |
45 'web_view_internal.json', | 46 'web_view_internal.json', |
46 ], | 47 ], |
47 'non_compiled_schema_files': [ | 48 'non_compiled_schema_files': [ |
48 ], | 49 ], |
| 50 'main_non_compiled_schema_files': [ |
| 51 'web_request_internal.json', |
| 52 ], |
49 # TODO(thestig) Do not include this file in non-extensions builds. | 53 # TODO(thestig) Do not include this file in non-extensions builds. |
50 # Then the conditional and else block can go away. | 54 # Then the conditional and else block can go away. |
51 # Do the same for extensions/common/api/schemas.gni. | 55 # Do the same for extensions/common/api/schemas.gni. |
52 'conditions': [ | 56 'conditions': [ |
53 ['enable_extensions==1', { | 57 ['enable_extensions==1', { |
| 58 'non_compiled_schema_files': [ |
| 59 '<@(main_non_compiled_schema_files)', |
| 60 ], |
54 'schema_files': [ | 61 'schema_files': [ |
55 '<@(main_schema_files)', | 62 '<@(main_schema_files)', |
56 ], | 63 ], |
57 }, { | 64 }, { |
58 'schema_files': [ | 65 'schema_files': [ |
59 ], | 66 ], |
60 }], | 67 }], |
61 ], | 68 ], |
62 'cc_dir': 'extensions/common/api', | 69 'cc_dir': 'extensions/common/api', |
63 'root_namespace': 'extensions::core_api::%(namespace)s', | 70 'root_namespace': 'extensions::core_api::%(namespace)s', |
64 'impl_dir_': 'extensions/browser/api', | 71 'impl_dir_': 'extensions/browser/api', |
65 }, | 72 }, |
66 } | 73 } |
OLD | NEW |