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("//build/config/features.gni") | 5 import("//build/config/features.gni") |
6 import("//build/json_schema_api.gni") | 6 import("//build/json_schema_api.gni") |
7 import("//third_party/mojo/src/mojo/public/tools/bindings/mojom.gni") | 7 import("//third_party/mojo/src/mojo/public/tools/bindings/mojom.gni") |
8 import("schemas.gni") | 8 import("schemas.gni") |
9 | 9 |
10 assert(enable_extensions) | 10 assert(enable_extensions) |
11 | 11 |
12 json_schema_api("generated_api") { | 12 json_schema_api("generated_api") { |
13 schemas = true | 13 schemas = true |
14 bundle = true | 14 bundle = true |
15 bundle_name = "" | 15 bundle_name = "" |
16 } | 16 } |
17 | 17 |
18 # GYP version: extensions/common/api/api.gyp:extensions_api_mojom | 18 # GYP version: extensions/common/api/api.gyp:extensions_api_mojom |
19 mojom("mojom") { | 19 mojom("mojom") { |
20 sources = [] | 20 sources = [] |
21 sources = [ | 21 sources = [ |
22 "mime_handler.mojom", | 22 "mime_handler.mojom", |
23 ] | 23 ] |
24 } | 24 } |
25 | 25 |
26 # GYP version: extensions/common/api/api.gyp:extensions_api | 26 # GYP version: extensions/common/api/api.gyp:extensions_api |
27 source_set("api") { | 27 group("api") { |
28 deps = [ | 28 public_deps = [ |
29 ":mojom", | 29 ":mojom", |
30 ":generated_api", | 30 ":generated_api", |
31 ] | 31 ] |
32 } | 32 } |
33 | 33 |
34 # GYP version: extensions/browser/api/api_registration.gyp:extensions_api_regist
ration | 34 # GYP version: extensions/browser/api/api_registration.gyp:extensions_api_regist
ration |
35 json_schema_api("api_registration") { | 35 json_schema_api("api_registration") { |
36 impl_dir = "//extensions/browser/api" | 36 impl_dir = "//extensions/browser/api" |
37 bundle_registration = true | 37 bundle_registration = true |
38 bundle_name = "" | 38 bundle_name = "" |
39 | 39 |
40 deps = [ | 40 deps = [ |
41 ":api", | 41 ":api", |
42 "//device/serial", | 42 "//device/serial", |
43 "//extensions/common/api/cast_channel:cast_channel_proto", | 43 "//extensions/common/api/cast_channel:cast_channel_proto", |
44 "//skia", | 44 "//skia", |
45 ] | 45 ] |
46 } | 46 } |
OLD | NEW |