| # Copyright 2014 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("//build/config/features.gni") |
| import("//pdf/features.gni") |
| |
| assert(enable_pdf) |
| |
| static_library("renderer") { |
| sources = [ |
| "pdf_accessibility_tree.cc", |
| "pdf_accessibility_tree.h", |
| "pdf_ax_action_target.cc", |
| "pdf_ax_action_target.h", |
| "pepper_pdf_host.cc", |
| "pepper_pdf_host.h", |
| ] |
| |
| deps = [ |
| "//base", |
| "//components/resources:components_resources", |
| "//components/resources:components_scaled_resources", |
| "//components/strings", |
| "//content/public/common", |
| "//gin", |
| "//ipc", |
| "//pdf:buildflags", |
| "//pdf:features", |
| "//ppapi/host", |
| "//ppapi/proxy", |
| "//ppapi/proxy:ipc", |
| "//ppapi/shared_impl", |
| "//third_party/blink/public:blink", |
| "//third_party/blink/public/strings:strings_grit", |
| "//third_party/icu", |
| "//v8", |
| ] |
| |
| public_deps = [ |
| "//content/public/renderer", |
| "//pdf/mojom", |
| "//ui/accessibility", |
| "//ui/gfx/geometry", |
| ] |
| } |
| |
| source_set("unit_tests") { |
| testonly = true |
| sources = [ "pdf_accessibility_tree_unittest.cc" ] |
| |
| deps = [ |
| ":renderer", |
| "//pdf/mojom", |
| "//testing/gtest", |
| ] |
| } |