OLD | NEW |
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2013 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 enable_printing = true # TODO(brettw) pass this feature flag in somehow. | 5 enable_printing = true # TODO(brettw) pass this feature flag in somehow. |
6 skia_support_gpu = !is_ios | 6 skia_support_gpu = !is_ios |
7 skia_support_pdf = !is_ios && enable_printing | 7 skia_support_pdf = !is_ios && enable_printing |
8 | 8 |
9 # External-facing config for dependent code. | 9 # External-facing config for dependent code. |
10 config("skia_config") { | 10 config("skia_config") { |
(...skipping 1214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1225 "//build/config/linux:fontconfig", | 1225 "//build/config/linux:fontconfig", |
1226 "//build/config/linux:freetype2", | 1226 "//build/config/linux:freetype2", |
1227 "//build/config/linux:pangocairo", | 1227 "//build/config/linux:pangocairo", |
1228 ] | 1228 ] |
1229 deps += [ | 1229 deps += [ |
1230 "//third_party/icu:icuuc", | 1230 "//third_party/icu:icuuc", |
1231 ] | 1231 ] |
1232 } | 1232 } |
1233 | 1233 |
1234 if (skia_support_pdf) { | 1234 if (skia_support_pdf) { |
1235 deps += "//third_party/sfntly" | 1235 deps += [ "//third_party/sfntly" ] |
1236 } | 1236 } |
1237 } | 1237 } |
1238 } | 1238 } |
1239 | 1239 |
1240 | 1240 |
1241 if (is_linux && !is_android) { | 1241 if (is_linux && !is_android) { |
1242 # TODO(brettw) && arch != "arm" && arch != "mipsel" | 1242 # TODO(brettw) && arch != "arm" && arch != "mipsel" |
1243 sse_cflags = [ "-msse2" ] | 1243 sse_cflags = [ "-msse2" ] |
1244 } else { | 1244 } else { |
1245 sse_cflags = [] | 1245 sse_cflags = [] |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1301 ":skia_config", | 1301 ":skia_config", |
1302 "//build/config/compiler:no_chromium_code" | 1302 "//build/config/compiler:no_chromium_code" |
1303 ] | 1303 ] |
1304 | 1304 |
1305 if (is_linux) { | 1305 if (is_linux) { |
1306 cflags = [ "-msse3" ] | 1306 cflags = [ "-msse3" ] |
1307 } else if (is_mac) { | 1307 } else if (is_mac) { |
1308 cflags = [ "-mssse3" ] # Note the third 's'. | 1308 cflags = [ "-mssse3" ] # Note the third 's'. |
1309 } | 1309 } |
1310 } | 1310 } |
OLD | NEW |