Index: libyuv.gyp |
diff --git a/libyuv.gyp b/libyuv.gyp |
index 9cbf641e45b146412b45d2eeaa108fd31aace4be..f2a999dd1baf8896b795b7d7c0ea91997dee17ed 100644 |
--- a/libyuv.gyp |
+++ b/libyuv.gyp |
@@ -21,7 +21,13 @@ |
# Disable use of sysroot for Linux. It's enabled by default in Chromium, |
# but it currently lacks the libudev-dev package. |
# TODO(kjellander): Remove when crbug.com/561584 is fixed. |
- 'use_sysroot': 0, |
+ 'conditions': [ |
+ ['target_arch=="ia32" or target_arch=="x64"', { |
kjellander_chromium
2015/12/21 18:59:48
I'm not sure about ARM here, so please run the try
|
+ 'use_sysroot': 0, |
+ }, { |
+ 'use_sysroot%': 1, |
+ }], |
+ ], |
}, |
'use_sysroot%': '<(use_sysroot)', |
'use_system_libjpeg%': 0, |