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, |
11 'main_schema_files': [ | 11 'schema_files': [ |
12 'app_current_window_internal.idl', | 12 'app_current_window_internal.idl', |
13 'app_runtime.idl', | 13 'app_runtime.idl', |
14 'app_view_guest_internal.json', | 14 'app_view_guest_internal.json', |
15 'app_window.idl', | 15 'app_window.idl', |
16 'bluetooth.idl', | 16 'bluetooth.idl', |
17 'bluetooth_low_energy.idl', | 17 'bluetooth_low_energy.idl', |
18 'bluetooth_private.json', | 18 'bluetooth_private.json', |
19 'bluetooth_socket.idl', | 19 'bluetooth_socket.idl', |
20 'cast_channel.idl', | 20 'cast_channel.idl', |
21 'copresence_socket.idl', | 21 'copresence_socket.idl', |
(...skipping 18 matching lines...) Expand all Loading... |
40 'system_memory.idl', | 40 'system_memory.idl', |
41 'system_network.idl', | 41 'system_network.idl', |
42 'system_storage.idl', | 42 'system_storage.idl', |
43 'test.json', | 43 'test.json', |
44 'usb.idl', | 44 'usb.idl', |
45 'virtual_keyboard_private.json', | 45 'virtual_keyboard_private.json', |
46 'web_request.json', | 46 'web_request.json', |
47 'web_view_internal.json', | 47 'web_view_internal.json', |
48 ], | 48 ], |
49 'non_compiled_schema_files': [ | 49 'non_compiled_schema_files': [ |
50 ], | |
51 'main_non_compiled_schema_files': [ | |
52 'web_request_internal.json', | 50 'web_request_internal.json', |
53 ], | 51 ], |
54 # TODO(thestig) Do not include this file in non-extensions builds. | |
55 # Then the conditional and else block can go away. | |
56 # Do the same for extensions/common/api/schemas.gni. | |
57 'conditions': [ | |
58 ['enable_extensions==1', { | |
59 'non_compiled_schema_files': [ | |
60 '<@(main_non_compiled_schema_files)', | |
61 ], | |
62 'schema_files': [ | |
63 '<@(main_schema_files)', | |
64 ], | |
65 }, { | |
66 'schema_files': [ | |
67 ], | |
68 }], | |
69 ], | |
70 'cc_dir': 'extensions/common/api', | 52 'cc_dir': 'extensions/common/api', |
71 'root_namespace': 'extensions::core_api::%(namespace)s', | 53 'root_namespace': 'extensions::core_api::%(namespace)s', |
72 'impl_dir_': 'extensions/browser/api', | 54 'impl_dir_': 'extensions/browser/api', |
73 }, | 55 }, |
74 } | 56 } |
OLD | NEW |