| 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 } | 16 } |
| 16 | 17 |
| 17 # GYP version: extensions/common/api/api.gyp:extensions_api_mojom | 18 # GYP version: extensions/common/api/api.gyp:extensions_api_mojom |
| 18 mojom("mojom") { | 19 mojom("mojom") { |
| 19 sources = [] | 20 sources = [] |
| 20 sources = [ | 21 sources = [ |
| 21 "mime_handler.mojom", | 22 "mime_handler.mojom", |
| 22 ] | 23 ] |
| 23 } | 24 } |
| 24 | 25 |
| 25 # GYP version: extensions/common/api/api.gyp:extensions_api | 26 # GYP version: extensions/common/api/api.gyp:extensions_api |
| 26 source_set("api") { | 27 source_set("api") { |
| 27 deps = [ | 28 deps = [ |
| 28 ":mojom", | 29 ":mojom", |
| 29 ":generated_api", | 30 ":generated_api", |
| 30 ] | 31 ] |
| 31 } | 32 } |
| 32 | 33 |
| 33 # 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 |
| 34 json_schema_api("api_registration") { | 35 json_schema_api("api_registration") { |
| 35 impl_dir = "//extensions/browser/api" | 36 impl_dir = "//extensions/browser/api" |
| 36 bundle_registration = true | 37 bundle_registration = true |
| 38 bundle_name = "" |
| 37 | 39 |
| 38 deps = [ | 40 deps = [ |
| 39 ":api", | 41 ":api", |
| 40 "//device/serial", | 42 "//device/serial", |
| 41 "//extensions/common/api/cast_channel:cast_channel_proto", | 43 "//extensions/common/api/cast_channel:cast_channel_proto", |
| 42 "//skia", | 44 "//skia", |
| 43 ] | 45 ] |
| 44 } | 46 } |
| OLD | NEW |