Index: chrome/common/BUILD.gn |
diff --git a/chrome/common/BUILD.gn b/chrome/common/BUILD.gn |
index 4378b37ac538f257c0ed564562f1ebdb88cf6ea5..b38817572a02cb4a72c8dc790216f44ea4bcad16 100644 |
--- a/chrome/common/BUILD.gn |
+++ b/chrome/common/BUILD.gn |
@@ -3,6 +3,7 @@ |
# found in the LICENSE file. |
import("//tools/grit/grit_rule.gni") |
+import("//third_party/mojo/src/mojo/public/tools/bindings/mojom.gni") |
gypi_values = exec_script("//build/gypi_to_gn.py", |
[ rebase_path("../chrome_common.gypi") ], |
@@ -84,6 +85,7 @@ static_library("common") { |
} else { |
# Non-iOS. |
deps += [ |
+ ":mojo_bindings", |
"//components/visitedlink/common", |
"//components/autofill/content/common", |
"//components/autofill/core/common", |
@@ -95,6 +97,9 @@ static_library("common") { |
"//third_party/re2", |
"//third_party/widevine/cdm:version_h", |
] |
+ public_deps = [ |
+ "//third_party/mojo/src/mojo/public/cpp/bindings", |
+ ] |
} |
if (enable_extensions) { |
@@ -340,3 +345,9 @@ static_library("app_mode_app_support") { |
"//base", |
] |
} |
+ |
+mojom("mojo_bindings") { |
+ sources = [ |
+ "resource_usage_reporter.mojom", |
+ ] |
+} |