summaryrefslogtreecommitdiffstats
path: root/components/pdf/renderer/BUILD.gn
blob: c83ea41777c67abdb45768b02846ab6ce5aa9b25 (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
34
# 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")

static_library("renderer") {
  sources = [
    "pepper_pdf_host.cc",
    "pepper_pdf_host.h",
    "pdf_resource_util.cc",
    "pdf_resource_util.h",
    "ppb_pdf_impl.cc",
    "ppb_pdf_impl.h",
  ]

  deps = [
    "//base",
    "//components/pdf/common",
    "//components/resources:components_resources",
    "//components/strings",
    "//content/public/renderer",
    "//ppapi:ppapi_shared",
    "//third_party/icu",
    "//v8",
    "//third_party/WebKit/public:blink_minimal",
  ]

  if (is_win) {
    cflags = [
      "/wd4267"  # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
    ]
  }
}