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 '<@(schema_files)', |
12 ], | 12 ], |
13 # TODO(jschuh): http://crbug.com/167187 size_t -> int | 13 # TODO(jschuh): http://crbug.com/167187 size_t -> int |
14 'msvs_disabled_warnings': [ 4267 ], | 14 'msvs_disabled_warnings': [ 4267 ], |
15 'includes': [ | 15 'includes': [ |
16 '../../../../build/json_schema_bundle_compile.gypi', | 16 '../../../../build/json_schema_bundle_compile.gypi', |
17 '../../../../build/json_schema_compile.gypi', | 17 '../../../../build/json_schema_compile.gypi', |
18 ], | 18 ], |
19 'variables': { | 19 'variables': { |
20 'chromium_code': 1, | 20 'chromium_code': 1, |
21 'schema_files': [ | 21 'schema_files': [ |
22 'alarms.idl', | 22 'alarms.idl', |
23 'app_current_window_internal.idl', | 23 'app_current_window_internal.idl', |
24 'app_runtime.idl', | 24 'app_runtime.idl', |
25 'app_window.idl', | 25 'app_window.idl', |
26 'autotest_private.idl', | 26 'autotest_private.idl', |
27 'bluetooth.idl', | 27 'bluetooth.idl', |
28 'bookmarks.json', | 28 'bookmarks.json', |
| 29 'bookmark_manager_private.json', |
| 30 'browsing_data.json', |
| 31 'chromeos_info_private.json', |
29 'cloud_print_private.json', | 32 'cloud_print_private.json', |
30 'content_settings.json', | 33 'content_settings.json', |
31 'context_menus.json', | 34 'context_menus.json', |
32 'cookies.json', | 35 'cookies.json', |
33 'debugger.json', | 36 'debugger.json', |
34 'developer_private.idl', | 37 'developer_private.idl', |
35 'dial.idl', | 38 'dial.idl', |
36 'downloads.idl', | 39 'downloads.idl', |
| 40 'echo_private.json', |
37 'events.json', | 41 'events.json', |
| 42 'experimental_accessibility.json', |
| 43 'experimental_app.json', |
38 'experimental_discovery.idl', | 44 'experimental_discovery.idl', |
39 'experimental_dns.idl', | 45 'experimental_dns.idl', |
40 'experimental_history.json', | 46 'experimental_history.json', |
41 'experimental_identity.idl', | 47 'experimental_identity.idl', |
42 'experimental_idltest.idl', | 48 'experimental_idltest.idl', |
| 49 'experimental_infobars.json', |
43 'experimental_media_galleries.idl', | 50 'experimental_media_galleries.idl', |
44 'experimental_notification.idl', | 51 'experimental_notification.idl', |
| 52 'experimental_power.json', |
45 'experimental_record.json', | 53 'experimental_record.json', |
46 'experimental_system_info_cpu.idl', | 54 'experimental_system_info_cpu.idl', |
47 'experimental_system_info_memory.idl', | 55 'experimental_system_info_memory.idl', |
48 'experimental_system_info_storage.idl', | 56 'experimental_system_info_storage.idl', |
| 57 'extension.json', |
49 'file_browser_handler_internal.json', | 58 'file_browser_handler_internal.json', |
50 'file_system.idl', | 59 'file_system.idl', |
51 'font_settings.json', | 60 'font_settings.json', |
52 'history.json', | 61 'history.json', |
53 'i18n.json', | 62 'i18n.json', |
| 63 'idle.json', |
| 64 'managed_mode_private.json', |
54 'management.json', | 65 'management.json', |
55 'media_galleries.idl', | 66 'media_galleries.idl', |
56 'media_galleries_private.idl', | 67 'media_galleries_private.idl', |
| 68 'media_player_private.json', |
| 69 'metrics_private.json', |
| 70 'omnibox.json', |
57 'page_capture.json', | 71 'page_capture.json', |
58 'permissions.json', | 72 'permissions.json', |
59 'push_messaging.idl', | 73 'push_messaging.idl', |
60 'rtc_private.idl', | 74 'rtc_private.idl', |
61 'serial.idl', | 75 'serial.idl', |
62 'session_restore.json', | 76 'session_restore.json', |
63 'socket.idl', | 77 'socket.idl', |
64 'storage.json', | 78 'storage.json', |
65 'sync_file_system.idl', | 79 'sync_file_system.idl', |
66 'system_indicator.idl', | 80 'system_indicator.idl', |
67 'system_info_display.idl', | 81 'system_info_display.idl', |
| 82 'system_private.json', |
68 'tab_capture.idl', | 83 'tab_capture.idl', |
69 'tabs.json', | 84 'tabs.json', |
| 85 'terminal_private.json', |
| 86 'test.json', |
| 87 'top_sites.json', |
70 'usb.idl', | 88 'usb.idl', |
| 89 'wallpaper_private.json', |
71 'webview.json', | 90 'webview.json', |
72 'web_navigation.json', | 91 'web_navigation.json', |
73 'web_request.json', | 92 'web_request.json', |
| 93 'web_socket_proxy_private.json', |
| 94 'webstore_private.json', |
74 'windows.json', | 95 'windows.json', |
75 ], | 96 ], |
76 'cc_dir': 'chrome/common/extensions/api', | 97 'cc_dir': 'chrome/common/extensions/api', |
77 'root_namespace': 'extensions::api', | 98 'root_namespace': 'extensions::api', |
78 }, | 99 }, |
79 'conditions': [ | 100 'conditions': [ |
80 ['OS=="android"', { | 101 ['OS=="android"', { |
81 'schema_files!': [ | 102 'schema_files!': [ |
82 'usb.idl', | 103 'usb.idl', |
83 ], | 104 ], |
84 }], | 105 }], |
85 ['OS!="chromeos"', { | 106 ['OS!="chromeos"', { |
86 'schema_files!': [ | 107 'schema_files!': [ |
87 'file_browser_handler_internal.json', | 108 'file_browser_handler_internal.json', |
88 'rtc_private.idl', | 109 'rtc_private.idl', |
89 ], | 110 ], |
90 }], | 111 }], |
91 ], | 112 ], |
92 }, | 113 }, |
93 ], | 114 ], |
94 } | 115 } |
OLD | NEW |