Index: extensions/common/api/BUILD.gn |
diff --git a/extensions/common/api/BUILD.gn b/extensions/common/api/BUILD.gn |
index 33126e687a632a4e77b304cdf17a166dc2059a41..fe9b005ed5721e51296ecb74d1110f331b3b382d 100644 |
--- a/extensions/common/api/BUILD.gn |
+++ b/extensions/common/api/BUILD.gn |
@@ -4,16 +4,32 @@ |
import("//build/config/features.gni") |
import("//build/json_schema_api.gni") |
+import("//mojo/public/tools/bindings/mojom.gni") |
import("schemas.gni") |
assert(enable_extensions) |
-# GYP version: extensions/common/api/api.gyp:extensions_api |
-json_schema_api("api") { |
+json_schema_api("generated_api") { |
schemas = true |
bundle = true |
} |
+# GYP version: extensions/common/api/api.gyp:extensions_api_mojom |
+mojom("mojom") { |
+ sources = [] |
+ sources = [ |
+ "mime_handler.mojom", |
+ ] |
+} |
+ |
+# GYP version: extensions/common/api/api.gyp:extensions_api |
+source_set("api") { |
+ deps = [ |
+ ":mojom", |
+ ":generated_api", |
+ ] |
+} |
+ |
# GYP version: extensions/browser/api/api_registration.gyp:extensions_api_registration |
json_schema_api("api_registration") { |
impl_dir = "//extensions/browser/api" |