| OLD | NEW |
| 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 'targets': [ | 6 'targets': [ |
| 7 { | 7 { |
| 8 'target_name': 'api', | 8 'target_name': 'api', |
| 9 'type': 'static_library', | 9 'type': 'static_library', |
| 10 'sources': [ | 10 'sources': [ |
| 11 '<@(schema_files)', | 11 '<@(idl_schema_files)', |
| 12 '<@(json_schema_files)', |
| 12 ], | 13 ], |
| 13 'includes': [ | 14 'includes': [ |
| 14 '../../../../build/json_schema_bundle_compile.gypi', | 15 '../../../../build/json_schema_bundle_compile.gypi', |
| 15 '../../../../build/json_schema_compile.gypi', | 16 '../../../../build/json_schema_compile.gypi', |
| 16 ], | 17 ], |
| 17 'variables': { | 18 'variables': { |
| 18 'chromium_code': 1, | 19 'chromium_code': 1, |
| 19 'schema_files': [ | 20 'json_schema_files': [ |
| 21 'bookmarks.json', |
| 22 'cloud_print_private.json', |
| 23 'content_settings.json', |
| 24 'context_menus.json', |
| 25 'cookies.json', |
| 26 'debugger.json', |
| 27 'events.json', |
| 28 'experimental_history.json', |
| 29 'experimental_record.json', |
| 30 'file_browser_handler_internal.json', |
| 31 'i18n.json', |
| 32 'font_settings.json', |
| 33 'history.json', |
| 34 'management.json', |
| 35 'page_capture.json', |
| 36 'permissions.json', |
| 37 'storage.json', |
| 38 'tabs.json', |
| 39 'web_navigation.json', |
| 40 'web_request.json', |
| 41 'windows.json', |
| 42 ], |
| 43 'idl_schema_files': [ |
| 20 'alarms.idl', | 44 'alarms.idl', |
| 21 'app_current_window_internal.idl', | 45 'app_current_window_internal.idl', |
| 22 'app_runtime.idl', | 46 'app_runtime.idl', |
| 23 'app_window.idl', | 47 'app_window.idl', |
| 24 'autotest_private.idl', | 48 'autotest_private.idl', |
| 25 'bluetooth.idl', | 49 'bluetooth.idl', |
| 26 'bookmarks.json', | |
| 27 'cloud_print_private.json', | |
| 28 'content_settings.json', | |
| 29 'context_menus.json', | |
| 30 'cookies.json', | |
| 31 'debugger.json', | |
| 32 'developer_private.idl', | 50 'developer_private.idl', |
| 33 'dial.idl', | 51 'dial.idl', |
| 34 'downloads.idl', | 52 'downloads.idl', |
| 35 'events.json', | |
| 36 'experimental_discovery.idl', | 53 'experimental_discovery.idl', |
| 37 'experimental_dns.idl', | 54 'experimental_dns.idl', |
| 38 'experimental_history.json', | |
| 39 'experimental_identity.idl', | 55 'experimental_identity.idl', |
| 40 'experimental_idltest.idl', | 56 'experimental_idltest.idl', |
| 41 'experimental_media_galleries.idl', | 57 'experimental_media_galleries.idl', |
| 42 'experimental_notification.idl', | 58 'experimental_notification.idl', |
| 43 'experimental_record.json', | |
| 44 'experimental_system_info_cpu.idl', | 59 'experimental_system_info_cpu.idl', |
| 45 'experimental_system_info_display.idl', | 60 'experimental_system_info_display.idl', |
| 46 'experimental_system_info_memory.idl', | 61 'experimental_system_info_memory.idl', |
| 47 'experimental_system_info_storage.idl', | 62 'experimental_system_info_storage.idl', |
| 48 'file_browser_handler_internal.json', | |
| 49 'file_system.idl', | 63 'file_system.idl', |
| 50 'font_settings.json', | |
| 51 'history.json', | |
| 52 'i18n.json', | |
| 53 'management.json', | |
| 54 'media_galleries.idl', | 64 'media_galleries.idl', |
| 55 'media_galleries_private.idl', | 65 'media_galleries_private.idl', |
| 56 'page_capture.json', | |
| 57 'permissions.json', | |
| 58 'push_messaging.idl', | 66 'push_messaging.idl', |
| 59 'rtc_private.idl', | 67 'rtc_private.idl', |
| 60 'serial.idl', | 68 'serial.idl', |
| 61 'socket.idl', | 69 'socket.idl', |
| 62 'storage.json', | |
| 63 'sync_file_system.idl', | 70 'sync_file_system.idl', |
| 64 'system_indicator.idl', | 71 'system_indicator.idl', |
| 65 'tab_capture.idl', | 72 'tab_capture.idl', |
| 66 'tabs.json', | |
| 67 'usb.idl', | 73 'usb.idl', |
| 68 'web_navigation.json', | |
| 69 'web_request.json', | |
| 70 'windows.json', | |
| 71 ], | 74 ], |
| 72 'cc_dir': 'chrome/common/extensions/api', | 75 'cc_dir': 'chrome/common/extensions/api', |
| 73 'root_namespace': 'extensions::api', | 76 'root_namespace': 'extensions::api', |
| 74 }, | 77 }, |
| 75 'conditions': [ | 78 'conditions': [ |
| 76 ['OS=="android"', { | 79 ['OS=="android"', { |
| 77 'schema_files!': [ | 80 'idl_schema_files!': [ |
| 78 'usb.idl', | 81 'usb.idl', |
| 79 ], | 82 ], |
| 80 }], | 83 }], |
| 81 ['OS!="chromeos"', { | 84 ['OS!="chromeos"', { |
| 82 'schema_files!': [ | 85 'json_schema_files!': [ |
| 83 'file_browser_handler_internal.json', | 86 'file_browser_handler_internal.json', |
| 87 ], |
| 88 'idl_schema_files!': [ |
| 84 'rtc_private.idl', | 89 'rtc_private.idl', |
| 85 ], | 90 ], |
| 86 }], | 91 }], |
| 87 ], | 92 ], |
| 88 }, | 93 }, |
| 89 ], | 94 ], |
| 90 } | 95 } |
| OLD | NEW |