Index: build/common.gypi |
diff --git a/build/common.gypi b/build/common.gypi |
index 33d47b14190f447969d520af839ed8c2a392f25f..a096310206c49e4ce923ffe42dfd736b72e446c7 100644 |
--- a/build/common.gypi |
+++ b/build/common.gypi |
@@ -549,6 +549,14 @@ |
'linux_use_gold_flags%': 0, |
}], |
+ ['chromeos==1', { |
+ 'linux_use_libgps%': 1, |
+ }, { # chromeos==0 |
+ # Do not use libgps on desktop Linux by default, |
+ # see http://crbug.com/103751. |
+ 'linux_use_libgps%': 0, |
+ }], |
+ |
['OS=="android" or OS=="ios"', { |
'enable_captive_portal_detection%': 0, |
}, { |
@@ -694,6 +702,7 @@ |
'enable_background%': '<(enable_background)', |
'linux_use_gold_binary%': '<(linux_use_gold_binary)', |
'linux_use_gold_flags%': '<(linux_use_gold_flags)', |
+ 'linux_use_libgps%': '<(linux_use_libgps)', |
'use_canvas_skia%': '<(use_canvas_skia)', |
'test_isolation_mode%': '<(test_isolation_mode)', |
'test_isolation_outdir%': '<(test_isolation_outdir)', |