Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(150)

Side by Side Diff: chrome/browser/BUILD.gn

Issue 1295303006: gn build: check use_udev before depending on udev (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | chrome/browser/ui/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/chrome_build.gni") 5 import("//build/config/chrome_build.gni")
6 import("//build/config/crypto.gni") 6 import("//build/config/crypto.gni")
7 import("//build/config/features.gni") 7 import("//build/config/features.gni")
8 import("//build/config/ui.gni") 8 import("//build/config/ui.gni")
9 import("//third_party/protobuf/proto_library.gni") 9 import("//third_party/protobuf/proto_library.gni")
10 10
(...skipping 472 matching lines...) Expand 10 before | Expand all | Expand 10 after
483 ".", 483 ".",
484 "//chrome") 484 "//chrome")
485 } 485 }
486 } 486 }
487 487
488 if (enable_hotwording) { 488 if (enable_hotwording) {
489 defines += [ "ENABLE_HOTWORDING" ] 489 defines += [ "ENABLE_HOTWORDING" ]
490 } 490 }
491 491
492 if (is_linux) { 492 if (is_linux) {
493 deps += [ 493 deps += [ "//device/media_transfer_protocol" ]
494 "//device/media_transfer_protocol",
495 "//device/udev_linux",
496 ]
497 } 494 }
495
496 if (use_udev) {
497 deps += [ "//device/udev_linux" ]
498 }
499
498 if (is_linux && !is_chromeos) { 500 if (is_linux && !is_chromeos) {
499 deps += [ "//third_party/speech-dispatcher" ] 501 deps += [ "//third_party/speech-dispatcher" ]
500 } 502 }
501 503
502 if (is_chromeos) { 504 if (is_chromeos) {
503 sources += rebase_path(gypi_values.chrome_browser_chromeos_sources, 505 sources += rebase_path(gypi_values.chrome_browser_chromeos_sources,
504 ".", 506 ".",
505 "//chrome") 507 "//chrome")
506 deps += [ "//chrome/browser/chromeos" ] 508 deps += [ "//chrome/browser/chromeos" ]
507 } else { 509 } else {
(...skipping 726 matching lines...) Expand 10 before | Expand all | Expand 10 after
1234 rebase_path(gypi_values.chrome_browser_rlz_sources, ".", "//chrome") 1236 rebase_path(gypi_values.chrome_browser_rlz_sources, ".", "//chrome")
1235 deps = [ 1237 deps = [
1236 "//components/google/core/browser", 1238 "//components/google/core/browser",
1237 "//components/omnibox/browser", 1239 "//components/omnibox/browser",
1238 "//components/rlz", 1240 "//components/rlz",
1239 "//components/search_engines", 1241 "//components/search_engines",
1240 "//rlz:rlz_lib", 1242 "//rlz:rlz_lib",
1241 ] 1243 ]
1242 } 1244 }
1243 } 1245 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698