summaryrefslogtreecommitdiff
path: root/chromium/extensions/shell/common/api/BUILD.gn
blob: c4e21494825f27153d3f56f3d5385fc0ca91dde3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Copyright 2014 The Chromium Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

import("//extensions/buildflags/buildflags.gni")
import("//tools/json_schema_compiler/json_features.gni")

assert(enable_extensions,
       "Cannot depend on extensions because enable_extensions=false.")

# TODO(devlin): Enforce visibility restrictions on more of these targets?

json_features("shell_api_features") {
  feature_type = "APIFeature"
  method_name = "AddShellAPIFeatures"
  sources = [ "_api_features.json" ]
}

# Public Targets

group("extensions_features") {
  public_deps = [
    ":shell_api_features",
    "//extensions/common/api:extensions_features",
  ]
}