Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(85)

Unified Diff: extensions/browser/api/BUILD.gn

Issue 2452943003: Fix a bunch of generated file build flakes in //extensions (Closed)
Patch Set: get_path_info in schema.gni Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « extensions/browser/BUILD.gn ('k') | extensions/browser/api/bluetooth_low_energy/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/api/BUILD.gn
diff --git a/extensions/browser/api/BUILD.gn b/extensions/browser/api/BUILD.gn
index 93b704f606c83ef177cac5f7c56b855b0abe1d87..7a1a0617b2e951e36c06060b37bb52a7f74dcdfa 100644
--- a/extensions/browser/api/BUILD.gn
+++ b/extensions/browser/api/BUILD.gn
@@ -2,6 +2,9 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
+import("//build/json_schema_api.gni")
+import("//extensions/common/api/schema.gni")
+
source_set("api") {
sources = [
"api_resource.cc",
@@ -75,6 +78,7 @@ source_set("api") {
deps = [
"//base:i18n",
"//content/public/browser",
+ "//extensions/strings",
]
if (is_chromeos) {
@@ -86,3 +90,20 @@ source_set("api") {
]
}
}
+
+json_schema_api("api_registration") {
+ sources = extensions_api_schema_files
+ impl_dir = "//extensions/browser/api"
+ bundle_registration = true
+ bundle_name = ""
+ root_namespace = extensions_api_root_namespace
+ uncompiled_sources = extensions_api_uncompiled_sources
+
+ deps = [
+ ":api",
+ "//device/serial",
+ "//extensions/common/api",
+ "//extensions/common/api/cast_channel:cast_channel_proto",
+ "//skia",
+ ]
+}
« no previous file with comments | « extensions/browser/BUILD.gn ('k') | extensions/browser/api/bluetooth_low_energy/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698