| 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("//build/config/features.gni") | 5 import("//build/config/features.gni") |
| 6 import("//build/json_schema_api.gni") | 6 import("//build/json_schema_api.gni") |
| 7 import("//extensions/common/api/schema.gni") | 7 import("//extensions/common/api/schema.gni") |
| 8 import("//extensions/features/features.gni") |
| 8 import("//mojo/public/tools/bindings/mojom.gni") | 9 import("//mojo/public/tools/bindings/mojom.gni") |
| 9 | 10 |
| 10 assert(enable_extensions) | 11 assert(enable_extensions) |
| 11 | 12 |
| 12 json_schema_api("generated_api") { | 13 json_schema_api("generated_api") { |
| 13 sources = extensions_api_schema_files | 14 sources = extensions_api_schema_files |
| 14 schemas = true | 15 schemas = true |
| 15 bundle = true | 16 bundle = true |
| 16 bundle_name = "" | 17 bundle_name = "" |
| 17 root_namespace = extensions_api_root_namespace | 18 root_namespace = extensions_api_root_namespace |
| 18 uncompiled_sources = extensions_api_uncompiled_sources | 19 uncompiled_sources = extensions_api_uncompiled_sources |
| 19 uncompiled_bundle_schema_sources = | 20 uncompiled_bundle_schema_sources = |
| 20 extensions_api_uncompiled_bundle_schema_sources | 21 extensions_api_uncompiled_bundle_schema_sources |
| 22 deps = [ |
| 23 "//base", |
| 24 "//extensions/features", |
| 25 ] |
| 21 } | 26 } |
| 22 | 27 |
| 23 mojom("mojom") { | 28 mojom("mojom") { |
| 24 sources = [ | 29 sources = [ |
| 25 "mime_handler.mojom", | 30 "mime_handler.mojom", |
| 26 ] | 31 ] |
| 27 } | 32 } |
| 28 | 33 |
| 29 group("api") { | 34 group("api") { |
| 30 public_deps = [ | 35 public_deps = [ |
| 31 ":generated_api", | 36 ":generated_api", |
| 32 ":mojom", | 37 ":mojom", |
| 38 "//extensions/features", |
| 33 ] | 39 ] |
| 34 } | 40 } |
| OLD | NEW |