Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Side by Side Diff: BUILD.gn

Issue 891993003: Fix GN PDFium build when building all. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | pdfium.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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("//testing/test.gni") 5 import("//testing/test.gni")
6 6
7 pdf_use_skia = false 7 pdf_use_skia = false
8 8
9 declare_args() { 9 declare_args() {
10 # On Android there's no system FreeType. On Windows and Mac, only a few 10 # On Android there's no system FreeType. On Windows and Mac, only a few
(...skipping 25 matching lines...) Expand all
36 36
37 if (is_win) { 37 if (is_win) {
38 cflags += [ 38 cflags += [
39 "/wd4005", 39 "/wd4005",
40 "/wd4018", 40 "/wd4018",
41 "/wd4146", 41 "/wd4146",
42 "/wd4333", 42 "/wd4333",
43 "/wd4345", 43 "/wd4345",
44 ] 44 ]
45 } 45 }
46
47 if (bundle_freetype) {
48 defines += [ "FT2_BUILD_LIBRARY" ]
49 }
50 } 46 }
51 47
52 static_library("pdfium") { 48 static_library("pdfium") {
53 sources = [ 49 sources = [
54 "fpdfsdk/include/fpdfdoc.h", 50 "fpdfsdk/include/fpdfdoc.h",
55 "fpdfsdk/include/fpdfedit.h", 51 "fpdfsdk/include/fpdfedit.h",
56 "fpdfsdk/include/fpdfformfill.h", 52 "fpdfsdk/include/fpdfformfill.h",
57 "fpdfsdk/include/fpdftext.h", 53 "fpdfsdk/include/fpdftext.h",
58 "fpdfsdk/include/fpdfview.h", 54 "fpdfsdk/include/fpdfview.h",
59 "fpdfsdk/include/fpdf_dataavail.h", 55 "fpdfsdk/include/fpdf_dataavail.h",
(...skipping 775 matching lines...) Expand 10 before | Expand all | Expand 10 after
835 "testing/fx_string_testhelpers.h", 831 "testing/fx_string_testhelpers.h",
836 ] 832 ]
837 deps = [ 833 deps = [
838 "//testing/gtest", 834 "//testing/gtest",
839 ":pdfium" 835 ":pdfium"
840 ] 836 ]
841 include_dirs = [ "." ] 837 include_dirs = [ "." ]
842 configs -= [ "//build/config/compiler:chromium_code" ] 838 configs -= [ "//build/config/compiler:chromium_code" ]
843 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ] 839 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ]
844 } 840 }
OLDNEW
« no previous file with comments | « no previous file | pdfium.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698