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