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 'bookmark_manager_private.json', |
28 'bookmarks.json', | 29 'bookmarks.json', |
29 'bookmark_manager_private.json', | |
30 'chromeos_info_private.json', | 30 'chromeos_info_private.json', |
31 'cloud_print_private.json', | 31 'cloud_print_private.json', |
32 'content_settings.json', | 32 'content_settings.json', |
33 'context_menus.json', | 33 'context_menus.json', |
34 'cookies.json', | 34 'cookies.json', |
35 'debugger.json', | 35 'debugger.json', |
36 'developer_private.idl', | 36 'developer_private.idl', |
37 'dial.idl', | 37 'dial.idl', |
38 'downloads.idl', | 38 'downloads.idl', |
39 'echo_private.json', | 39 'echo_private.json', |
40 'downloads_internal.idl', | 40 'downloads_internal.idl', |
41 'events.json', | 41 'events.json', |
42 'experimental_accessibility.json', | 42 'experimental_accessibility.json', |
43 'experimental_app.json', | 43 'experimental_app.json', |
44 'experimental_discovery.idl', | 44 'experimental_discovery.idl', |
45 'experimental_dns.idl', | 45 'experimental_dns.idl', |
46 'experimental_history.json', | 46 'experimental_history.json', |
47 'experimental_identity.idl', | 47 'experimental_identity.idl', |
48 'experimental_idltest.idl', | 48 'experimental_idltest.idl', |
49 'experimental_infobars.json', | 49 'experimental_infobars.json', |
50 'experimental_media_galleries.idl', | 50 'experimental_media_galleries.idl', |
51 'experimental_notification.idl', | |
52 'experimental_power.json', | 51 'experimental_power.json', |
53 'experimental_record.json', | 52 'experimental_record.json', |
54 'experimental_system_info_cpu.idl', | 53 'experimental_system_info_cpu.idl', |
55 'experimental_system_info_memory.idl', | 54 'experimental_system_info_memory.idl', |
56 'experimental_system_info_storage.idl', | 55 'experimental_system_info_storage.idl', |
57 'extension.json', | 56 'extension.json', |
58 'file_browser_handler_internal.json', | 57 'file_browser_handler_internal.json', |
59 'file_system.idl', | 58 'file_system.idl', |
60 'font_settings.json', | 59 'font_settings.json', |
61 'history.json', | 60 'history.json', |
62 'i18n.json', | 61 'i18n.json', |
63 'idle.json', | 62 'idle.json', |
64 'managed_mode_private.json', | 63 'managed_mode_private.json', |
65 'management.json', | 64 'management.json', |
66 'media_galleries.idl', | 65 'media_galleries.idl', |
67 'media_galleries_private.idl', | 66 'media_galleries_private.idl', |
68 'media_player_private.json', | 67 'media_player_private.json', |
69 'metrics_private.json', | 68 'metrics_private.json', |
| 69 'networking_private.json', |
| 70 'notifications.idl', |
70 'omnibox.json', | 71 'omnibox.json', |
71 'networking_private.json', | |
72 'page_capture.json', | 72 'page_capture.json', |
73 'page_launcher.idl', | 73 'page_launcher.idl', |
74 'permissions.json', | 74 'permissions.json', |
75 'push_messaging.idl', | 75 'push_messaging.idl', |
76 'rtc_private.idl', | 76 'rtc_private.idl', |
77 'serial.idl', | 77 'serial.idl', |
78 'session_restore.json', | 78 'session_restore.json', |
79 'socket.idl', | 79 'socket.idl', |
80 'storage.json', | 80 'storage.json', |
81 'sync_file_system.idl', | 81 'sync_file_system.idl', |
82 'system_indicator.idl', | 82 'system_indicator.idl', |
83 'system_info_display.idl', | 83 'system_info_display.idl', |
84 'system_private.json', | 84 'system_private.json', |
85 'tab_capture.idl', | 85 'tab_capture.idl', |
86 'tabs.json', | 86 'tabs.json', |
87 'terminal_private.json', | 87 'terminal_private.json', |
88 'test.json', | 88 'test.json', |
89 'top_sites.json', | 89 'top_sites.json', |
90 'usb.idl', | 90 'usb.idl', |
91 'wallpaper_private.json', | 91 'wallpaper_private.json', |
92 'webview.json', | |
93 'web_navigation.json', | 92 'web_navigation.json', |
94 'web_request.json', | 93 'web_request.json', |
95 'web_socket_proxy_private.json', | 94 'web_socket_proxy_private.json', |
| 95 'webview.json', |
96 'windows.json', | 96 'windows.json', |
97 ], | 97 ], |
98 'cc_dir': 'chrome/common/extensions/api', | 98 'cc_dir': 'chrome/common/extensions/api', |
99 'root_namespace': 'extensions::api', | 99 'root_namespace': 'extensions::api', |
100 }, | 100 }, |
101 'dependencies': [ | 101 'dependencies': [ |
102 '<(DEPTH)/skia/skia.gyp:skia', | 102 '<(DEPTH)/skia/skia.gyp:skia', |
103 '<(DEPTH)/sync/sync.gyp:sync', | 103 '<(DEPTH)/sync/sync.gyp:sync', |
104 ], | 104 ], |
105 'conditions': [ | 105 'conditions': [ |
106 ['OS=="android"', { | 106 ['OS=="android"', { |
107 'schema_files!': [ | 107 'schema_files!': [ |
108 'usb.idl', | 108 'usb.idl', |
109 ], | 109 ], |
110 }], | 110 }], |
111 ['OS!="chromeos"', { | 111 ['OS!="chromeos"', { |
112 'schema_files!': [ | 112 'schema_files!': [ |
113 'file_browser_handler_internal.json', | 113 'file_browser_handler_internal.json', |
114 'rtc_private.idl', | 114 'rtc_private.idl', |
115 ], | 115 ], |
116 }], | 116 }], |
117 ], | 117 ], |
118 }, | 118 }, |
119 ], | 119 ], |
120 } | 120 } |
OLD | NEW |