Pin Chrome's shortcut to the Win10 Start menu on install and OS upgrade.
[chromium-blink-merge.git] / extensions / common / api / BUILD.gn
blob474e041508c1008695c2ed44e0c8ae27f639d6b9
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
15   bundle_name = ""
18 # GYP version: extensions/common/api/api.gyp:extensions_api_mojom
19 mojom("mojom") {
20   sources = []
21   sources = [
22     "mime_handler.mojom",
23   ]
26 # GYP version: extensions/common/api/api.gyp:extensions_api
27 source_set("api") {
28   deps = [
29     ":mojom",
30     ":generated_api",
31   ]
34 # GYP version: extensions/browser/api/api_registration.gyp:extensions_api_registration
35 json_schema_api("api_registration") {
36   impl_dir = "//extensions/browser/api"
37   bundle_registration = true
38   bundle_name = ""
40   deps = [
41     ":api",
42     "//device/serial",
43     "//extensions/common/api/cast_channel:cast_channel_proto",
44     "//skia",
45   ]