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