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 1081403002: Refactor safe-browsing build-config definitions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rename INTERNAL/EXTERNAL to LOCAL/REMOTE 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
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 415 matching lines...) Expand 10 before | Expand all | Expand 10 after
426 deps += [ 426 deps += [
427 "//chrome/browser/safe_browsing:chunk_proto", 427 "//chrome/browser/safe_browsing:chunk_proto",
428 "//chrome/browser/safe_browsing:metadata_proto", 428 "//chrome/browser/safe_browsing:metadata_proto",
429 "//chrome/browser/safe_browsing:report_proto", 429 "//chrome/browser/safe_browsing:report_proto",
430 ] 430 ]
431 if (safe_browsing_mode == 1) { 431 if (safe_browsing_mode == 1) {
432 sources += 432 sources +=
433 rebase_path(gypi_values.chrome_browser_safe_browsing_full_sources, 433 rebase_path(gypi_values.chrome_browser_safe_browsing_full_sources,
434 ".", 434 ".",
435 "//chrome") 435 "//chrome")
436 defines += [ "FULL_SAFE_BROWSING" ]
437 deps += [ "//chrome/common/safe_browsing:proto" ] 436 deps += [ "//chrome/common/safe_browsing:proto" ]
438 } else if (safe_browsing_mode == 2) {
439 defines += [ "MOBILE_SAFE_BROWSING" ]
440 } 437 }
441 } 438 }
442 439
443 if (is_linux) { 440 if (is_linux) {
444 deps += [ 441 deps += [
445 "//device/media_transfer_protocol", 442 "//device/media_transfer_protocol",
446 "//device/udev_linux", 443 "//device/udev_linux",
447 ] 444 ]
448 } 445 }
449 if (is_linux && !is_chromeos) { 446 if (is_linux && !is_chromeos) {
(...skipping 674 matching lines...) Expand 10 before | Expand all | Expand 10 after
1124 ] 1121 ]
1125 } 1122 }
1126 1123
1127 if (enable_wifi_bootstrapping) { 1124 if (enable_wifi_bootstrapping) {
1128 sources += [ 1125 sources += [
1129 "local_discovery/wifi/mock_wifi_manager.cc", 1126 "local_discovery/wifi/mock_wifi_manager.cc",
1130 "local_discovery/wifi/mock_wifi_manager.h", 1127 "local_discovery/wifi/mock_wifi_manager.h",
1131 ] 1128 ]
1132 } 1129 }
1133 } 1130 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698