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

Side by Side Diff: components/offline_pages/request_header/BUILD.gn

Issue 2337363002: 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 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("link_header_util") { 5 if (is_android) {
6 import("//build/config/android/rules.gni")
7 }
8
9 # GYP: //components/offline_pages.gypi:request_header
10 static_library("request_header") {
6 sources = [ 11 sources = [
7 "link_header_util.cc", 12 "offline_page_header.cc",
8 "link_header_util.h", 13 "offline_page_header.h",
9 ] 14 ]
10 15
11 deps = [ 16 deps = [
12 "//base", 17 "//base",
13 "//net",
14 ] 18 ]
15 } 19 }
16 20
17 source_set("unit_tests") { 21 source_set("unit_tests") {
18 testonly = true 22 testonly = true
19 sources = [ 23 sources = [
20 "link_header_util_unittest.cc", 24 "offline_page_header_unittest.cc",
21 ] 25 ]
22 26
23 deps = [ 27 deps = [
24 ":link_header_util", 28 ":request_header",
25 "//base", 29 "//base",
26 "//net", 30 "//base/test:test_support",
27 "//testing/gtest", 31 "//testing/gtest",
28 ] 32 ]
29 } 33 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698