OLD | NEW |
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 static_library("previews") { | 5 static_library("core") { |
6 sources = [ | 6 sources = [ |
7 "previews_data_savings.cc", | 7 "previews_data_savings.cc", |
8 "previews_data_savings.h", | 8 "previews_data_savings.h", |
9 "previews_experiments.cc", | 9 "previews_experiments.cc", |
10 "previews_experiments.h", | 10 "previews_experiments.h", |
11 "previews_io_data.cc", | 11 "previews_io_data.cc", |
12 "previews_io_data.h", | 12 "previews_io_data.h", |
13 "previews_ui_service.cc", | 13 "previews_ui_service.cc", |
14 "previews_ui_service.h", | 14 "previews_ui_service.h", |
15 ] | 15 ] |
16 | 16 |
17 deps = [ | 17 deps = [ |
18 "//base", | 18 "//base", |
19 "//components/data_reduction_proxy/core/common", | 19 "//components/data_reduction_proxy/core/common", |
20 "//components/variations", | 20 "//components/variations", |
21 ] | 21 ] |
22 } | 22 } |
23 | 23 |
24 source_set("unit_tests") { | 24 source_set("unit_tests") { |
25 testonly = true | 25 testonly = true |
26 sources = [ | 26 sources = [ |
27 "previews_data_savings_unittest.cc", | 27 "previews_data_savings_unittest.cc", |
28 "previews_experiments_unittest.cc", | 28 "previews_experiments_unittest.cc", |
29 "previews_io_data_unittest.cc", | 29 "previews_io_data_unittest.cc", |
30 "previews_ui_service_unittest.cc", | 30 "previews_ui_service_unittest.cc", |
31 ] | 31 ] |
32 | 32 |
33 deps = [ | 33 deps = [ |
34 ":previews", | 34 ":core", |
35 "//base", | 35 "//base", |
36 "//base/test:test_support", | 36 "//base/test:test_support", |
37 "//components/data_reduction_proxy/core/common", | 37 "//components/data_reduction_proxy/core/common", |
38 "//components/variations", | 38 "//components/variations", |
39 "//testing/gtest", | 39 "//testing/gtest", |
40 ] | 40 ] |
41 } | 41 } |
OLD | NEW |