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

Side by Side Diff: components/subresource_filter/content/browser/BUILD.gn

Issue 2820933002: [subresource_filter] add //chrome level unit test harness (Closed)
Patch Set: remove dep Created 3 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 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 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 static_library("browser") { 5 static_library("browser") {
6 sources = [ 6 sources = [
7 "activation_state_computing_navigation_throttle.cc", 7 "activation_state_computing_navigation_throttle.cc",
8 "activation_state_computing_navigation_throttle.h", 8 "activation_state_computing_navigation_throttle.h",
9 "async_document_subresource_filter.cc", 9 "async_document_subresource_filter.cc",
10 "async_document_subresource_filter.h", 10 "async_document_subresource_filter.h",
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 public_deps = [ 43 public_deps = [
44 "//ui/base", 44 "//ui/base",
45 ] 45 ]
46 } 46 }
47 47
48 static_library("test_support") { 48 static_library("test_support") {
49 testonly = true 49 testonly = true
50 sources = [ 50 sources = [
51 "async_document_subresource_filter_test_utils.cc", 51 "async_document_subresource_filter_test_utils.cc",
52 "async_document_subresource_filter_test_utils.h", 52 "async_document_subresource_filter_test_utils.h",
53 "fake_safe_browsing_database_manager.cc",
54 "fake_safe_browsing_database_manager.h",
53 ] 55 ]
54 deps = [ 56 deps = [
55 ":browser", 57 ":browser",
56 "//base/test:test_support", 58 "//base/test:test_support",
57 "//components/subresource_filter/core/common", 59 "//components/subresource_filter/core/common",
60 "//content/public/browser",
58 "//testing/gtest:gtest", 61 "//testing/gtest:gtest",
62 "//url",
63 ]
64 public_deps = [
65 "//components/safe_browsing_db:test_database_manager",
59 ] 66 ]
60 } 67 }
61 68
62 source_set("unit_tests") { 69 source_set("unit_tests") {
63 testonly = true 70 testonly = true
64 sources = [ 71 sources = [
65 "activation_state_computing_navigation_throttle_unittest.cc", 72 "activation_state_computing_navigation_throttle_unittest.cc",
66 "async_document_subresource_filter_unittest.cc", 73 "async_document_subresource_filter_unittest.cc",
67 "content_ruleset_service_unittest.cc", 74 "content_ruleset_service_unittest.cc",
68 "content_subresource_filter_driver_factory_unittest.cc", 75 "content_subresource_filter_driver_factory_unittest.cc",
69 "content_subresource_filter_throttle_manager_unittest.cc", 76 "content_subresource_filter_throttle_manager_unittest.cc",
70 "subframe_navigation_filtering_throttle_unittest.cc", 77 "subframe_navigation_filtering_throttle_unittest.cc",
71 "subresource_filter_safe_browsing_activation_throttle_unittest.cc", 78 "subresource_filter_safe_browsing_activation_throttle_unittest.cc",
72 "verified_ruleset_dealer_unittest.cc", 79 "verified_ruleset_dealer_unittest.cc",
73 ] 80 ]
74 deps = [ 81 deps = [
75 ":browser", 82 ":browser",
76 ":test_support", 83 ":test_support",
77 "//base/test:test_support", 84 "//base/test:test_support",
78 "//components/safe_browsing_db:test_database_manager",
79 "//components/safe_browsing_db:util", 85 "//components/safe_browsing_db:util",
80 "//components/subresource_filter/content/common", 86 "//components/subresource_filter/content/common",
81 "//components/subresource_filter/core/browser", 87 "//components/subresource_filter/core/browser",
82 "//components/subresource_filter/core/browser:test_support", 88 "//components/subresource_filter/core/browser:test_support",
83 "//components/subresource_filter/core/common", 89 "//components/subresource_filter/core/common",
84 "//components/subresource_filter/core/common:test_support", 90 "//components/subresource_filter/core/common:test_support",
85 "//content/test:test_support", 91 "//content/test:test_support",
86 "//ipc", 92 "//ipc",
87 "//ipc:test_support", 93 "//ipc:test_support",
88 "//testing/gtest", 94 "//testing/gtest",
89 ] 95 ]
90 } 96 }
OLDNEW
« no previous file with comments | « chrome/test/BUILD.gn ('k') | components/subresource_filter/content/browser/fake_safe_browsing_database_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698