| # Copyright 2024 The Chromium Authors |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| component("enterprise_obfuscation") { |
| defines = [ "IS_ENTERPRISE_OBFUSCATION_IMPL" ] |
| |
| sources = [ |
| "download_obfuscator.cc", |
| "download_obfuscator.h", |
| "utils.cc", |
| "utils.h", |
| ] |
| |
| deps = [ |
| "//base", |
| "//crypto", |
| ] |
| } |
| |
| source_set("unit_tests") { |
| testonly = true |
| |
| sources = [ |
| "download_obfuscator_unittest.cc", |
| "utils_unittest.cc", |
| ] |
| |
| deps = [ |
| ":enterprise_obfuscation", |
| "//base", |
| "//base/test:test_support", |
| "//testing/gtest", |
| ] |
| } |