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

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

Issue 1012263002: Enable download_protection_service_unittest.cc on ChromeOS (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 9 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 | « chrome/chrome_tests_unit.gypi ('k') | no next file » | 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 import("//build/module_args/v8.gni") 8 import("//build/module_args/v8.gni")
9 import("//testing/test.gni") 9 import("//testing/test.gni")
10 10
(...skipping 1423 matching lines...) Expand 10 before | Expand all | Expand 10 after
1434 } 1434 }
1435 } 1435 }
1436 if (safe_browsing_mode == 1) { 1436 if (safe_browsing_mode == 1) {
1437 # TODO(sgurun): enable tests for safe_browsing==2. 1437 # TODO(sgurun): enable tests for safe_browsing==2.
1438 sources += rebase_path( 1438 sources += rebase_path(
1439 unit_gypi_values.chrome_unit_tests_full_safe_browsing_sources, 1439 unit_gypi_values.chrome_unit_tests_full_safe_browsing_sources,
1440 ".", 1440 ".",
1441 "//chrome") 1441 "//chrome")
1442 defines += [ "FULL_SAFE_BROWSING" ] 1442 defines += [ "FULL_SAFE_BROWSING" ]
1443 deps += [ ":test_proto" ] 1443 deps += [ ":test_proto" ]
1444 if (is_chromeos) { 1444 if (is_android) {
1445 sources -= [ "../browser/safe_browsing/download_protection_service_unitt est.cc" ]
1446 } else if (is_android) {
1447 deps -= [ ":test_proto" ] 1445 deps -= [ ":test_proto" ]
1448 sources -= [ 1446 sources -= [
1449 # Android doesn't support download feedbacks. 1447 # Android doesn't support download feedbacks.
1450 "../browser/safe_browsing/download_feedback_service_unittest.cc", 1448 "../browser/safe_browsing/download_feedback_service_unittest.cc",
1451 "../browser/safe_browsing/download_feedback_unittest.cc", 1449 "../browser/safe_browsing/download_feedback_unittest.cc",
1452 "../browser/safe_browsing/download_protection_service_unittest.cc", 1450 "../browser/safe_browsing/download_protection_service_unittest.cc",
1453 "../browser/safe_browsing/two_phase_uploader_unittest.cc", 1451 "../browser/safe_browsing/two_phase_uploader_unittest.cc",
1454 "../common/safe_browsing/ipc_protobuf_message_test_messages.h", 1452 "../common/safe_browsing/ipc_protobuf_message_test_messages.h",
1455 "../common/safe_browsing/ipc_protobuf_message_unittest.cc", 1453 "../common/safe_browsing/ipc_protobuf_message_unittest.cc",
1456 ] 1454 ]
(...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after
1743 # ] 1741 # ]
1744 # } 1742 # }
1745 # if (!is_mac) { 1743 # if (!is_mac) {
1746 # sources -= [ 1744 # sources -= [
1747 # "perf/mach_ports_performancetest.cc", 1745 # "perf/mach_ports_performancetest.cc",
1748 # ] 1746 # ]
1749 # } 1747 # }
1750 # } 1748 # }
1751 } 1749 }
1752 } 1750 }
OLDNEW
« no previous file with comments | « chrome/chrome_tests_unit.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698