summaryrefslogtreecommitdiff
path: root/chromium/components/pwg_encoder/BUILD.gn
blob: 7ef45276673fb0185956cc90167be415294e0e67 (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
# Copyright 2018 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("//printing/buildflags/buildflags.gni")

assert(enable_print_preview)

static_library("pwg_encoder") {
  sources = [
    "bitmap_image.cc",
    "bitmap_image.h",
    "pwg_encoder.cc",
    "pwg_encoder.h",
  ]

  deps = [
    "//base",
    "//ui/gfx/geometry",
  ]
}

source_set("unit_tests") {
  testonly = true

  sources = [ "pwg_encoder_unittest.cc" ]

  deps = [
    ":pwg_encoder",
    "//base/test:test_support",
    "//testing/gtest",
  ]
}