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

Side by Side Diff: BUILD.gn

Issue 1431563002: chromium_code tweaks for Windows and Linux/gyp. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 5 years, 1 month 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') | pdfium.gyp » ('J')
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 import("pdfium.gni") 6 import("pdfium.gni")
7 7
8 config("pdfium_config") { 8 config("pdfium_config") {
9 cflags = [] 9 cflags = []
10 include_dirs = [ "third_party/freetype/include" ] 10 include_dirs = [ "third_party/freetype/include" ]
(...skipping 20 matching lines...) Expand all
31 } 31 }
32 } 32 }
33 33
34 if (is_win) { 34 if (is_win) {
35 cflags += [ 35 cflags += [
36 "/wd4005", 36 "/wd4005",
37 "/wd4018", 37 "/wd4018",
38 "/wd4146", 38 "/wd4146",
39 "/wd4333", 39 "/wd4333",
40 "/wd4345", 40 "/wd4345",
41 # TODO(thestig): Fix all instances, remove this, pdfium:29
42 "/wd4245",
43 "/wd4389",
44 "/wd4701",
45 "/wd4706",
46 "/wd4800",
41 ] 47 ]
42 } 48 }
43 49
44 if (is_clang) { 50 if (is_clang) {
45 # TODO(thestig): Fix all instances, remove this, pdfium:29 51 # TODO(thestig): Fix all instances, remove this, pdfium:29
46 cflags += [ "-Wno-sign-compare" ] 52 cflags += [ "-Wno-sign-compare" ]
47 } 53 }
48 } 54 }
49 55
50 static_library("pdfium") { 56 static_library("pdfium") {
(...skipping 706 matching lines...) Expand 10 before | Expand all | Expand 10 after
757 "//v8", 763 "//v8",
758 "//v8:v8_libplatform", 764 "//v8:v8_libplatform",
759 ] 765 ]
760 include_dirs += [ 766 include_dirs += [
761 "//v8", 767 "//v8",
762 "//v8/include", 768 "//v8/include",
763 ] 769 ]
764 } 770 }
765 configs += [ ":pdfium_config" ] 771 configs += [ ":pdfium_config" ]
766 } 772 }
OLDNEW
« no previous file with comments | « no previous file | pdfium.gyp » ('j') | pdfium.gyp » ('J')

Powered by Google App Engine
This is Rietveld 408576698