OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 import("//tools/grit/grit_rule.gni") | 5 import("//tools/grit/grit_rule.gni") |
6 | 6 |
7 gypi_values = exec_script( | 7 gypi_values = exec_script( |
8 "//build/gypi_to_gn.py", | 8 "//build/gypi_to_gn.py", |
9 [ rebase_path("../chrome_common.gypi") ], | 9 [ rebase_path("../chrome_common.gypi") ], |
10 "scope", | 10 "scope", |
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
186 } | 186 } |
187 | 187 |
188 if (is_win) { | 188 if (is_win) { |
189 deps += [ "//third_party/wtl" ] | 189 deps += [ "//third_party/wtl" ] |
190 } | 190 } |
191 | 191 |
192 if (enable_mdns) { | 192 if (enable_mdns) { |
193 sources += [ "local_discovery/local_discovery_messages.h" ] | 193 sources += [ "local_discovery/local_discovery_messages.h" ] |
194 } | 194 } |
195 | 195 |
196 if (is_chromeos) { | |
197 sources -= [ "chrome_version_info_linux.cc" ] | |
198 } | |
199 | |
200 if (is_mac) { | 196 if (is_mac) { |
201 sources -= [ | 197 sources -= [ |
202 "chrome_version_info_posix.cc", | 198 "chrome_version_info_posix.cc", |
203 ] | 199 ] |
204 deps += [ | 200 deps += [ |
205 "//third_party/mach_override", | 201 "//third_party/mach_override", |
206 "//third_party/google_toolbox_for_mac", | 202 "//third_party/google_toolbox_for_mac", |
207 ] | 203 ] |
208 } | 204 } |
209 | 205 |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
288 "//components/bookmarks/common", | 284 "//components/bookmarks/common", |
289 "//third_party/widevine/cdm:version_h", | 285 "//third_party/widevine/cdm:version_h", |
290 ] | 286 ] |
291 | 287 |
292 if (enable_nacl) { | 288 if (enable_nacl) { |
293 deps += [ | 289 deps += [ |
294 #'../components/nacl.gyp:nacl_switches', TODO(GYP) | 290 #'../components/nacl.gyp:nacl_switches', TODO(GYP) |
295 ] | 291 ] |
296 } | 292 } |
297 } | 293 } |
OLD | NEW |