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

Unified Diff: components/navigation_interception/BUILD.gn

Issue 1304163005: Sync more GN unit tests with GYP. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixes Created 5 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/metrics/BUILD.gn ('k') | components/rappor/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/navigation_interception/BUILD.gn
diff --git a/components/navigation_interception/BUILD.gn b/components/navigation_interception/BUILD.gn
index 788c2d72cc87e7911f266edcf2399ee4761a4c96..12456ff30d6a1206f8780ca951a6f1a1662046db 100644
--- a/components/navigation_interception/BUILD.gn
+++ b/components/navigation_interception/BUILD.gn
@@ -6,7 +6,7 @@ if (is_android) {
import("//build/config/android/rules.gni")
}
-static_library("navigation_interception") {
+source_set("navigation_interception") {
sources = [
"intercept_navigation_resource_throttle.cc",
"intercept_navigation_resource_throttle.h",
@@ -45,3 +45,16 @@ if (is_android) {
jni_package = "navigation_interception"
}
}
+
+source_set("unit_tests") {
+ testonly = true
+ sources = [
+ "intercept_navigation_resource_throttle_unittest.cc",
+ ]
+ deps = [
+ ":navigation_interception",
+ "//content/public/browser",
+ "//testing/gmock",
+ "//testing/gtest",
+ ]
+}
« no previous file with comments | « components/metrics/BUILD.gn ('k') | components/rappor/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698