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

Unified Diff: components/offline_pages/request_header/BUILD.gn

Issue 2363453002: Merge M54: Load live version when reloading an offline page on connected network (Closed)
Patch Set: Created 4 years, 3 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/BUILD.gn ('k') | components/offline_pages/request_header/offline_page_header.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/offline_pages/request_header/BUILD.gn
diff --git a/components/link_header_util/BUILD.gn b/components/offline_pages/request_header/BUILD.gn
similarity index 56%
copy from components/link_header_util/BUILD.gn
copy to components/offline_pages/request_header/BUILD.gn
index 6faef62389c66f9acdb0307557204d8924d368c6..711623cc3481ce69aee7d0bf41b1812ca406ff85 100644
--- a/components/link_header_util/BUILD.gn
+++ b/components/offline_pages/request_header/BUILD.gn
@@ -2,28 +2,31 @@
# 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") {
+if (is_android) {
+ import("//build/config/android/rules.gni")
+}
+
+static_library("request_header") {
sources = [
- "link_header_util.cc",
- "link_header_util.h",
+ "offline_page_header.cc",
+ "offline_page_header.h",
]
deps = [
"//base",
- "//net",
]
}
source_set("unit_tests") {
testonly = true
sources = [
- "link_header_util_unittest.cc",
+ "offline_page_header_unittest.cc",
]
deps = [
- ":link_header_util",
+ ":request_header",
"//base",
- "//net",
+ "//base/test:test_support",
"//testing/gtest",
]
}
« no previous file with comments | « components/BUILD.gn ('k') | components/offline_pages/request_header/offline_page_header.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698