OLD | NEW |
1 # Copyright (c) 2014 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 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 assert(is_linux, "This file should only be depended on from Linux.") |
| 6 |
5 config("freetype2_config") { | 7 config("freetype2_config") { |
6 include_dirs = [ "include", "src/include" ] | 8 include_dirs = [ "include", "src/include" ] |
7 } | 9 } |
8 | 10 |
9 shared_library("freetype2") { | 11 shared_library("freetype2") { |
10 output_name = "freetype" | 12 output_name = "freetype" |
11 output_extension = "so.6" | 13 output_extension = "so.6" |
12 | 14 |
13 sources = [ | 15 sources = [ |
14 "src/src/autofit/autofit.c", | 16 "src/src/autofit/autofit.c", |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 ] | 63 ] |
62 | 64 |
63 configs -= [ "//build/config/compiler:chromium_code" ] | 65 configs -= [ "//build/config/compiler:chromium_code" ] |
64 configs += [ "//build/config/compiler:no_chromium_code" ] | 66 configs += [ "//build/config/compiler:no_chromium_code" ] |
65 configs += [ ":freetype2_config" ] | 67 configs += [ ":freetype2_config" ] |
66 | 68 |
67 direct_dependent_configs = [ ":freetype2_config" ] | 69 direct_dependent_configs = [ ":freetype2_config" ] |
68 | 70 |
69 libs = [ "z" ] | 71 libs = [ "z" ] |
70 } | 72 } |
OLD | NEW |