| 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 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 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 124 } | 124 } |
| 125 | 125 |
| 126 if (is_mac) { | 126 if (is_mac) { |
| 127 libs += [ | 127 libs += [ |
| 128 "AppKit.framework", | 128 "AppKit.framework", |
| 129 "CoreFoundation.framework", | 129 "CoreFoundation.framework", |
| 130 ] | 130 ] |
| 131 } | 131 } |
| 132 | 132 |
| 133 if (pdfium_bundle_freetype) { | 133 if (pdfium_bundle_freetype) { |
| 134 deps += [ "third_party:freetype" ] | 134 deps += [ "third_party:fx_freetype" ] |
| 135 } else { | 135 } else { |
| 136 libs += [ "freetype" ] | 136 libs += [ "freetype" ] |
| 137 } | 137 } |
| 138 } | 138 } |
| 139 | 139 |
| 140 # Targets below this are only visible within this file (and to the | 140 # Targets below this are only visible within this file (and to the |
| 141 # top-level gn_visibility target used to help gn_all build everything). | 141 # top-level gn_visibility target used to help gn_all build everything). |
| 142 visibility = [ | 142 visibility = [ |
| 143 ":*", | 143 ":*", |
| 144 "//:gn_visibility", | 144 "//:gn_visibility", |
| (...skipping 631 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 776 "//v8", | 776 "//v8", |
| 777 "//v8/include", | 777 "//v8/include", |
| 778 "." | 778 "." |
| 779 ] | 779 ] |
| 780 configs -= [ "//build/config/compiler:chromium_code" ] | 780 configs -= [ "//build/config/compiler:chromium_code" ] |
| 781 configs += [ | 781 configs += [ |
| 782 ":pdfium_config", | 782 ":pdfium_config", |
| 783 "//build/config/compiler:no_chromium_code", | 783 "//build/config/compiler:no_chromium_code", |
| 784 ] | 784 ] |
| 785 } | 785 } |
| OLD | NEW |