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
|
# 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': [
'content_settings.json',
'events.json',
'experimental_font_settings.json',
'experimental_record.json',
'file_browser_handler_internal.json',
'permissions.json',
'storage.json',
'tabs.json',
'web_navigation.json',
'windows.json',
],
'idl_schema_files': [
'alarms.idl',
'app_window.idl',
'downloads.idl',
'experimental_bluetooth.idl',
'experimental_discovery.idl',
'experimental_dns.idl',
'experimental_idltest.idl',
'experimental_serial.idl',
'experimental_socket.idl',
'experimental_usb.idl',
'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',
],
}],
],
},
],
}
|