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

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

Issue 509143002: Make gn deps for extensions API registration consistent with gyp dependencies. (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Created 6 years, 3 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
« no previous file with comments | « no previous file | extensions/common/api/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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("//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 } 12 }
13 13
14 # GYP version: chrome/browser/extensions/api/api.gyp:chrome_api_registration 14 # GYP version: chrome/browser/extensions/api/api.gyp:chrome_api_registration
15 generated_extensions_api("api_registration") { 15 generated_extensions_api("api_registration") {
16 impl_dir = "//chrome/browser/extensions/api" 16 impl_dir = "//chrome/browser/extensions/api"
17 bundle_registration = true 17 bundle_registration = true
18 18
19 deps = [ 19 deps = [
20 # Different APIs include some headers from chrome/common that in turn 20 # Different APIs include some headers from chrome/common that in turn
21 # include generated headers from these targets. 21 # include generated headers from these targets.
22 # TODO(brettw) this should be made unnecessary if possible. 22 # TODO(brettw) this should be made unnecessary if possible.
23 ":api",
23 "//components/metrics/proto", 24 "//components/metrics/proto",
24 "//skia", 25 "//skia",
25 "//sync", 26 "//sync",
26 "//ui/accessibility:ax_gen", 27 "//ui/accessibility:ax_gen",
27 ] 28 ]
28 if (!is_ios && !is_android) { 29 if (!is_ios && !is_android) {
29 deps += ["//components/copresence/proto"] 30 deps += ["//components/copresence/proto"]
30 } 31 }
31 if (is_chromeos) { 32 if (is_chromeos) {
32 # deps += [ "<(DEPTH)/chrome/chrome.gyp:drive_proto" ] TODO(GYP) 33 # deps += [ "<(DEPTH)/chrome/chrome.gyp:drive_proto" ] TODO(GYP)
33 } 34 }
34 } 35 }
OLDNEW
« no previous file with comments | « no previous file | extensions/common/api/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698