| 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 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 104 ] | 104 ] |
| 105 | 105 |
| 106 if (is_win && is_component_build) { | 106 if (is_win && is_component_build) { |
| 107 # Used for managing declspec(dllimport/export) visibility. | 107 # Used for managing declspec(dllimport/export) visibility. |
| 108 defines += [ "FT2_BUILD_DLL" ] | 108 defines += [ "FT2_BUILD_DLL" ] |
| 109 } | 109 } |
| 110 | 110 |
| 111 public_configs = [ ":freetype_config" ] | 111 public_configs = [ ":freetype_config" ] |
| 112 configs -= [ "//build/config/compiler:chromium_code" ] | 112 configs -= [ "//build/config/compiler:chromium_code" ] |
| 113 configs += [ "//build/config/compiler:no_chromium_code" ] | 113 configs += [ "//build/config/compiler:no_chromium_code" ] |
| 114 configs += [ "//third_party/harfbuzz-ng:harfbuzz-ng-ft-deferred-linkage" ] |
| 114 | 115 |
| 115 configs += [ ":freetype-warnings" ] | 116 configs += [ ":freetype-warnings" ] |
| 116 | 117 |
| 117 deps = [ | 118 deps = [ |
| 119 "//third_party/harfbuzz-ng:harfbuzz-ng", |
| 118 "//third_party/libpng", | 120 "//third_party/libpng", |
| 119 "//third_party/zlib", | 121 "//third_party/zlib", |
| 120 ] | 122 ] |
| 121 } | 123 } |
| OLD | NEW |