| 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("//build/config/chromecast_build.gni") | 5 import("//build/config/chromecast_build.gni") |
| 6 | 6 |
| 7 config("freetype_config") { | 7 config("freetype_config") { |
| 8 include_dirs = [ | 8 include_dirs = [ |
| 9 "include", | 9 "include", |
| 10 "src/include", | 10 "src/include", |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 } | 21 } |
| 22 } | 22 } |
| 23 | 23 |
| 24 component("freetype") { | 24 component("freetype") { |
| 25 if (is_linux) { | 25 if (is_linux) { |
| 26 output_name = "freetype" | 26 output_name = "freetype" |
| 27 output_extension = "so.6" | 27 output_extension = "so.6" |
| 28 } | 28 } |
| 29 | 29 |
| 30 sources = [ | 30 sources = [ |
| 31 "include/freetype-custom-config/ftmodule.h", |
| 32 "include/freetype-custom-config/ftoption.h", |
| 31 "src/src/autofit/autofit.c", | 33 "src/src/autofit/autofit.c", |
| 32 "src/src/base/ftbase.c", | 34 "src/src/base/ftbase.c", |
| 33 "src/src/base/ftbbox.c", | 35 "src/src/base/ftbbox.c", |
| 34 "src/src/base/ftbitmap.c", | 36 "src/src/base/ftbitmap.c", |
| 35 "src/src/base/ftfntfmt.c", | 37 "src/src/base/ftfntfmt.c", |
| 36 "src/src/base/ftfstype.c", | 38 "src/src/base/ftfstype.c", |
| 37 "src/src/base/ftgasp.c", | 39 "src/src/base/ftgasp.c", |
| 38 "src/src/base/ftglyph.c", | 40 "src/src/base/ftglyph.c", |
| 39 "src/src/base/ftinit.c", | 41 "src/src/base/ftinit.c", |
| 40 "src/src/base/ftlcdfil.c", | 42 "src/src/base/ftlcdfil.c", |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 83 configs -= [ "//build/config/compiler:chromium_code" ] | 85 configs -= [ "//build/config/compiler:chromium_code" ] |
| 84 configs += [ "//build/config/compiler:no_chromium_code" ] | 86 configs += [ "//build/config/compiler:no_chromium_code" ] |
| 85 | 87 |
| 86 configs += [ ":freetype-warnings" ] | 88 configs += [ ":freetype-warnings" ] |
| 87 | 89 |
| 88 deps = [ | 90 deps = [ |
| 89 "//third_party/libpng", | 91 "//third_party/libpng", |
| 90 "//third_party/zlib", | 92 "//third_party/zlib", |
| 91 ] | 93 ] |
| 92 } | 94 } |
| OLD | NEW |