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

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

Issue 2337363002: Load live version when reloading an offline page on connected network (Closed)
Patch Set: Update BUILD.gn 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/client_update_protocol/BUILD.gn b/components/offline_pages/request_header/BUILD.gn
similarity index 56%
copy from components/client_update_protocol/BUILD.gn
copy to components/offline_pages/request_header/BUILD.gn
index e22ee24d20ed545dd95d5243214e42ea5b9b5eb1..711623cc3481ce69aee7d0bf41b1812ca406ff85 100644
--- a/components/client_update_protocol/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("client_update_protocol") {
+if (is_android) {
+ import("//build/config/android/rules.gni")
+}
+
+static_library("request_header") {
sources = [
- "ecdsa.cc",
- "ecdsa.h",
+ "offline_page_header.cc",
+ "offline_page_header.h",
]
deps = [
"//base",
- "//crypto",
]
}
source_set("unit_tests") {
testonly = true
sources = [
- "ecdsa_unittest.cc",
+ "offline_page_header_unittest.cc",
]
deps = [
- ":client_update_protocol",
+ ":request_header",
"//base",
- "//crypto",
+ "//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