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