| Index: components/task_scheduler_util/BUILD.gn
|
| diff --git a/components/task_scheduler_util/variations/BUILD.gn b/components/task_scheduler_util/BUILD.gn
|
| similarity index 53%
|
| rename from components/task_scheduler_util/variations/BUILD.gn
|
| rename to components/task_scheduler_util/BUILD.gn
|
| index 64aab015145a17c863c047663abe152ac851c4ac..0cc79ca2f34ef3f11a377f4ca79755c262e6cbbd 100644
|
| --- a/components/task_scheduler_util/variations/BUILD.gn
|
| +++ b/components/task_scheduler_util/BUILD.gn
|
| @@ -2,29 +2,38 @@
|
| # Use of this source code is governed by a BSD-style license that can be
|
| # found in the LICENSE file.
|
|
|
| -static_library("variations") {
|
| +static_library("browser") {
|
| sources = [
|
| - "browser_variations_util.cc",
|
| - "browser_variations_util.h",
|
| + "browser/initialization.cc",
|
| + "browser/initialization.h",
|
| ]
|
|
|
| deps = [
|
| + ":common",
|
| "//base",
|
| "//base:base_static",
|
| - "//components/task_scheduler_util/initialization",
|
| - "//components/variations",
|
| + ]
|
| +}
|
| +
|
| +static_library("common") {
|
| + sources = [
|
| + "common/variations_util.cc",
|
| + "common/variations_util.h",
|
| + ]
|
| +
|
| + deps = [
|
| + "//base",
|
| ]
|
| }
|
|
|
| source_set("unit_tests") {
|
| testonly = true
|
| sources = [
|
| - "browser_variations_util_unittest.cc",
|
| + "common/variations_util_unittest.cc",
|
| ]
|
| deps = [
|
| - ":variations",
|
| + ":common",
|
| "//base",
|
| - "//components/variations",
|
| "//testing/gtest",
|
| ]
|
| }
|
|
|