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

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

Issue 1160283003: [Offline] Creates metadata store interface for offline pages (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@offline-pages-1
Patch Set: Adding BUILD.gn updates Created 5 years, 6 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 import("//third_party/protobuf/proto_library.gni")
6
7 # GYP: //components/offline_pages.gypi:offline_pages
6 static_library("offline_pages") { 8 static_library("offline_pages") {
7 sources = [ 9 sources = [
8 "offline_page_item.cc", 10 "offline_page_item.cc",
9 "offline_page_item.h", 11 "offline_page_item.h",
12 "offline_page_metadata_store.cc",
13 "offline_page_metadata_store.h",
14 "offline_page_metadata_store_impl.cc",
15 "offline_page_metadata_store_impl.h",
10 "offline_page_model.cc", 16 "offline_page_model.cc",
11 "offline_page_model.h", 17 "offline_page_model.h",
12 ] 18 ]
13 19
14 deps = [ 20 deps = [
21 ":proto",
15 "//base", 22 "//base",
16 "//components/keyed_service/core", 23 "//components/keyed_service/core",
17 "//net", 24 "//net",
25 "//third_party/leveldatabase",
26 "//third_party/protobuf:protobuf_lite",
18 "//url", 27 "//url",
19 ] 28 ]
20 } 29 }
30
31 proto_library("proto") {
32 sources = [
33 "proto/offline_pages.proto",
34 ]
35 }
36
37 source_set("unit_tests") {
38 testonly = true
39 sources = [
40 "offline_page_metadata_store_impl_unittest.cc",
41 ]
42
43 deps = [
44 ":offline_pages",
45 "//testing/gtest",
46 ]
47 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698