# Copyright 2015 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. group("safe_browsing_db") { deps = [ ":prefix_set", ":util", ] } source_set("prefix_set") { sources = [ "prefix_set.cc", "prefix_set.h", ] deps = [ ":util", "//base", ] } source_set("util") { sources = [ "util.cc", "util.h", ] deps = [ "//base", "//crypto", "//net", ] if (is_win) { # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. cflags = [ "/wd4267" ] # Conversion from size_t to 'type'. } } source_set("unit_tests") { testonly = true sources = [ "prefix_set_unittest.cc", "util_unittest.cc", ] deps = [ ":prefix_set", ":util", "//base", "//testing/gtest", "//url", ] if (is_win) { # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. cflags = [ "/wd4267" ] # Conversion from size_t to 'type'. } }