1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
|
# Copyright (c) 2012 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
{
'targets': [
{
'target_name': 'api',
'type': 'static_library',
'sources': [
'<@(idl_schema_files)',
'<@(json_schema_files)',
],
'includes': [
'../../../../build/json_schema_bundle_compile.gypi',
'../../../../build/json_schema_compile.gypi',
],
'variables': {
'chromium_code': 1,
'json_schema_files': [
'bookmarks.json',
'content_settings.json',
'context_menus.json',
'cookies.json',
'debugger.json',
'events.json',
'experimental_history.json',
'experimental_record.json',
'file_browser_handler_internal.json',
'i18n.json',
'font_settings.json',
'history.json',
'management.json',
'page_capture.json',
'permissions.json',
'storage.json',
'tabs.json',
'web_navigation.json',
'web_request.json',
'windows.json',
],
'idl_schema_files': [
'alarms.idl',
'app_current_window_internal.idl',
'app_runtime.idl',
'app_window.idl',
'downloads.idl',
'experimental_bluetooth.idl',
'experimental_discovery.idl',
'experimental_dns.idl',
'experimental_identity.idl',
'experimental_idltest.idl',
'experimental_media_galleries.idl',
'experimental_notification.idl',
'experimental_push_messaging.idl',
'experimental_system_info_cpu.idl',
'experimental_system_info_storage.idl',
'experimental_usb.idl',
'file_system.idl',
'media_galleries.idl',
'media_galleries_private.idl',
'rtc_private.idl',
'serial.idl',
'socket.idl',
'sync_file_system.idl',
],
'cc_dir': 'chrome/common/extensions/api',
'root_namespace': 'extensions::api',
},
'conditions': [
['OS=="android"', {
'idl_schema_files!': [
'experimental_usb.idl',
],
}],
['OS!="chromeos"', {
'json_schema_files!': [
'file_browser_handler_internal.json',
],
'idl_schema_files!': [
'rtc_private.idl',
],
}],
],
},
],
}
|