| OLD | NEW |
| 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/features/features.gni") |
| 5 import("//tools/json_schema_compiler/json_features.gni") | 6 import("//tools/json_schema_compiler/json_features.gni") |
| 6 import("//tools/json_schema_compiler/json_schema_api.gni") | 7 import("//tools/json_schema_compiler/json_schema_api.gni") |
| 7 | 8 |
| 9 assert(enable_extensions, |
| 10 "Cannot depend on extensions because enable_extensions=false.") |
| 11 |
| 8 schema_sources = [ "identity.idl" ] | 12 schema_sources = [ "identity.idl" ] |
| 9 root_namespace = "extensions::shell::api::%(namespace)s" | 13 root_namespace = "extensions::shell::api::%(namespace)s" |
| 10 | 14 |
| 11 json_schema_api("api") { | 15 json_schema_api("api") { |
| 12 sources = schema_sources | 16 sources = schema_sources |
| 13 schemas = true | 17 schemas = true |
| 14 bundle = true | 18 bundle = true |
| 15 bundle_name = "Shell" | 19 bundle_name = "Shell" |
| 16 } | 20 } |
| 17 | 21 |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 } | 65 } |
| 62 | 66 |
| 63 group("extensions_features") { | 67 group("extensions_features") { |
| 64 public_deps = [ | 68 public_deps = [ |
| 65 ":shell_api_features", | 69 ":shell_api_features", |
| 66 ":shell_behavior_features", | 70 ":shell_behavior_features", |
| 67 ":shell_manifest_features", | 71 ":shell_manifest_features", |
| 68 ":shell_permission_features", | 72 ":shell_permission_features", |
| 69 ] | 73 ] |
| 70 } | 74 } |
| OLD | NEW |