summaryrefslogtreecommitdiffstats
path: root/components/packed_ct_ev_whitelist/BUILD.gn
blob: ae9561ea1aa2e9254c6dd76ba9c9748a802d68f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# 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("packed_ct_ev_whitelist") {
  sources = [
    "bit_stream_reader.cc",
    "bit_stream_reader.h",
    "packed_ct_ev_whitelist.cc",
    "packed_ct_ev_whitelist.h",
  ]

  deps = [
    "//base",
    "//content",
    "//net",
  ]

  if (is_win) {
    # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
    cflags = [ "/wd4267" ]
  }
}

source_set("unit_tests") {
  testonly = true
  sources = [
    "bit_stream_reader_unittest.cc",
    "packed_ct_ev_whitelist_unittest.cc",
  ]

  deps = [
    ":packed_ct_ev_whitelist",
    "//testing/gtest",
  ]
}