blob: 7d36bd687d8e3cd34a701970c52d33ce10219ad0 [file] [log] [blame]
# Copyright 2019 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.
# TODO(crbug.com/916420): this does not compile on iOS, where JPEGCodec (used by
# ImageProcessor) is not supported. We should use an
# alternative encoding scheme or support JPEGCodec on
# iOS.
if (!is_ios) {
static_library("core") {
sources = [
"page_annotator.cc",
"page_annotator.h",
]
deps = [
"//base",
"//services/image_annotation/public/cpp",
"//skia",
]
}
source_set("unit_tests") {
testonly = true
sources = [
"page_annotator_unittest.cc",
]
deps = [
":core",
"//base",
"//base/test:test_support",
"//services/image_annotation/public/cpp",
"//skia",
"//testing/gmock",
"//testing/gtest",
]
}
}