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': [ |
(...skipping 13 matching lines...) Expand all Loading... |
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 'experimental.alarms.idl', | 29 'experimental.alarms.idl', |
30 'experimental.bluetooth.idl', | 30 'experimental.bluetooth.idl', |
31 'experimental.dns.idl', | 31 'experimental.dns.idl', |
32 'experimental.serial.idl', | 32 'experimental.serial.idl', |
33 'experimental.socket.idl', | 33 'experimental.socket.idl', |
| 34 'experimental.usb.idl', |
34 ], | 35 ], |
35 'cc_dir': 'chrome/common/extensions/api', | 36 'cc_dir': 'chrome/common/extensions/api', |
36 'root_namespace': 'extensions::api', | 37 'root_namespace': 'extensions::api', |
37 }, | 38 }, |
| 39 'conditions': [ |
| 40 ['OS=="android"', { |
| 41 'idl_schema_files!': [ |
| 42 'experimental.usb.idl', |
| 43 ], |
| 44 }], |
| 45 ], |
38 }, | 46 }, |
39 ], | 47 ], |
40 } | 48 } |
OLD | NEW |