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("//extensions/generated_extensions_api.gni") | 5 import("//extensions/generated_extensions_api.gni") |
6 import("schemas.gni") | 6 import("schemas.gni") |
7 | 7 |
8 # GYP version: chrome/common/extensions/api/api.gyp:chrome_api | 8 # GYP version: chrome/common/extensions/api/api.gyp:chrome_api |
9 generated_extensions_api("api") { | 9 generated_extensions_api("api") { |
10 schemas = true | 10 schemas = true |
11 bundle = true | 11 bundle = true |
| 12 |
| 13 deps = schema_dependencies |
12 } | 14 } |
13 | 15 |
14 # GYP version: chrome/browser/extensions/api/api.gyp:chrome_api_registration | 16 # GYP version: chrome/browser/extensions/api/api.gyp:chrome_api_registration |
15 generated_extensions_api("api_registration") { | 17 generated_extensions_api("api_registration") { |
16 impl_dir = "//chrome/browser/extensions/api" | 18 impl_dir = "//chrome/browser/extensions/api" |
17 bundle_registration = true | 19 bundle_registration = true |
18 | 20 |
19 deps = [ | 21 deps = [ |
20 # Different APIs include some headers from chrome/common that in turn | 22 # Different APIs include some headers from chrome/common that in turn |
21 # include generated headers from these targets. | 23 # include generated headers from these targets. |
22 # TODO(brettw) this should be made unnecessary if possible. | 24 # TODO(brettw) this should be made unnecessary if possible. |
23 ":api", | 25 ":api", |
24 "//components/metrics/proto", | 26 "//components/metrics/proto", |
25 "//skia", | 27 "//skia", |
26 "//sync", | 28 "//sync", |
27 "//ui/accessibility:ax_gen", | 29 "//ui/accessibility:ax_gen", |
28 ] | 30 ] |
29 if (!is_ios && !is_android) { | 31 if (!is_ios && !is_android) { |
30 deps += ["//components/copresence/proto"] | 32 deps += ["//components/copresence/proto"] |
31 } | 33 } |
32 if (is_chromeos) { | 34 if (is_chromeos) { |
33 # deps += [ "<(DEPTH)/chrome/chrome.gyp:drive_proto" ] TODO(GYP) | 35 # deps += [ "<(DEPTH)/chrome/chrome.gyp:drive_proto" ] TODO(GYP) |
34 } | 36 } |
| 37 deps += schema_dependencies |
35 } | 38 } |
OLD | NEW |