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 pdf_use_skia = false | 5 pdf_use_skia = false |
6 | 6 |
7 config("pdfium_config") { | 7 config("pdfium_config") { |
8 cflags = [] | 8 cflags = [] |
9 defines = [ | 9 defines = [ |
10 "FOXIT_CHROME_BUILD", | 10 "FOXIT_CHROME_BUILD", |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
109 if (is_win) { | 109 if (is_win) { |
110 libs += [ "advapi32.lib", "gdi32.lib", "user32.lib" ] | 110 libs += [ "advapi32.lib", "gdi32.lib", "user32.lib" ] |
111 } | 111 } |
112 | 112 |
113 if (is_mac) { | 113 if (is_mac) { |
114 libs += [ "AppKit.framework", "CoreFoundation.framework" ] | 114 libs += [ "AppKit.framework", "CoreFoundation.framework" ] |
115 } | 115 } |
116 } | 116 } |
117 | 117 |
118 # Targets below this are only visible within this file. | 118 # Targets below this are only visible within this file. |
119 visibility = ":*" | 119 visibility = [ ":*" ] |
120 | 120 |
121 component("safemath") { | 121 component("safemath") { |
122 sources = [ | 122 sources = [ |
123 "third_party/logging.h", | 123 "third_party/logging.h", |
124 "third_party/macros.h", | 124 "third_party/macros.h", |
125 "third_party/template_util.h", | 125 "third_party/template_util.h", |
126 "third_party/numerics/safe_conversions.h", | 126 "third_party/numerics/safe_conversions.h", |
127 "third_party/numerics/safe_conversions_impl.h", | 127 "third_party/numerics/safe_conversions_impl.h", |
128 "third_party/numerics/safe_math.h", | 128 "third_party/numerics/safe_math.h", |
129 "third_party/numerics/safe_math_impl.h", | 129 "third_party/numerics/safe_math_impl.h", |
(...skipping 729 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
859 "fpdfsdk/src/formfiller/FFL_RadioButton.cpp", | 859 "fpdfsdk/src/formfiller/FFL_RadioButton.cpp", |
860 "fpdfsdk/src/formfiller/FFL_TextField.cpp", | 860 "fpdfsdk/src/formfiller/FFL_TextField.cpp", |
861 "fpdfsdk/src/formfiller/FFL_Utils.cpp", | 861 "fpdfsdk/src/formfiller/FFL_Utils.cpp", |
862 ] | 862 ] |
863 configs -= [ "//build/config/compiler:chromium_code" ] | 863 configs -= [ "//build/config/compiler:chromium_code" ] |
864 if (is_posix) { | 864 if (is_posix) { |
865 configs -= [ "//build/config/gcc:no_exceptions" ] | 865 configs -= [ "//build/config/gcc:no_exceptions" ] |
866 } | 866 } |
867 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ] | 867 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ] |
868 } | 868 } |
OLD | NEW |