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") | |
7 | 6 |
8 # GYP version: extensions/common/api/api.gyp:extensions_api | 7 # GYP version: extensions/common/api/api.gyp:extensions_api |
9 generated_extensions_api("api") { | 8 generated_extensions_api("api") { |
10 schemas = true | 9 sources = [ |
| 10 "app_runtime.idl", |
| 11 "app_view_internal.json", |
| 12 "cast_channel.idl", |
| 13 "dns.idl", |
| 14 "extensions_manifest_types.json", |
| 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" |
11 bundle = true | 30 bundle = true |
12 } | |
13 | |
14 # GYP version: extensions/browser/api/api_registration.gyp:extensions_api_regist
ration | |
15 generated_extensions_api("api_registration") { | |
16 impl_dir = "//extensions/browser/api" | |
17 bundle_registration = true | |
18 | |
19 deps = [ | 31 deps = [ |
20 "//device/serial", | 32 "//device/serial", |
21 "//skia", | 33 "//skia", |
22 ] | 34 ] |
23 } | 35 } |
OLD | NEW |