| OLD | NEW |
| 1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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("//build/json_schema_api.gni") | 5 import("//build/json_schema_api.gni") |
| 6 import("//tools/json_schema_compiler/json_features.gni") | 6 import("//tools/json_schema_compiler/json_features.gni") |
| 7 import("schemas.gni") | 7 import("schemas.gni") |
| 8 | 8 |
| 9 assert(enable_extensions) | 9 assert(enable_extensions) |
| 10 | 10 |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 deps = [ | 30 deps = [ |
| 31 # Different APIs include headers from these targets. | 31 # Different APIs include headers from these targets. |
| 32 "//content/public/browser", | 32 "//content/public/browser", |
| 33 "//extensions/browser", | 33 "//extensions/browser", |
| 34 | 34 |
| 35 # Different APIs include some headers from chrome/common that in turn | 35 # Different APIs include some headers from chrome/common that in turn |
| 36 # include generated headers from these targets. | 36 # include generated headers from these targets. |
| 37 # TODO(brettw) this should be made unnecessary if possible. | 37 # TODO(brettw) this should be made unnecessary if possible. |
| 38 ":api", | 38 ":api", |
| 39 "//components/metrics/proto", | 39 "//components/metrics/proto", |
| 40 "//components/sync", |
| 40 "//skia", | 41 "//skia", |
| 41 "//sync", | |
| 42 "//ui/accessibility:ax_gen", | 42 "//ui/accessibility:ax_gen", |
| 43 ] | 43 ] |
| 44 if (is_chromeos) { | 44 if (is_chromeos) { |
| 45 deps += [ "//components/drive:proto" ] | 45 deps += [ "//components/drive:proto" ] |
| 46 } | 46 } |
| 47 deps += schema_dependencies | 47 deps += schema_dependencies |
| 48 } | 48 } |
| 49 | 49 |
| 50 json_features("api_features") { | 50 json_features("api_features") { |
| 51 feature_class = "APIFeature" | 51 feature_class = "APIFeature" |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 83 } | 83 } |
| 84 | 84 |
| 85 group("extensions_features") { | 85 group("extensions_features") { |
| 86 public_deps = [ | 86 public_deps = [ |
| 87 ":api_features", | 87 ":api_features", |
| 88 ":behavior_features", | 88 ":behavior_features", |
| 89 ":manifest_features", | 89 ":manifest_features", |
| 90 ":permission_features", | 90 ":permission_features", |
| 91 ] | 91 ] |
| 92 } | 92 } |
| OLD | NEW |