Roll src/third_party/WebKit b3f094a:f697bbd (svn 194310:194313)
[chromium-blink-merge.git] / extensions / common / api / BUILD.gn
blob38c379c8f06cfb6132c07ffe35b886762d2c8452
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
3 # found in the LICENSE file.
5 import("//build/config/features.gni")
6 import("//build/json_schema_api.gni")
7 import("//third_party/mojo/src/mojo/public/tools/bindings/mojom.gni")
8 import("schemas.gni")
10 assert(enable_extensions)
12 json_schema_api("generated_api") {
13   schemas = true
14   bundle = true
17 # GYP version: extensions/common/api/api.gyp:extensions_api_mojom
18 mojom("mojom") {
19   sources = []
20   sources = [
21     "mime_handler.mojom",
22   ]
25 # GYP version: extensions/common/api/api.gyp:extensions_api
26 source_set("api") {
27   deps = [
28     ":mojom",
29     ":generated_api",
30   ]
33 # GYP version: extensions/browser/api/api_registration.gyp:extensions_api_registration
34 json_schema_api("api_registration") {
35   impl_dir = "//extensions/browser/api"
36   bundle_registration = true
38   deps = [
39     ":api",
40     "//device/serial",
41     "//extensions/common/api/cast_channel:cast_channel_proto",
42     "//skia",
43   ]