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("variations") { | 5 static_library("browser") { |
6 sources = [ | 6 sources = [ |
7 "browser_variations_util.cc", | 7 "browser/initialization.cc", |
8 "browser_variations_util.h", | 8 "browser/initialization.h", |
| 9 ] |
| 10 |
| 11 deps = [ |
| 12 ":common", |
| 13 "//base", |
| 14 "//base:base_static", |
| 15 ] |
| 16 } |
| 17 |
| 18 static_library("common") { |
| 19 sources = [ |
| 20 "common/variations_util.cc", |
| 21 "common/variations_util.h", |
9 ] | 22 ] |
10 | 23 |
11 deps = [ | 24 deps = [ |
12 "//base", | 25 "//base", |
13 "//base:base_static", | |
14 "//components/task_scheduler_util/initialization", | |
15 "//components/variations", | |
16 ] | 26 ] |
17 } | 27 } |
18 | 28 |
19 source_set("unit_tests") { | 29 source_set("unit_tests") { |
20 testonly = true | 30 testonly = true |
21 sources = [ | 31 sources = [ |
22 "browser_variations_util_unittest.cc", | 32 "common/variations_util_unittest.cc", |
23 ] | 33 ] |
24 deps = [ | 34 deps = [ |
25 ":variations", | 35 ":common", |
26 "//base", | 36 "//base", |
27 "//components/variations", | |
28 "//testing/gtest", | 37 "//testing/gtest", |
29 ] | 38 ] |
30 } | 39 } |
OLD | NEW |