summaryrefslogtreecommitdiff
path: root/chromium/components/encrypted_messages/BUILD.gn
blob: b5959030f60f0ab827de52f3ba91c9963beb81d1 (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
37
# Copyright 2017 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.

import("//third_party/protobuf/proto_library.gni")

static_library("encrypted_messages") {
  sources = [
    "message_encrypter.cc",
    "message_encrypter.h",
  ]

  public_deps = [ ":encrypted_message_proto" ]

  deps = [
    "//base",
    "//crypto",
    "//third_party/boringssl:boringssl",
  ]
}

proto_library("encrypted_message_proto") {
  sources = [ "encrypted_message.proto" ]
}

source_set("unit_tests") {
  testonly = true

  sources = [ "message_encrypter_unittest.cc" ]

  deps = [
    ":encrypted_messages",
    "//base",
    "//testing/gtest",
    "//third_party/boringssl:boringssl",
  ]
}