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

Unified Diff: third_party/gvr-android-sdk/BUILD.gn

Issue 2264773002: Preventing MIPS builds from attempting to copy missing file (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/gvr-android-sdk/BUILD.gn
diff --git a/third_party/gvr-android-sdk/BUILD.gn b/third_party/gvr-android-sdk/BUILD.gn
index dc26b37d1f97c6f65ed5069c6c6fd0dd0f01826f..4e2adc0fe07a17ca9d772166bf9326cc4b9b18d1 100644
--- a/third_party/gvr-android-sdk/BUILD.gn
+++ b/third_party/gvr-android-sdk/BUILD.gn
@@ -23,19 +23,23 @@ android_aar_prebuilt("gvr_controller_java") {
}
source_set("libgvr") {
- data_deps = [
- ":libgvr_copy",
- ]
- libs = [ "${root_out_dir}/libgvr.so" ]
+ if (gvr_arch != "mipsel") {
+ data_deps = [
+ ":libgvr_copy",
+ ]
+ libs = [ "${root_out_dir}/libgvr.so" ]
+ }
}
-copy("libgvr_copy") {
- sources = [
- "src/ndk-beta/lib/android_${gvr_arch}/libgvr.so",
- ]
- outputs = [
- "${root_out_dir}/libgvr.so",
- ]
+if (gvr_arch != "mipsel") {
+ copy("libgvr_copy") {
+ sources = [
+ "src/ndk-beta/lib/android_${gvr_arch}/libgvr.so",
+ ]
+ outputs = [
+ "${root_out_dir}/libgvr.so",
+ ]
+ }
}
config("libgvr_config") {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698