| 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/allocator.gni") |
| 5 import("//build/config/chrome_build.gni") | 6 import("//build/config/chrome_build.gni") |
| 6 import("//build/config/crypto.gni") | 7 import("//build/config/crypto.gni") |
| 7 import("//build/config/features.gni") | 8 import("//build/config/features.gni") |
| 8 import("//build/config/ui.gni") | 9 import("//build/config/ui.gni") |
| 9 import("//chrome/common/features.gni") | 10 import("//chrome/common/features.gni") |
| 10 import("//media/media_options.gni") | 11 import("//media/media_options.gni") |
| 11 import("//third_party/protobuf/proto_library.gni") | 12 import("//third_party/protobuf/proto_library.gni") |
| 12 | 13 |
| 13 # //build/config/android/rules.gni imports //tools/grit/grit_rule.gni, which | 14 # //build/config/android/rules.gni imports //tools/grit/grit_rule.gni, which |
| 14 # produces a conflict for the "grit" template so we have to only include one. | 15 # produces a conflict for the "grit" template so we have to only include one. |
| (...skipping 574 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 589 deps += [ "//chrome/browser/chromeos" ] | 590 deps += [ "//chrome/browser/chromeos" ] |
| 590 } | 591 } |
| 591 | 592 |
| 592 if (is_chromeos || is_ios) { | 593 if (is_chromeos || is_ios) { |
| 593 sources -= [ | 594 sources -= [ |
| 594 "signin/chrome_signin_status_metrics_provider_delegate.cc", | 595 "signin/chrome_signin_status_metrics_provider_delegate.cc", |
| 595 "signin/chrome_signin_status_metrics_provider_delegate.h", | 596 "signin/chrome_signin_status_metrics_provider_delegate.h", |
| 596 ] | 597 ] |
| 597 } | 598 } |
| 598 | 599 |
| 600 if (is_chromeos && enable_leak_detector) { |
| 601 sources += [ |
| 602 "metrics/leak_detector_controller.cc", |
| 603 "metrics/leak_detector_controller.h", |
| 604 ] |
| 605 deps += [ "//components/metrics:leak_detector" ] |
| 606 } |
| 607 |
| 599 if (use_cups) { | 608 if (use_cups) { |
| 600 configs += [ "//printing:cups" ] | 609 configs += [ "//printing:cups" ] |
| 601 } | 610 } |
| 602 if (is_desktop_linux) { | 611 if (is_desktop_linux) { |
| 603 sources += rebase_path(gypi_values.chrome_browser_gnome_keyring_sources, | 612 sources += rebase_path(gypi_values.chrome_browser_gnome_keyring_sources, |
| 604 ".", | 613 ".", |
| 605 "//chrome") | 614 "//chrome") |
| 606 configs += [ ":gnome_keyring" ] | 615 configs += [ ":gnome_keyring" ] |
| 607 } | 616 } |
| 608 if (is_desktop_linux) { | 617 if (is_desktop_linux) { |
| (...skipping 720 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1329 rebase_path(gypi_values.chrome_browser_rlz_sources, ".", "//chrome") | 1338 rebase_path(gypi_values.chrome_browser_rlz_sources, ".", "//chrome") |
| 1330 deps = [ | 1339 deps = [ |
| 1331 "//components/google/core/browser", | 1340 "//components/google/core/browser", |
| 1332 "//components/omnibox/browser", | 1341 "//components/omnibox/browser", |
| 1333 "//components/rlz", | 1342 "//components/rlz", |
| 1334 "//components/search_engines", | 1343 "//components/search_engines", |
| 1335 "//rlz:rlz_lib", | 1344 "//rlz:rlz_lib", |
| 1336 ] | 1345 ] |
| 1337 } | 1346 } |
| 1338 } | 1347 } |
| OLD | NEW |