Index: mojo/BUILD.gn |
diff --git a/mojo/BUILD.gn b/mojo/BUILD.gn |
index 2bb0214fecd4eb1585489d46ecb23772f78077ee..3c1431b0cd9ad6048e6dbbcb5c929714a120c696 100644 |
--- a/mojo/BUILD.gn |
+++ b/mojo/BUILD.gn |
@@ -11,9 +11,15 @@ group("mojo") { |
":tests", |
"//mojo/common", |
"//mojo/services", |
- "//third_party/mojo/src/mojo/public", |
] |
+ if (!(is_linux && target_cpu == "x86")) { |
+ # TODO(GYP): Figure out if this needs to be supported. Right now |
+ # it won't work on x86 official builds because it needs stuff in the |
+ # sysroot that doesn't exist. |
+ deps += [ "//third_party/mojo/src/mojo/public" ] |
+ } |
+ |
if (is_android) { |
deps += [ "//mojo/android" ] |
} |