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

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

Issue 1226173004: Componentize //chrome/browser/offline_pages (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updated unittest and gn build Created 5 years, 5 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 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 # GYP: //components/offline_pages.gypi:offline_pages 5 # GYP: //components/offline_pages.gypi:offline_pages
6 static_library("offline_pages") { 6 static_library("offline_pages") {
7 sources = [ 7 sources = [
8 "offline_page_archiver.h", 8 "offline_page_archiver.h",
9 "offline_page_item.cc", 9 "offline_page_item.cc",
10 "offline_page_item.h", 10 "offline_page_item.h",
11 "offline_page_metadata_store.cc", 11 "offline_page_metadata_store.cc",
12 "offline_page_metadata_store.h", 12 "offline_page_metadata_store.h",
13 "offline_page_model.cc", 13 "offline_page_model.cc",
14 "offline_page_model.h", 14 "offline_page_model.h",
RaviKasibhatla 2015/07/13 13:21:32 I don't see the newly moved files listed in source
Abhishek 2015/07/13 14:04:03 Thanks for your comment! Done
15 ] 15 ]
16 16
17 deps = [ 17 deps = [
18 "//base", 18 "//base",
19 "//components/keyed_service/core", 19 "//components/keyed_service/core",
20 "//components/offline_pages/proto:offline_pages_proto",
20 "//net", 21 "//net",
21 "//url", 22 "//url",
22 ] 23 ]
23 } 24 }
24 25
25 source_set("unit_tests") { 26 source_set("unit_tests") {
26 testonly = true 27 testonly = true
27 sources = [ 28 sources = [
28 "offline_page_model_unittest.cc", 29 "offline_page_model_unittest.cc",
29 ] 30 ]
30 31
31 deps = [ 32 deps = [
32 ":offline_pages", 33 ":offline_pages",
33 "//testing/gtest", 34 "//testing/gtest",
34 ] 35 ]
35 } 36 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698