Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(154)

Side by Side Diff: extensions/common/api/BUILD.gn

Issue 797183005: Add a mimeHandler extension API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@streams-lifetime
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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("//mojo/public/tools/bindings/mojom.gni")
7 import("schemas.gni") 8 import("schemas.gni")
8 9
9 assert(enable_extensions) 10 assert(enable_extensions)
10 11
11 # GYP version: extensions/common/api/api.gyp:extensions_api 12 json_schema_api("generated_api") {
12 json_schema_api("api") {
13 schemas = true 13 schemas = true
14 bundle = true 14 bundle = true
15 } 15 }
16 16
17 # GYP version: extensions/common/api/api.gyp:extensions_api_mojom
18 mojom("mojom") {
19 sources = []
20 sources = [
21 "mime_handler.mojom",
22 ]
23 }
24
25 # GYP version: extensions/common/api/api.gyp:extensions_api
26 source_set("api") {
27 deps = [
28 ":mojom",
29 ":generated_api",
30 ]
31 }
32
17 # GYP version: extensions/browser/api/api_registration.gyp:extensions_api_regist ration 33 # GYP version: extensions/browser/api/api_registration.gyp:extensions_api_regist ration
18 json_schema_api("api_registration") { 34 json_schema_api("api_registration") {
19 impl_dir = "//extensions/browser/api" 35 impl_dir = "//extensions/browser/api"
20 bundle_registration = true 36 bundle_registration = true
21 37
22 deps = [ 38 deps = [
23 ":api", 39 ":api",
24 "//device/serial", 40 "//device/serial",
25 "//extensions/common/api/cast_channel:cast_channel_proto", 41 "//extensions/common/api/cast_channel:cast_channel_proto",
26 "//skia", 42 "//skia",
27 ] 43 ]
28 } 44 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698