Index: chrome/browser/BUILD.gn |
diff --git a/chrome/browser/BUILD.gn b/chrome/browser/BUILD.gn |
index 5d34662d26acc612759b163dae15b93215db9576..a403d68b76bd4be9b2238e72a4b651f9889bb209 100644 |
--- a/chrome/browser/BUILD.gn |
+++ b/chrome/browser/BUILD.gn |
@@ -568,12 +568,21 @@ source_set("browser") { |
if (use_aura) { |
sources += |
rebase_path(gypi_values.chrome_browser_aura_sources, ".", "//chrome") |
+ |
+ # These files are only built in a GN build because they bring in |
+ # dependencies that don't build with GYP. |
+ sources += [ |
+ "mojo_runner_state.cc", |
+ "mojo_runner_state.h", |
+ ] |
deps += [ |
+ "//mojo/runner/child:lib", |
"//ui/aura", |
"//ui/compositor", |
"//ui/keyboard", |
"//ui/keyboard:keyboard_with_content", |
] |
+ defines += [ "MOJO_RUNNER_CLIENT" ] |
} |
if (ui_compositor_image_transport) { |
deps += [ "//ui/gl" ] |