| # Copyright 2018 The Chromium Authors. All rights reserved. |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| static_library("common") { |
| sources = [ |
| "google_switches.cc", |
| "google_switches.h", |
| "google_tld_list.h", |
| "google_util.cc", |
| "google_util.h", |
| ] |
| |
| public_deps = [ |
| "//base", |
| "//net", |
| ] |
| |
| deps = [ |
| "//build:branding_buildflags", |
| "//components/url_formatter", |
| ] |
| } |
| |
| source_set("unit_tests") { |
| testonly = true |
| |
| sources = [ |
| "google_util_unittest.cc", |
| ] |
| |
| deps = [ |
| ":common", |
| "//base", |
| "//testing/gtest", |
| ] |
| } |