| # 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. |
| |
| # Nothing outside //chrome/chrome_cleaner can depend on these targets. |
| visibility = [ "//chrome/chrome_cleaner/*" ] |
| |
| source_set("strings") { |
| sources = [ |
| "string_util.cc", |
| "string_util.h", |
| "wstring_embedded_nulls.cc", |
| "wstring_embedded_nulls.h", |
| ] |
| deps = [ |
| "//base", |
| "//base:i18n", |
| ] |
| } |
| |
| source_set("string_test_helpers") { |
| testonly = true |
| |
| sources = [ |
| "string_test_helpers.cc", |
| "string_test_helpers.h", |
| ] |
| |
| deps = [ |
| ":strings", |
| "//base", |
| ] |
| } |
| |
| source_set("unittest_sources") { |
| testonly = true |
| |
| sources = [ |
| "string_util_unittest.cc", |
| "wstring_embedded_nulls_unittest.cc", |
| ] |
| |
| deps = [ |
| ":string_test_helpers", |
| ":strings", |
| "//base", |
| "//testing/gtest", |
| ] |
| } |