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 '<@(idl_schema_files)', |
12 '<@(json_schema_files)', | 12 '<@(json_schema_files)', |
13 ], | 13 ], |
14 'includes': [ | 14 'includes': [ |
15 '../../../../build/json_schema_bundle_compile.gypi', | 15 '../../../../build/json_schema_bundle_compile.gypi', |
16 '../../../../build/json_schema_compile.gypi', | 16 '../../../../build/json_schema_compile.gypi', |
17 ], | 17 ], |
18 'variables': { | 18 'variables': { |
19 'chromium_code': 1, | 19 'chromium_code': 1, |
20 'json_schema_files': [ | 20 'json_schema_files': [ |
21 'browserAction.json', | 21 'browser_action.json', |
22 'declarative.json', | 22 'declarative.json', |
23 'experimental.record.json', | 23 'experimental_font_settings.json', |
24 'experimental.fontSettings.json', | 24 'experimental_record.json', |
25 'permissions.json', | 25 'permissions.json', |
26 'storage.json', | 26 'storage.json', |
27 'tabs.json', | 27 'tabs.json', |
28 'windows.json', | 28 'windows.json', |
29 ], | 29 ], |
30 'idl_schema_files': [ | 30 'idl_schema_files': [ |
31 'alarms.idl', | 31 'alarms.idl', |
32 'experimental.bluetooth.idl', | 32 'experimental_bluetooth.idl', |
33 'experimental.dns.idl', | 33 'experimental_dns.idl', |
34 'experimental.idltest.idl', | 34 'experimental_idltest.idl', |
35 'experimental.serial.idl', | 35 'experimental_serial.idl', |
36 'experimental.socket.idl', | 36 'experimental_socket.idl', |
37 'experimental.usb.idl', | 37 'experimental_usb.idl', |
38 ], | 38 ], |
39 'cc_dir': 'chrome/common/extensions/api', | 39 'cc_dir': 'chrome/common/extensions/api', |
40 'root_namespace': 'extensions::api', | 40 'root_namespace': 'extensions::api', |
41 }, | 41 }, |
42 'conditions': [ | 42 'conditions': [ |
43 ['OS=="android"', { | 43 ['OS=="android"', { |
44 'idl_schema_files!': [ | 44 'idl_schema_files!': [ |
45 'experimental.usb.idl', | 45 'experimental_usb.idl', |
46 ], | 46 ], |
47 }], | 47 }], |
48 ], | 48 ], |
49 }, | 49 }, |
50 ], | 50 ], |
51 } | 51 } |
OLD | NEW |