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("//build/config/features.gni") | 5 import("//build/config/features.gni") |
6 import("//build/config/ui.gni") | 6 import("//build/config/ui.gni") |
7 import("//content/browser/browser.gni") | 7 import("//content/browser/browser.gni") |
8 import("//media/media_options.gni") | 8 import("//media/media_options.gni") |
9 | 9 |
10 source_set("browser") { | 10 source_set("browser") { |
(...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
274 } | 274 } |
275 } | 275 } |
276 | 276 |
277 if (use_atk) { | 277 if (use_atk) { |
278 sources += | 278 sources += |
279 rebase_path(content_browser_gypi_values.auralinux_browser_sources, | 279 rebase_path(content_browser_gypi_values.auralinux_browser_sources, |
280 ".", | 280 ".", |
281 "//content") | 281 "//content") |
282 | 282 |
283 configs += [ | 283 configs += [ |
284 "//build/config/linux:atk", | 284 "//build/config/linux/atk", |
285 "//build/config/linux:atk_warnings", | 285 "//build/config/linux/atk:warnings", |
286 "//build/config/linux:gconf", | 286 "//build/config/linux/gconf", |
287 "//build/config/linux:glib", | 287 "//build/config/linux:glib", |
288 ] | 288 ] |
289 } | 289 } |
290 | 290 |
291 if (is_linux && use_aura) { | 291 if (is_linux && use_aura) { |
292 deps += [ "//build/linux:fontconfig" ] | 292 deps += [ "//build/linux:fontconfig" ] |
293 } | 293 } |
294 | 294 |
295 if (use_x11) { | 295 if (use_x11) { |
296 configs += [ "//build/config/linux:x11" ] | 296 configs += [ "//build/config/linux:x11" ] |
(...skipping 19 matching lines...) Expand all Loading... |
316 sources -= [ "geolocation/wifi_data_provider_common.cc" ] | 316 sources -= [ "geolocation/wifi_data_provider_common.cc" ] |
317 } | 317 } |
318 if (is_chromeos || (is_linux && !use_dbus)) { | 318 if (is_chromeos || (is_linux && !use_dbus)) { |
319 sources -= [ "geolocation/wifi_data_provider_linux.cc" ] | 319 sources -= [ "geolocation/wifi_data_provider_linux.cc" ] |
320 } | 320 } |
321 if (is_linux && use_dbus) { | 321 if (is_linux && use_dbus) { |
322 sources -= [ "geolocation/empty_wifi_data_provider.cc" ] | 322 sources -= [ "geolocation/empty_wifi_data_provider.cc" ] |
323 } | 323 } |
324 | 324 |
325 if (use_pango) { | 325 if (use_pango) { |
326 configs += [ "//build/config/linux:pangocairo" ] | 326 configs += [ "//build/config/linux/pangocairo" ] |
327 } | 327 } |
328 | 328 |
329 if (is_android) { | 329 if (is_android) { |
330 sources += rebase_path(content_browser_gypi_values.android_browser_sources, | 330 sources += rebase_path(content_browser_gypi_values.android_browser_sources, |
331 ".", | 331 ".", |
332 "//content") | 332 "//content") |
333 sources += rebase_path( | 333 sources += rebase_path( |
334 content_browser_gypi_values.android_in_process_browser_sources, | 334 content_browser_gypi_values.android_in_process_browser_sources, |
335 ".", | 335 ".", |
336 "//content") | 336 "//content") |
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
534 | 534 |
535 # See comment at the top of //content/BUILD.gn for how this works. | 535 # See comment at the top of //content/BUILD.gn for how this works. |
536 group("for_content_tests") { | 536 group("for_content_tests") { |
537 visibility = [ "//content/test/*" ] | 537 visibility = [ "//content/test/*" ] |
538 if (!is_component_build) { | 538 if (!is_component_build) { |
539 public_deps = [ | 539 public_deps = [ |
540 ":browser", | 540 ":browser", |
541 ] | 541 ] |
542 } | 542 } |
543 } | 543 } |
OLD | NEW |