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

Side by Side Diff: BUILD.gn

Issue 1128043009: Abort on OOM by default in FX_Alloc() (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Rebase, 2015. Created 5 years, 7 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/include/fxcrt/fx_memory.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 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 835 matching lines...) Expand 10 before | Expand all | Expand 10 after
846 configs += [ 846 configs += [
847 ":pdfium_config", 847 ":pdfium_config",
848 "//build/config/compiler:no_chromium_code", 848 "//build/config/compiler:no_chromium_code",
849 ] 849 ]
850 } 850 }
851 851
852 test("pdfium_unittests") { 852 test("pdfium_unittests") {
853 sources = [ 853 sources = [
854 "core/src/fxcodec/codec/fx_codec_jpx_unittest.cpp", 854 "core/src/fxcodec/codec/fx_codec_jpx_unittest.cpp",
855 "core/src/fxcrt/fx_basic_bstring_unittest.cpp", 855 "core/src/fxcrt/fx_basic_bstring_unittest.cpp",
856 "core/src/fxcrt/fx_basic_memmgr_unittest.cpp",
856 "core/src/fxcrt/fx_basic_wstring_unittest.cpp", 857 "core/src/fxcrt/fx_basic_wstring_unittest.cpp",
857 "testing/fx_string_testhelpers.cpp", 858 "testing/fx_string_testhelpers.cpp",
858 "testing/fx_string_testhelpers.h", 859 "testing/fx_string_testhelpers.h",
859 ] 860 ]
860 deps = [ 861 deps = [
861 "//testing/gtest", 862 "//testing/gtest",
862 "//testing/gtest:gtest_main", 863 "//testing/gtest:gtest_main",
863 ":pdfium", 864 ":pdfium",
864 ] 865 ]
865 include_dirs = [ "." ] 866 include_dirs = [ "." ]
(...skipping 26 matching lines...) Expand all
892 "//testing/gtest", 893 "//testing/gtest",
893 ":pdfium", 894 ":pdfium",
894 ] 895 ]
895 include_dirs = [ "." ] 896 include_dirs = [ "." ]
896 configs -= [ "//build/config/compiler:chromium_code" ] 897 configs -= [ "//build/config/compiler:chromium_code" ]
897 configs += [ 898 configs += [
898 ":pdfium_config", 899 ":pdfium_config",
899 "//build/config/compiler:no_chromium_code", 900 "//build/config/compiler:no_chromium_code",
900 ] 901 ]
901 } 902 }
OLDNEW
« no previous file with comments | « no previous file | core/include/fxcrt/fx_memory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698