mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-11-24 06:16:30 +03:00
36 lines
625 B
Plaintext
36 lines
625 B
Plaintext
|
# 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",
|
||
|
]
|
||
|
}
|