OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 import("//extensions/generated_extensions_api.gni") | 5 import("//extensions/generated_extensions_api.gni") |
| 6 import("schemas.gni") |
6 | 7 |
7 # GYP version: extensions/common/api/api.gyp:extensions_api | 8 # GYP version: extensions/common/api/api.gyp:extensions_api |
8 generated_extensions_api("api") { | 9 generated_extensions_api("api") { |
9 sources = [ | 10 schemas = true |
10 "app_runtime.idl", | 11 bundle = true |
11 "app_view_internal.json", | 12 } |
12 "cast_channel.idl", | 13 |
13 "dns.idl", | 14 # GYP version: extensions/browser/api/api_registration.gyp:extensions_api_regist
ration |
14 "extensions_manifest_types.json", | 15 generated_extensions_api("api_registration") { |
15 "hid.idl", | |
16 "power.idl", | |
17 "runtime.json", | |
18 "serial.idl", | |
19 "socket.idl", | |
20 "sockets_tcp.idl", | |
21 "sockets_tcp_server.idl", | |
22 "sockets_udp.idl", | |
23 "storage.json", | |
24 "test.json", | |
25 "usb.idl", | |
26 "usb_private.idl", | |
27 ] | |
28 root_namespace = "extensions::core_api::%(namespace)s" | |
29 impl_dir = "//extensions/browser/api" | 16 impl_dir = "//extensions/browser/api" |
30 bundle = true | 17 bundle_registration = true |
| 18 |
31 deps = [ | 19 deps = [ |
32 "//device/serial", | 20 "//device/serial", |
33 "//skia", | 21 "//skia", |
34 ] | 22 ] |
35 } | 23 } |
OLD | NEW |