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