OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 import("//build/config/features.gni") | 5 import("//build/config/features.gni") |
6 | 6 |
7 static_library("renderer") { | 7 static_library("renderer") { |
8 sources = [ | 8 sources = [ |
9 "pepper_pdf_host.cc", | 9 "pepper_pdf_host.cc", |
10 "pepper_pdf_host.h", | 10 "pepper_pdf_host.h", |
11 "pdf_resource_util.cc", | 11 "pdf_resource_util.cc", |
12 "pdf_resource_util.h", | 12 "pdf_resource_util.h", |
13 "ppb_pdf_impl.cc", | 13 "ppb_pdf_impl.cc", |
14 "ppb_pdf_impl.h", | 14 "ppb_pdf_impl.h", |
15 ] | 15 ] |
16 | 16 |
17 deps = [ | 17 deps = [ |
18 "//base", | 18 "//base", |
19 "//components/pdf/common", | 19 "//components/pdf/common", |
20 "//components/resources:components_resources", | 20 "//components/resources:components_resources", |
21 "//components/strings", | 21 "//components/strings", |
22 "//content/public/renderer", | 22 "//content/public/renderer", |
23 "//ppapi:ppapi_shared", | 23 "//ppapi:ppapi_shared", |
24 "//third_party/icu", | 24 "//third_party/icu", |
25 "//v8", | 25 "//v8", |
26 "//third_party/WebKit/public:blink_minimal", | 26 "//third_party/WebKit/public:blink_minimal", |
27 ] | 27 ] |
28 | 28 |
29 if (is_win) { | 29 if (is_win) { |
30 cflags += [ | 30 cflags = [ |
31 "/wd4267" # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 31 "/wd4267" # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
32 ] | 32 ] |
33 } | 33 } |
34 } | 34 } |
OLD | NEW |