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

Side by Side Diff: components/ntp_tiles/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_snippets/BUILD.gn ('k') | components/offline_pages/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 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 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 assert(!is_ios) # TODO(sfiera): support iOS http://crbug.com/617966 5 assert(!is_ios) # TODO(sfiera): support iOS http://crbug.com/617966
6 6
7 if (is_android) { 7 if (is_android) {
8 import("//build/config/android/rules.gni") 8 import("//build/config/android/rules.gni")
9 } 9 }
10 10
11 # GYP version: components/ntp_tiles.gypi:ntp_tiles 11 # GYP version: components/ntp_tiles.gypi:ntp_tiles
12 source_set("ntp_tiles") { 12 static_library("ntp_tiles") {
13 sources = [ 13 sources = [
14 "constants.cc", 14 "constants.cc",
15 "constants.h", 15 "constants.h",
16 "most_visited_sites.cc", 16 "most_visited_sites.cc",
17 "most_visited_sites.h", 17 "most_visited_sites.h",
18 "popular_sites.cc", 18 "popular_sites.cc",
19 "popular_sites.h", 19 "popular_sites.h",
20 "pref_names.cc", 20 "pref_names.cc",
21 "pref_names.h", 21 "pref_names.h",
22 "switches.cc", 22 "switches.cc",
(...skipping 28 matching lines...) Expand all
51 ] 51 ]
52 } 52 }
53 53
54 if (is_android) { 54 if (is_android) {
55 java_cpp_enum("ntp_tiles_enums_java") { 55 java_cpp_enum("ntp_tiles_enums_java") {
56 sources = [ 56 sources = [
57 "most_visited_sites.h", 57 "most_visited_sites.h",
58 ] 58 ]
59 } 59 }
60 } 60 }
OLDNEW
« no previous file with comments | « components/ntp_snippets/BUILD.gn ('k') | components/offline_pages/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698