| OLD | NEW |
| 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 { | 5 { |
| 6 'variables': { | |
| 7 'conditions': [ | |
| 8 ['chromeos==1', { | |
| 9 'use_libgps%': 1, | |
| 10 }, { # chromeos==0 | |
| 11 # Do not use libgps on desktop Linux by default, | |
| 12 # see http://crbug.com/103751. | |
| 13 'use_libgps%': 0, | |
| 14 }], | |
| 15 ], | |
| 16 }, | |
| 17 'dependencies': [ | 6 'dependencies': [ |
| 18 'browser/speech/proto/speech_proto.gyp:speech_proto', | 7 'browser/speech/proto/speech_proto.gyp:speech_proto', |
| 19 '../base/base.gyp:base_static', | 8 '../base/base.gyp:base_static', |
| 20 '../crypto/crypto.gyp:crypto', | 9 '../crypto/crypto.gyp:crypto', |
| 21 '../google_apis/google_apis.gyp:google_apis', | 10 '../google_apis/google_apis.gyp:google_apis', |
| 22 '../net/net.gyp:net', | 11 '../net/net.gyp:net', |
| 23 '../skia/skia.gyp:skia', | 12 '../skia/skia.gyp:skia', |
| 24 '../third_party/zlib/zlib.gyp:zlib', | 13 '../third_party/zlib/zlib.gyp:zlib', |
| 25 '../ui/snapshot/snapshot.gyp:snapshot', | 14 '../ui/snapshot/snapshot.gyp:snapshot', |
| 26 '../ui/ui.gyp:ui', | 15 '../ui/ui.gyp:ui', |
| (...skipping 1129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1156 }, { | 1145 }, { |
| 1157 'sources/': [ | 1146 'sources/': [ |
| 1158 ['exclude', '^browser/renderer_host/java/'], | 1147 ['exclude', '^browser/renderer_host/java/'], |
| 1159 ], | 1148 ], |
| 1160 }], | 1149 }], |
| 1161 ['input_speech==0', { | 1150 ['input_speech==0', { |
| 1162 'sources/': [ | 1151 'sources/': [ |
| 1163 ['exclude', '^browser/speech/'], | 1152 ['exclude', '^browser/speech/'], |
| 1164 ], | 1153 ], |
| 1165 }], | 1154 }], |
| 1166 ['use_libgps==1', { | 1155 ['linux_use_libgps==1', { |
| 1167 'defines': [ | 1156 'dependencies': [ |
| 1168 'USE_LIBGPS', | 1157 '../build/linux/system.gyp:libgps', |
| 1169 ], | 1158 ], |
| 1170 # Because of component build, this .gypi file may be included either | |
| 1171 # in content_browser target, or content target. To be sure | |
| 1172 # the USE_LIBGPS setting propagates to the "real" dependent target, | |
| 1173 # we use all_dependent_settings here. | |
| 1174 'all_dependent_settings': { | |
| 1175 'defines': [ | |
| 1176 'USE_LIBGPS', | |
| 1177 ], | |
| 1178 }, | |
| 1179 }], | 1159 }], |
| 1180 ], | 1160 ], |
| 1181 } | 1161 } |
| OLD | NEW |