OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 import("//build/config/ui.gni") | 5 import("//build/config/ui.gni") |
6 | 6 |
7 if (is_android) { | 7 if (is_android) { |
8 import("//build/config/android/config.gni") | 8 import("//build/config/android/config.gni") |
9 import("//build/config/android/rules.gni") | 9 import("//build/config/android/rules.gni") |
10 } | 10 } |
11 | 11 |
12 # GYP version: components/ntp_snippets.gypi:ntp_snippets | 12 # GYP version: components/ntp_snippets.gypi:ntp_snippets |
13 static_library("ntp_snippets") { | 13 static_library("ntp_snippets") { |
14 sources = [ | 14 sources = [ |
15 "category.cc", | 15 "category.cc", |
16 "category.h", | 16 "category.h", |
17 "category_factory.cc", | 17 "category_factory.cc", |
18 "category_factory.h", | 18 "category_factory.h", |
| 19 "category_info.cc", |
| 20 "category_info.h", |
19 "category_status.cc", | 21 "category_status.cc", |
20 "category_status.h", | 22 "category_status.h", |
21 "content_suggestion.cc", | 23 "content_suggestion.cc", |
22 "content_suggestion.h", | 24 "content_suggestion.h", |
23 "content_suggestions_provider.cc", | 25 "content_suggestions_provider.cc", |
24 "content_suggestions_provider.h", | 26 "content_suggestions_provider.h", |
25 "content_suggestions_service.cc", | 27 "content_suggestions_service.cc", |
26 "content_suggestions_service.h", | 28 "content_suggestions_service.h", |
27 "ntp_snippet.cc", | 29 "ntp_snippet.cc", |
28 "ntp_snippet.h", | 30 "ntp_snippet.h", |
(...skipping 30 matching lines...) Expand all Loading... |
59 "//net", | 61 "//net", |
60 "//url", | 62 "//url", |
61 ] | 63 ] |
62 | 64 |
63 deps = [ | 65 deps = [ |
64 "//components/data_use_measurement/core", | 66 "//components/data_use_measurement/core", |
65 "//components/image_fetcher", | 67 "//components/image_fetcher", |
66 "//components/metrics", | 68 "//components/metrics", |
67 "//components/ntp_snippets/proto", | 69 "//components/ntp_snippets/proto", |
68 "//components/offline_pages", | 70 "//components/offline_pages", |
| 71 "//components/strings", |
69 "//components/variations", | 72 "//components/variations", |
70 "//components/variations/net", | 73 "//components/variations/net", |
71 "//third_party/icu/", | 74 "//third_party/icu/", |
| 75 "//ui/base", |
72 "//ui/gfx", | 76 "//ui/gfx", |
73 ] | 77 ] |
74 } | 78 } |
75 | 79 |
76 if (is_android) { | 80 if (is_android) { |
77 java_cpp_enum("ntp_snippets_java_enums_srcjar") { | 81 java_cpp_enum("ntp_snippets_java_enums_srcjar") { |
78 sources = [ | 82 sources = [ |
79 "category_status.h", | 83 "category_status.h", |
80 ] | 84 ] |
81 } | 85 } |
(...skipping 14 matching lines...) Expand all Loading... |
96 ] | 100 ] |
97 | 101 |
98 deps = [ | 102 deps = [ |
99 ":ntp_snippets", | 103 ":ntp_snippets", |
100 "//base", | 104 "//base", |
101 "//base/test:test_support", | 105 "//base/test:test_support", |
102 "//components/image_fetcher", | 106 "//components/image_fetcher", |
103 "//components/leveldb_proto:test_support", | 107 "//components/leveldb_proto:test_support", |
104 "//components/signin/core/browser:test_support", | 108 "//components/signin/core/browser:test_support", |
105 "//components/signin/core/common", | 109 "//components/signin/core/common", |
| 110 "//components/strings", |
106 "//components/sync_driver:test_support", | 111 "//components/sync_driver:test_support", |
107 "//components/variations", | 112 "//components/variations", |
108 "//net:test_support", | 113 "//net:test_support", |
109 "//testing/gtest", | 114 "//testing/gtest", |
110 "//third_party/icu/", | 115 "//third_party/icu/", |
111 ] | 116 ] |
112 } | 117 } |
OLD | NEW |