| 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/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 Loading... |
| 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 Loading... |
| 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 } |
| OLD | NEW |