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

Side by Side Diff: third_party/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 | « samples/samples.gyp ('k') | third_party/third_party.gyp » ('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 PDFium Authors. All rights reserved. 1 # Copyright 2014 PDFium 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 group("third_party") { 5 group("third_party") {
6 deps = [ 6 deps = [
7 ":bigint", 7 ":bigint",
8 ":freetype", 8 ":fx_freetype",
9 ":pdfium_base", 9 ":pdfium_base",
10 ] 10 ]
11 } 11 }
12 12
13 source_set("bigint") { 13 source_set("bigint") {
14 configs -= [ "//build/config/compiler:chromium_code" ] 14 configs -= [ "//build/config/compiler:chromium_code" ]
15 configs += [ 15 configs += [
16 "//build/config/compiler:no_chromium_code", 16 "//build/config/compiler:no_chromium_code",
17 "//third_party/pdfium:pdfium_config", 17 "//third_party/pdfium:pdfium_config",
18 ] 18 ]
19 sources = [ 19 sources = [
20 "bigint/BigInteger.cc", 20 "bigint/BigInteger.cc",
21 "bigint/BigInteger.hh", 21 "bigint/BigInteger.hh",
22 "bigint/BigIntegerLibrary.hh", 22 "bigint/BigIntegerLibrary.hh",
23 "bigint/BigIntegerUtils.cc", 23 "bigint/BigIntegerUtils.cc",
24 "bigint/BigIntegerUtils.hh", 24 "bigint/BigIntegerUtils.hh",
25 "bigint/BigUnsigned.cc", 25 "bigint/BigUnsigned.cc",
26 "bigint/BigUnsigned.hh", 26 "bigint/BigUnsigned.hh",
27 "bigint/BigUnsignedInABase.cc", 27 "bigint/BigUnsignedInABase.cc",
28 "bigint/BigUnsignedInABase.hh", 28 "bigint/BigUnsignedInABase.hh",
29 "bigint/NumberlikeArray.hh", 29 "bigint/NumberlikeArray.hh",
30 ] 30 ]
31 } 31 }
32 32
33 source_set("freetype") { 33 # Tests may link against this even if the production library doesn't,
34 # so it needs to be separate from it.
35 static_library("fx_freetype") {
34 configs -= [ "//build/config/compiler:chromium_code" ] 36 configs -= [ "//build/config/compiler:chromium_code" ]
35 configs += [ 37 configs += [
36 "//build/config/compiler:no_chromium_code", 38 "//build/config/compiler:no_chromium_code",
37 "//third_party/pdfium:pdfium_config", 39 "//third_party/pdfium:pdfium_config",
38 ] 40 ]
39 defines = [ "FT2_BUILD_LIBRARY" ] 41 defines = [ "FT2_BUILD_LIBRARY" ]
40 sources = [ 42 sources = [
41 "freetype/include/freetype.h", 43 "freetype/include/freetype.h",
42 "freetype/include/ft2build.h", 44 "freetype/include/ft2build.h",
43 "freetype/include/ftmm.h", 45 "freetype/include/ftmm.h",
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after
268 "base/logging.h", 270 "base/logging.h",
269 "base/macros.h", 271 "base/macros.h",
270 "base/nonstd_unique_ptr.h", 272 "base/nonstd_unique_ptr.h",
271 "base/numerics/safe_conversions.h", 273 "base/numerics/safe_conversions.h",
272 "base/numerics/safe_conversions_impl.h", 274 "base/numerics/safe_conversions_impl.h",
273 "base/numerics/safe_math.h", 275 "base/numerics/safe_math.h",
274 "base/numerics/safe_math_impl.h", 276 "base/numerics/safe_math_impl.h",
275 "base/template_util.h", 277 "base/template_util.h",
276 ] 278 ]
277 } 279 }
OLDNEW
« no previous file with comments | « samples/samples.gyp ('k') | third_party/third_party.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698