blob: 96ae254116a990f090432a9e5bef3ebf9c3a2c98 [file] [log] [blame]
Lei Zhang1da18cf2018-01-27 07:18:291# Copyright 2018 The Chromium Authors. All rights reserved.
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
Scott Violet318a55f2018-03-30 19:08:195import("//printing/buildflags/buildflags.gni")
Lei Zhang1da18cf2018-01-27 07:18:296
7assert(enable_print_preview)
8
9static_library("pwg_encoder") {
10 sources = [
11 "bitmap_image.cc",
12 "bitmap_image.h",
13 "pwg_encoder.cc",
14 "pwg_encoder.h",
15 ]
16
17 deps = [
18 "//base",
19 "//ui/gfx/geometry",
20 ]
21}
22
23source_set("unit_tests") {
24 testonly = true
25
26 sources = [
27 "pwg_encoder_unittest.cc",
28 ]
29
30 deps = [
31 ":pwg_encoder",
32 "//base/test:test_support",
33 "//testing/gtest",
34 ]
35}