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

Side by Side Diff: BUILD.gn

Issue 1267493005: Use bundled freetype for tests. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: DEPS picks up corresponding expected results. Created 5 years, 4 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 | DEPS » ('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 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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 }
OLDNEW
« no previous file with comments | « no previous file | DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698