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

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

Issue 1504243002: [Offline pages] Refactoring helper classes out from offline_page_model_unittest.cc (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixing gn build and addressing comments Created 5 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 | « components/offline_pages.gypi ('k') | components/offline_pages/offline_page_model_unittest.cc » ('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 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 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 # GYP: //components/offline_pages.gypi:offline_pages 9 # GYP: //components/offline_pages.gypi:offline_pages
10 static_library("offline_pages") { 10 static_library("offline_pages") {
(...skipping 18 matching lines...) Expand all
29 "//components/bookmarks/browser", 29 "//components/bookmarks/browser",
30 "//components/keyed_service/core", 30 "//components/keyed_service/core",
31 "//components/leveldb_proto", 31 "//components/leveldb_proto",
32 "//components/offline_pages/proto:offline_pages_proto", 32 "//components/offline_pages/proto:offline_pages_proto",
33 "//net", 33 "//net",
34 "//third_party/leveldatabase", 34 "//third_party/leveldatabase",
35 "//url", 35 "//url",
36 ] 36 ]
37 } 37 }
38 38
39 static_library("test_support") {
40 testonly = true
41 sources = [
42 "offline_page_test_archiver.cc",
43 "offline_page_test_archiver.h",
44 "offline_page_test_store.cc",
45 "offline_page_test_store.h",
46 ]
47
48 deps = [
49 ":offline_pages",
50 "//base",
51 "//testing/gtest",
52 "//url",
53 ]
54 }
55
39 source_set("unit_tests") { 56 source_set("unit_tests") {
40 testonly = true 57 testonly = true
41 sources = [ 58 sources = [
42 "offline_page_metadata_store_impl_unittest.cc", 59 "offline_page_metadata_store_impl_unittest.cc",
43 "offline_page_model_unittest.cc", 60 "offline_page_model_unittest.cc",
44 ] 61 ]
45 62
46 deps = [ 63 deps = [
47 ":offline_pages", 64 ":offline_pages",
65 ":test_support",
48 "//base", 66 "//base",
49 "//components/bookmarks/browser", 67 "//components/bookmarks/browser",
50 "//components/leveldb_proto", 68 "//components/leveldb_proto",
51 "//components/offline_pages/proto:offline_pages_proto", 69 "//components/offline_pages/proto:offline_pages_proto",
52 "//testing/gtest", 70 "//testing/gtest",
53 "//url", 71 "//url",
54 ] 72 ]
55 } 73 }
56 74
57 if (is_android) { 75 if (is_android) {
58 java_cpp_enum("offline_pages_enums_java") { 76 java_cpp_enum("offline_pages_enums_java") {
59 sources = [ 77 sources = [
60 "offline_page_model.h", 78 "offline_page_model.h",
61 ] 79 ]
62 } 80 }
63 } 81 }
OLDNEW
« no previous file with comments | « components/offline_pages.gypi ('k') | components/offline_pages/offline_page_model_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698