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

Side by Side Diff: components/offline_pages/content/background_loader/BUILD.gn

Issue 2534673002: [Offline pages] Create offliner that uses background loader (Closed)
Patch Set: bleh it works now Created 4 years 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
« no previous file with comments | « chrome/test/BUILD.gn ('k') | components/offline_pages/content/background_loader/DEPS » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 if (is_android) { 5 if (is_android) {
6 import("//build/config/android/rules.gni") 6 import("//build/config/android/rules.gni")
7 } 7 }
8 8
9 source_set("background_loader") { 9 source_set("background_loader") {
10 sources = [ 10 sources = [
11 "background_loader_contents.cc", 11 "background_loader_contents.cc",
12 "background_loader_contents.h", 12 "background_loader_contents.h",
13 ] 13 ]
14 14
15 deps = [ 15 deps = [
16 "//content/public/browser", 16 "//content/public/browser",
17 "//url", 17 "//url",
18 ] 18 ]
19 } 19 }
20 20
21 source_set("test_support") {
22 testonly = true
23
24 sources = [
25 "background_loader_contents_stub.cc",
26 "background_loader_contents_stub.h",
27 ]
28
29 deps = [
30 ":background_loader",
31 "//content/test:test_support",
32 ]
33 }
34
21 source_set("unit_tests") { 35 source_set("unit_tests") {
22 testonly = true 36 testonly = true
23 sources = [ 37 sources = [
24 "background_loader_contents_unittest.cc", 38 "background_loader_contents_unittest.cc",
25 ] 39 ]
26 deps = [ 40 deps = [
27 ":background_loader", 41 ":background_loader",
28 "//base", 42 "//base",
29 "//content/test:test_support", 43 "//content/test:test_support",
30 "//testing/gtest", 44 "//testing/gtest",
31 ] 45 ]
32 } 46 }
OLDNEW
« no previous file with comments | « chrome/test/BUILD.gn ('k') | components/offline_pages/content/background_loader/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698