Home | History | Annotate | Download | only in renderer
      1 # Copyright 2014 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 
      5 import("//build/config/features.gni")
      6 
      7 static_library("renderer") {
      8   sources = [
      9     "pepper_pdf_host.cc",
     10     "pepper_pdf_host.h",
     11     "pdf_resource_util.cc",
     12     "pdf_resource_util.h",
     13     "ppb_pdf_impl.cc",
     14     "ppb_pdf_impl.h",
     15   ]
     16 
     17   deps = [
     18     "//base",
     19     "//components/pdf/common",
     20     "//components/resources:components_resources",
     21     "//components/strings",
     22     "//content/public/renderer",
     23     "//ppapi:ppapi_shared",
     24     "//third_party/icu",
     25     "//v8",
     26     "//third_party/WebKit/public:blink_minimal",
     27   ]
     28 
     29   if (is_win) {
     30     cflags = [
     31       "/wd4267"  # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
     32     ]
     33   }
     34 }
     35