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

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

Issue 1750883002: Add enable-offlining-recent-pages feature switch. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: resolve Created 4 years, 9 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
« no previous file with comments | « chrome/browser/about_flags.cc ('k') | components/offline_pages/offline_page_feature.h » ('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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 67
68 source_set("unit_tests") { 68 source_set("unit_tests") {
69 testonly = true 69 testonly = true
70 sources = [ 70 sources = [
71 "offline_page_metadata_store_impl_unittest.cc", 71 "offline_page_metadata_store_impl_unittest.cc",
72 "offline_page_model_unittest.cc", 72 "offline_page_model_unittest.cc",
73 ] 73 ]
74 74
75 deps = [ 75 deps = [
76 ":offline_pages", 76 ":offline_pages",
77 ":switches",
77 ":test_support", 78 ":test_support",
78 "//base", 79 "//base",
79 "//base/test:test_support", 80 "//base/test:test_support",
80 "//components/bookmarks/browser", 81 "//components/bookmarks/browser",
81 "//components/bookmarks/test", 82 "//components/bookmarks/test",
82 "//components/leveldb_proto", 83 "//components/leveldb_proto",
83 "//components/offline_pages/proto:offline_pages_proto", 84 "//components/offline_pages/proto:offline_pages_proto",
84 "//testing/gtest", 85 "//testing/gtest",
85 "//url", 86 "//url",
86 ] 87 ]
87 } 88 }
88 89
89 if (is_android) { 90 if (is_android) {
90 java_cpp_enum("offline_page_feature_enums_java") { 91 java_cpp_enum("offline_page_feature_enums_java") {
91 sources = [ 92 sources = [
92 "offline_page_feature.h", 93 "offline_page_feature.h",
93 ] 94 ]
94 } 95 }
95 96
96 java_cpp_enum("offline_page_model_enums_java") { 97 java_cpp_enum("offline_page_model_enums_java") {
97 sources = [ 98 sources = [
98 "offline_page_model.h", 99 "offline_page_model.h",
99 ] 100 ]
100 } 101 }
101 } 102 }
OLDNEW
« no previous file with comments | « chrome/browser/about_flags.cc ('k') | components/offline_pages/offline_page_feature.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698