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

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

Issue 507503002: Remove BrowserThread dependency from usb_service. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Do the same to chrome/browser/BUILD.gn. Created 6 years, 3 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/DEPS » ('j') | chrome/browser/browser_process_impl.cc » ('J')
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/crypto.gni") 5 import("//build/config/crypto.gni")
6 import("//build/config/features.gni") 6 import("//build/config/features.gni")
7 import("//build/config/ui.gni") 7 import("//build/config/ui.gni")
8 import("//components/nacl/nacl_defines.gni") 8 import("//components/nacl/nacl_defines.gni")
9 import("//tools/grit/grit_rule.gni") 9 import("//tools/grit/grit_rule.gni")
10 10
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 "//components/autofill/content/browser", 149 "//components/autofill/content/browser",
150 "//components/dom_distiller/content", 150 "//components/dom_distiller/content",
151 "//components/keyed_service/content", 151 "//components/keyed_service/content",
152 "//components/navigation_interception", 152 "//components/navigation_interception",
153 "//components/password_manager/content/browser", 153 "//components/password_manager/content/browser",
154 "//components/precache/content", 154 "//components/precache/content",
155 "//components/sessions", 155 "//components/sessions",
156 "//components/storage_monitor", 156 "//components/storage_monitor",
157 "//components/translate/content/browser", 157 "//components/translate/content/browser",
158 "//components/url_matcher", 158 "//components/url_matcher",
159 "//components/usb_service",
160 "//components/visitedlink/browser", 159 "//components/visitedlink/browser",
161 "//components/visitedlink/common", 160 "//components/visitedlink/common",
162 "//components/web_modal", 161 "//components/web_modal",
163 "//content/app/resources", 162 "//content/app/resources",
164 "//media", 163 "//media",
165 "//media/cast:net", 164 "//media/cast:net",
166 "//mojo/environment:chromium", 165 "//mojo/environment:chromium",
167 "//mojo/public/cpp/bindings", 166 "//mojo/public/cpp/bindings",
168 "//mojo/public/js/bindings", 167 "//mojo/public/js/bindings",
169 "//mojo/system", 168 "//mojo/system",
(...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after
443 } 442 }
444 443
445 if (is_android || is_ios) { 444 if (is_android || is_ios) {
446 # Mobile. 445 # Mobile.
447 sources += rebase_path(gypi_values.chrome_browser_mobile_sources, 446 sources += rebase_path(gypi_values.chrome_browser_mobile_sources,
448 ".", "//chrome") 447 ".", "//chrome")
449 } else { 448 } else {
450 # Non-mobile. 449 # Non-mobile.
451 sources += rebase_path(gypi_values.chrome_browser_non_mobile_sources, 450 sources += rebase_path(gypi_values.chrome_browser_non_mobile_sources,
452 ".", "//chrome") 451 ".", "//chrome")
452 deps += [
453 "//components/usb_service",
454 "//device/common",
455 ]
453 } 456 }
454 457
455 if (is_android) { 458 if (is_android) {
456 sources += rebase_path(gypi_values.chrome_browser_android_sources, 459 sources += rebase_path(gypi_values.chrome_browser_android_sources,
457 ".", "//chrome") 460 ".", "//chrome")
458 deps += [ 461 deps += [
459 "//components/cdm/browser", 462 "//components/cdm/browser",
460 #"../components/components.gyp:web_contents_delegate_android", TODO(GYP) 463 #"../components/components.gyp:web_contents_delegate_android", TODO(GYP)
461 #"chrome_browser_jni_headers", TODO(GYP) 464 #"chrome_browser_jni_headers", TODO(GYP)
462 ] 465 ]
463 deps -= [ 466 deps -= [
464 "//third_party/libaddressinput", 467 "//third_party/libaddressinput",
465 "//components/feedback", 468 "//components/feedback",
466 "//components/storage_monitor", 469 "//components/storage_monitor",
467 "//components/usb_service",
468 "//components/web_modal", 470 "//components/web_modal",
469 ] 471 ]
470 } else { 472 } else {
471 sources += rebase_path(gypi_values.chrome_browser_non_android_sources, 473 sources += rebase_path(gypi_values.chrome_browser_non_android_sources,
472 ".", "//chrome") 474 ".", "//chrome")
473 } 475 }
474 476
475 if (is_mac) { 477 if (is_mac) {
476 deps += [ 478 deps += [
477 "//third_party/google_toolbox_for_mac", 479 "//third_party/google_toolbox_for_mac",
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
662 # TODO(GYP) write internal action 664 # TODO(GYP) write internal action
663 if (false) { #if (is_chrome_branded) { 665 if (false) { #if (is_chrome_branded) {
664 action("chrome_internal_resources_gen") { 666 action("chrome_internal_resources_gen") {
665 # TODO(GYP) 667 # TODO(GYP)
666 } 668 }
667 } else { 669 } else {
668 group("chrome_internal_resources_gen") { 670 group("chrome_internal_resources_gen") {
669 # Empty placeholder. 671 # Empty placeholder.
670 } 672 }
671 } 673 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/DEPS » ('j') | chrome/browser/browser_process_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698