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/json_schema_api.gni") | 6 import("//build/json_schema_api.gni") |
6 import("schemas.gni") | 7 import("schemas.gni") |
7 | 8 |
| 9 assert(enable_extensions) |
| 10 |
8 # GYP version: extensions/common/api/api.gyp:extensions_api | 11 # GYP version: extensions/common/api/api.gyp:extensions_api |
9 json_schema_api("api") { | 12 json_schema_api("api") { |
10 schemas = true | 13 schemas = true |
11 bundle = true | 14 bundle = true |
12 } | 15 } |
13 | 16 |
14 # GYP version: extensions/browser/api/api_registration.gyp:extensions_api_regist
ration | 17 # GYP version: extensions/browser/api/api_registration.gyp:extensions_api_regist
ration |
15 json_schema_api("api_registration") { | 18 json_schema_api("api_registration") { |
16 impl_dir = "//extensions/browser/api" | 19 impl_dir = "//extensions/browser/api" |
17 bundle_registration = true | 20 bundle_registration = true |
18 | 21 |
19 deps = [ ":api" ] | 22 deps = [ |
20 if (!is_android) { | 23 ":api", |
21 deps += [ | 24 "//device/serial", |
22 "//device/serial", | 25 "//extensions/common/api/cast_channel:cast_channel_proto", |
23 "//extensions/common/api/cast_channel:cast_channel_proto", | 26 "//skia", |
24 "//skia", | 27 ] |
25 ] | |
26 } | |
27 } | 28 } |
OLD | NEW |