| # Copyright 2014 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("crx_file") { | |
| sources = [ | |
| "crx_file.cc", | |
| "crx_file.h", | |
| "id_util.cc", | |
| "id_util.h", | |
| ] | |
| deps = [ | |
| "//base", | |
| "//crypto", | |
| ] | |
| } | |
| source_set("unit_tests") { | |
| testonly = true | |
| sources = [ | |
| "id_util_unittest.cc", | |
| ] | |
| deps = [ | |
| ":crx_file", | |
| "//base", | |
| "//testing/gtest", | |
| ] | |
| } |