| 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 import("//build/config/features.gni") | 5 import("//build/config/features.gni") |
| 6 import("//build/config/ui.gni") | 6 import("//build/config/ui.gni") |
| 7 import("//testing/test.gni") | 7 import("//testing/test.gni") |
| 8 | 8 |
| 9 if (current_cpu == "arm") { | 9 if (current_cpu == "arm") { |
| 10 import("//build/config/arm.gni") | 10 import("//build/config/arm.gni") |
| (...skipping 312 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 323 "//third_party/skia/src/ports/SkTypeface_win_dw.cpp", | 323 "//third_party/skia/src/ports/SkTypeface_win_dw.cpp", |
| 324 ] | 324 ] |
| 325 } | 325 } |
| 326 if (!is_android) { | 326 if (!is_android) { |
| 327 sources -= [ | 327 sources -= [ |
| 328 "//third_party/skia/src/ports/SkFontMgr_android.cpp", | 328 "//third_party/skia/src/ports/SkFontMgr_android.cpp", |
| 329 "//third_party/skia/src/ports/SkFontMgr_android_factory.cpp", | 329 "//third_party/skia/src/ports/SkFontMgr_android_factory.cpp", |
| 330 "//third_party/skia/src/ports/SkFontMgr_android_parser.cpp", | 330 "//third_party/skia/src/ports/SkFontMgr_android_parser.cpp", |
| 331 ] | 331 ] |
| 332 } | 332 } |
| 333 if (!is_mac) { | 333 if (!is_linux && !is_android && !is_win && !is_mac) { |
| 334 sources -= [ "//third_party/skia/src/ports/SkFontHost_mac.cpp" ] | |
| 335 } | |
| 336 | |
| 337 if (!is_linux && !is_android && !is_win) { | |
| 338 sources -= [ | 334 sources -= [ |
| 339 "//third_party/skia/src/ports/SkFontHost_FreeType.cpp", | 335 "//third_party/skia/src/ports/SkFontHost_FreeType.cpp", |
| 340 "//third_party/skia/src/ports/SkFontHost_FreeType_common.cpp", | 336 "//third_party/skia/src/ports/SkFontHost_FreeType_common.cpp", |
| 341 "//third_party/skia/src/ports/SkFontMgr_custom.cpp", | 337 "//third_party/skia/src/ports/SkFontMgr_custom.cpp", |
| 342 "//third_party/skia/src/ports/SkFontMgr_custom_empty_factory.cpp", | 338 "//third_party/skia/src/ports/SkFontMgr_custom_empty_factory.cpp", |
| 343 ] | 339 ] |
| 344 } | 340 } |
| 345 | 341 |
| 346 if (is_clang && !is_nacl) { | 342 if (is_clang && !is_nacl) { |
| 347 # Skia won't compile with some of the more strict clang warnings. | 343 # Skia won't compile with some of the more strict clang warnings. |
| (...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 544 | 540 |
| 545 configs -= [ "//build/config/compiler:chromium_code" ] | 541 configs -= [ "//build/config/compiler:chromium_code" ] |
| 546 configs += [ | 542 configs += [ |
| 547 ":skia_config", | 543 ":skia_config", |
| 548 ":skia_library_config", | 544 ":skia_library_config", |
| 549 "//build/config/compiler:no_chromium_code", | 545 "//build/config/compiler:no_chromium_code", |
| 550 ] | 546 ] |
| 551 | 547 |
| 552 visibility = [ ":skia" ] | 548 visibility = [ ":skia" ] |
| 553 } | 549 } |
| OLD | NEW |