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 'declarative.json', | 21 'events.json', |
22 'experimental_record.json', | 22 'experimental_record.json', |
23 'permissions.json', | 23 'permissions.json', |
24 'storage.json', | 24 'storage.json', |
25 'tabs.json', | 25 'tabs.json', |
26 'windows.json', | 26 'windows.json', |
27 ], | 27 ], |
28 'idl_schema_files': [ | 28 'idl_schema_files': [ |
29 'alarms.idl', | 29 'alarms.idl', |
30 'experimental_bluetooth.idl', | 30 'experimental_bluetooth.idl', |
31 'experimental_dns.idl', | 31 'experimental_dns.idl', |
32 'experimental_idltest.idl', | 32 'experimental_idltest.idl', |
33 'experimental_serial.idl', | 33 'experimental_serial.idl', |
34 'experimental_socket.idl', | 34 'experimental_socket.idl', |
35 'experimental_usb.idl', | 35 'experimental_usb.idl', |
36 ], | 36 ], |
37 'cc_dir': 'chrome/common/extensions/api', | 37 'cc_dir': 'chrome/common/extensions/api', |
38 'root_namespace': 'extensions::api', | 38 'root_namespace': 'extensions::api', |
39 }, | 39 }, |
40 'conditions': [ | 40 'conditions': [ |
41 ['OS=="android"', { | 41 ['OS=="android"', { |
42 'idl_schema_files!': [ | 42 'idl_schema_files!': [ |
43 'experimental_usb.idl', | 43 'experimental_usb.idl', |
44 ], | 44 ], |
45 }], | 45 }], |
46 ], | 46 ], |
47 }, | 47 }, |
48 ], | 48 ], |
49 } | 49 } |
OLD | NEW |