Commit 14cc3e82 authored by yoz's avatar yoz Committed by Commit bot

Make gn deps for extensions API registration consistent with gyp dependencies.

BUG=405226

Review URL: https://codereview.chromium.org/509143002

Cr-Commit-Position: refs/heads/master@{#292230}
parent 9a5ab194
...@@ -20,6 +20,7 @@ generated_extensions_api("api_registration") { ...@@ -20,6 +20,7 @@ generated_extensions_api("api_registration") {
# Different APIs include some headers from chrome/common that in turn # Different APIs include some headers from chrome/common that in turn
# include generated headers from these targets. # include generated headers from these targets.
# TODO(brettw) this should be made unnecessary if possible. # TODO(brettw) this should be made unnecessary if possible.
":api",
"//components/metrics/proto", "//components/metrics/proto",
"//skia", "//skia",
"//sync", "//sync",
......
...@@ -16,8 +16,11 @@ generated_extensions_api("api_registration") { ...@@ -16,8 +16,11 @@ generated_extensions_api("api_registration") {
impl_dir = "//extensions/browser/api" impl_dir = "//extensions/browser/api"
bundle_registration = true bundle_registration = true
deps = [ deps = [ ":api" ]
if (!is_android) {
deps += [
"//device/serial", "//device/serial",
"//skia", "//skia",
] ]
}
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment