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

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

Issue 2173443003: Convert some component source sets to static library (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: mac Created 4 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
« no previous file with comments | « components/ntp_tiles/BUILD.gn ('k') | components/omnibox/browser/BUILD.gn » ('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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 62
63 deps = [ 63 deps = [
64 ":offline_pages", 64 ":offline_pages",
65 ":switches", 65 ":switches",
66 "//base", 66 "//base",
67 "//testing/gtest", 67 "//testing/gtest",
68 "//url", 68 "//url",
69 ] 69 ]
70 } 70 }
71 71
72 source_set("switches") { 72 static_library("switches") {
73 sources = [ 73 sources = [
74 "offline_page_feature.cc", 74 "offline_page_feature.cc",
75 "offline_page_feature.h", 75 "offline_page_feature.h",
76 ] 76 ]
77 77
78 deps = [ 78 deps = [
79 "//base", 79 "//base",
80 "//components/version_info", 80 "//components/version_info",
81 ] 81 ]
82 } 82 }
(...skipping 22 matching lines...) Expand all
105 ] 105 ]
106 } 106 }
107 107
108 if (is_android) { 108 if (is_android) {
109 java_cpp_enum("offline_page_model_enums_java") { 109 java_cpp_enum("offline_page_model_enums_java") {
110 sources = [ 110 sources = [
111 "offline_page_types.h", 111 "offline_page_types.h",
112 ] 112 ]
113 } 113 }
114 } 114 }
OLDNEW
« no previous file with comments | « components/ntp_tiles/BUILD.gn ('k') | components/omnibox/browser/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698