Properly attach InfoBarContainer when it is swapped to a new WebContents
[chromium-blink-merge.git] / chrome / common / extensions / api / BUILD.gn
blob2b538f923a924413a439c282d0690106f8f03718
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
3 # found in the LICENSE file.
5 import("//build/json_schema_api.gni")
6 import("schemas.gni")
8 assert(enable_extensions)
10 # GYP version: chrome/common/extensions/api/api.gyp:chrome_api
11 json_schema_api("api") {
12   schemas = true
13   bundle = true
15   deps = schema_dependencies
18 # GYP version: chrome/browser/extensions/api/api.gyp:chrome_api_registration
19 json_schema_api("api_registration") {
20   impl_dir = "//chrome/browser/extensions/api"
21   bundle_registration = true
23   deps = [
24     # Different APIs include headers from these targets.
25     "//content/public/browser",
26     "//extensions/browser",
28     # Different APIs include some headers from chrome/common that in turn
29     # include generated headers from these targets.
30     # TODO(brettw) this should be made unnecessary if possible.
31     ":api",
32     "//components/copresence/proto",
33     "//components/metrics/proto",
34     "//skia",
35     "//sync",
36     "//ui/accessibility:ax_gen",
37   ]
38   if (is_chromeos) {
39     # deps += [ "<(DEPTH)/chrome/chrome.gyp:drive_proto" ]  TODO(GYP)
40   }
41   deps += schema_dependencies