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

Unified Diff: ios/chrome/browser/web_resource/BUILD.gn

Issue 2443373002: Split //ios/chrome/browser in multiple targets. (Closed)
Patch Set: Rebase Created 4 years, 2 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
Index: ios/chrome/browser/web_resource/BUILD.gn
diff --git a/components/link_header_util/BUILD.gn b/ios/chrome/browser/web_resource/BUILD.gn
similarity index 61%
copy from components/link_header_util/BUILD.gn
copy to ios/chrome/browser/web_resource/BUILD.gn
index 6faef62389c66f9acdb0307557204d8924d368c6..2fa083f2901889594e2f6edf00420d2eb0740573 100644
--- a/components/link_header_util/BUILD.gn
+++ b/ios/chrome/browser/web_resource/BUILD.gn
@@ -2,28 +2,27 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-static_library("link_header_util") {
+source_set("web_resource") {
sources = [
- "link_header_util.cc",
- "link_header_util.h",
+ "web_resource_util.cc",
+ "web_resource_util.h",
]
-
deps = [
"//base",
- "//net",
+ "//components/web_resource",
+ "//ios/web",
]
}
source_set("unit_tests") {
testonly = true
sources = [
- "link_header_util_unittest.cc",
+ "web_resource_util_unittest.cc",
]
-
deps = [
- ":link_header_util",
+ ":web_resource",
"//base",
- "//net",
+ "//ios/web",
"//testing/gtest",
]
}

Powered by Google App Engine
This is Rietveld 408576698