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

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

Issue 1081403002: Refactor safe-browsing build-config definitions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase again to fix collision Created 5 years, 8 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 | « build/config/BUILD.gn ('k') | chrome/browser/apps/ephemeral_app_launcher_browsertest.cc » ('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/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 8
9 # //build/config/android/rules.gni imports //tools/grit/grit_rule.gni, which 9 # //build/config/android/rules.gni imports //tools/grit/grit_rule.gni, which
10 # produces a conflict for the "grit" template so we have to only include one. 10 # produces a conflict for the "grit" template so we have to only include one.
(...skipping 416 matching lines...) Expand 10 before | Expand all | Expand 10 after
427 deps += [ 427 deps += [
428 "//chrome/browser/safe_browsing:chunk_proto", 428 "//chrome/browser/safe_browsing:chunk_proto",
429 "//chrome/browser/safe_browsing:metadata_proto", 429 "//chrome/browser/safe_browsing:metadata_proto",
430 "//chrome/browser/safe_browsing:report_proto", 430 "//chrome/browser/safe_browsing:report_proto",
431 ] 431 ]
432 if (safe_browsing_mode == 1) { 432 if (safe_browsing_mode == 1) {
433 sources += 433 sources +=
434 rebase_path(gypi_values.chrome_browser_safe_browsing_full_sources, 434 rebase_path(gypi_values.chrome_browser_safe_browsing_full_sources,
435 ".", 435 ".",
436 "//chrome") 436 "//chrome")
437 defines += [ "FULL_SAFE_BROWSING" ]
438 deps += [ "//chrome/common/safe_browsing:proto" ] 437 deps += [ "//chrome/common/safe_browsing:proto" ]
439 } else if (safe_browsing_mode == 2) {
440 defines += [ "MOBILE_SAFE_BROWSING" ]
441 } 438 }
442 } 439 }
443 440
444 if (is_linux) { 441 if (is_linux) {
445 deps += [ 442 deps += [
446 "//device/media_transfer_protocol", 443 "//device/media_transfer_protocol",
447 "//device/udev_linux", 444 "//device/udev_linux",
448 ] 445 ]
449 } 446 }
450 if (is_linux && !is_chromeos) { 447 if (is_linux && !is_chromeos) {
(...skipping 674 matching lines...) Expand 10 before | Expand all | Expand 10 after
1125 ] 1122 ]
1126 } 1123 }
1127 1124
1128 if (enable_wifi_bootstrapping) { 1125 if (enable_wifi_bootstrapping) {
1129 sources += [ 1126 sources += [
1130 "local_discovery/wifi/mock_wifi_manager.cc", 1127 "local_discovery/wifi/mock_wifi_manager.cc",
1131 "local_discovery/wifi/mock_wifi_manager.h", 1128 "local_discovery/wifi/mock_wifi_manager.h",
1132 ] 1129 ]
1133 } 1130 }
1134 } 1131 }
OLDNEW
« no previous file with comments | « build/config/BUILD.gn ('k') | chrome/browser/apps/ephemeral_app_launcher_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698