Index: webrtc/build/common.gypi |
diff --git a/webrtc/build/common.gypi b/webrtc/build/common.gypi |
index 2d8127128f55b744452e2636bd5a6611de9709b1..6d79aa3db9b2fbae11a35f454ebd91380947bfa0 100644 |
--- a/webrtc/build/common.gypi |
+++ b/webrtc/build/common.gypi |
@@ -134,6 +134,9 @@ |
# Determines whether NEON code will be built. |
'build_with_neon%': 0, |
+ # Disable this to skip building source requiring GTK. |
+ 'use_gtk%': 1, |
+ |
# Enable this to use HW H.264 encoder/decoder on iOS/Mac PeerConnections. |
# Enabling this may break interop with Android clients that support H264. |
'use_objc_h264%': 0, |
@@ -193,6 +196,9 @@ |
'include_tests%': 1, |
'restrict_webrtc_logging%': 0, |
}], |
+ ['OS=="android" or OS=="linux"', { |
+ 'java_home%': '<!(python -c "import os; dir=os.getenv(\'JAVA_HOME\', \'/usr/lib/jvm/java-7-openjdk-amd64\'); assert os.path.exists(os.path.join(dir, \'include/jni.h\')), \'Point \\$JAVA_HOME or the java_home gyp variable to a directory containing include/jni.h!\'; print dir")', |
+ }], |
['OS=="ios"', { |
'build_libjpeg%': 0, |
}], |