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

Side by Side Diff: BUILD.gn

Issue 1836443002: Re-enable warning 4005 and remove _CRT_SECURE_NO_WARNINGS (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 9 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 | core/fxcrt/include/fx_system.h » ('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 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 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_overrides/v8.gni") 5 import("//build_overrides/v8.gni")
6 import("//testing/test.gni") 6 import("//testing/test.gni")
7 import("pdfium.gni") 7 import("pdfium.gni")
8 8
9 config("pdfium_config") { 9 config("pdfium_config") {
10 cflags = [] 10 cflags = []
11 include_dirs = [ 11 include_dirs = [
12 ".", 12 ".",
13 "third_party/freetype/include", 13 "third_party/freetype/include",
14 "third_party/freetype/include/freetype", 14 "third_party/freetype/include/freetype",
15 ] 15 ]
16 defines = [ 16 defines = [
17 "OPJ_STATIC", 17 "OPJ_STATIC",
18 "PNG_PREFIX", 18 "PNG_PREFIX",
19 "PNG_USE_READ_MACROS", 19 "PNG_USE_READ_MACROS",
20 "V8_DEPRECATION_WARNINGS", 20 "V8_DEPRECATION_WARNINGS",
21 "_CRT_SECURE_NO_WARNINGS",
22 ] 21 ]
23 22
24 if (pdf_use_skia) { 23 if (pdf_use_skia) {
25 defines += [ "_SKIA_SUPPORT_" ] 24 defines += [ "_SKIA_SUPPORT_" ]
26 } 25 }
27 26
28 if (pdf_enable_v8) { 27 if (pdf_enable_v8) {
29 defines += [ "PDF_ENABLE_V8" ] 28 defines += [ "PDF_ENABLE_V8" ]
30 } 29 }
31 30
(...skipping 1633 matching lines...) Expand 10 before | Expand all | Expand 10 after
1665 "//v8:v8_libplatform", 1664 "//v8:v8_libplatform",
1666 ] 1665 ]
1667 include_dirs += [ 1666 include_dirs += [
1668 "//v8", 1667 "//v8",
1669 "//v8/include", 1668 "//v8/include",
1670 ] 1669 ]
1671 configs += [ "//v8:external_startup_data" ] 1670 configs += [ "//v8:external_startup_data" ]
1672 } 1671 }
1673 configs += [ ":pdfium_config" ] 1672 configs += [ ":pdfium_config" ]
1674 } 1673 }
OLDNEW
« no previous file with comments | « no previous file | core/fxcrt/include/fx_system.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698