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 if (cpu_arch == "arm") { | 7 if (cpu_arch == "arm") { |
8 import("//build/config/arm.gni") | 8 import("//build/config/arm.gni") |
9 } | 9 } |
10 | 10 |
(...skipping 364 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
375 "//third_party/skia/src/utils/SkMD5.h", | 375 "//third_party/skia/src/utils/SkMD5.h", |
376 "//third_party/skia/src/utils/SkMeshUtils.cpp", | 376 "//third_party/skia/src/utils/SkMeshUtils.cpp", |
377 "//third_party/skia/src/utils/SkNinePatch.cpp", | 377 "//third_party/skia/src/utils/SkNinePatch.cpp", |
378 "//third_party/skia/src/utils/SkOSFile.cpp", | 378 "//third_party/skia/src/utils/SkOSFile.cpp", |
379 "//third_party/skia/src/utils/SkParse.cpp", | 379 "//third_party/skia/src/utils/SkParse.cpp", |
380 "//third_party/skia/src/utils/SkParseColor.cpp", | 380 "//third_party/skia/src/utils/SkParseColor.cpp", |
381 "//third_party/skia/src/utils/SkParsePath.cpp", | 381 "//third_party/skia/src/utils/SkParsePath.cpp", |
382 "//third_party/skia/src/utils/SkPathUtils.cpp", | 382 "//third_party/skia/src/utils/SkPathUtils.cpp", |
383 "//third_party/skia/src/utils/SkSHA1.cpp", | 383 "//third_party/skia/src/utils/SkSHA1.cpp", |
384 "//third_party/skia/src/utils/SkSHA1.h", | 384 "//third_party/skia/src/utils/SkSHA1.h", |
385 "//third_party/skia/src/utils/SkThreadUtils.h", | |
386 "//third_party/skia/src/utils/SkThreadUtils_pthread.cpp", | |
387 "//third_party/skia/src/utils/SkThreadUtils_pthread.h", | |
388 "//third_party/skia/src/utils/SkThreadUtils_pthread_linux.cpp", | |
389 "//third_party/skia/src/utils/SkThreadUtils_pthread_mach.cpp", | |
390 "//third_party/skia/src/utils/SkThreadUtils_pthread_other.cpp", | |
391 "//third_party/skia/src/utils/SkThreadUtils_win.cpp", | |
392 "//third_party/skia/src/utils/SkTFitsIn.h", | 385 "//third_party/skia/src/utils/SkTFitsIn.h", |
393 "//third_party/skia/src/utils/SkTLogic.h", | 386 "//third_party/skia/src/utils/SkTLogic.h", |
394 | 387 |
| 388 # We don't currently need to change thread affinity, so leave out this complex
ity for now. |
| 389 "//third_party/skia/src/utils/SkThreadUtils_pthread_mach.cpp", |
| 390 "//third_party/skia/src/utils/SkThreadUtils_pthread_linux.cpp", |
| 391 |
395 #testing | 392 #testing |
396 "//third_party/skia/src/fonts/SkGScalerContext.cpp", | 393 "//third_party/skia/src/fonts/SkGScalerContext.cpp", |
397 "//third_party/skia/src/fonts/SkGScalerContext.h", | 394 "//third_party/skia/src/fonts/SkGScalerContext.h", |
398 ] | 395 ] |
399 | 396 |
| 397 if (is_win) { |
| 398 sources -= [ |
| 399 # Keeping _win.cpp |
| 400 "//third_party/skia/src/utils/SkThreadUtils_pthread.cpp", |
| 401 "//third_party/skia/src/utils/SkThreadUtils_pthread_other.cpp", |
| 402 ] |
| 403 } else { |
| 404 sources -= [ |
| 405 # Keeping _pthread.cpp and _pthread_other.cpp. |
| 406 "//third_party/skia/src/utils/SkThreadUtils_win.cpp", |
| 407 ] |
| 408 } |
| 409 |
400 # need separate win section to handle chromes auto gn filter | 410 # need separate win section to handle chromes auto gn filter |
401 # (build/config/BUILDCONFIG.gn) | 411 # (build/config/BUILDCONFIG.gn) |
402 if (is_win) { | 412 if (is_win) { |
403 sources -= [ | 413 sources -= [ |
404 "//third_party/skia/src/utils/SkThreadUtils_win.h", | |
405 | |
406 #windows | 414 #windows |
407 "//third_party/skia/include/utils/win/SkAutoCoInitialize.h", | 415 "//third_party/skia/include/utils/win/SkAutoCoInitialize.h", |
408 "//third_party/skia/include/utils/win/SkHRESULT.h", | 416 "//third_party/skia/include/utils/win/SkHRESULT.h", |
409 "//third_party/skia/include/utils/win/SkIStream.h", | 417 "//third_party/skia/include/utils/win/SkIStream.h", |
410 "//third_party/skia/include/utils/win/SkTScopedComPtr.h", | 418 "//third_party/skia/include/utils/win/SkTScopedComPtr.h", |
411 "//third_party/skia/src/utils/win/SkAutoCoInitialize.cpp", | 419 "//third_party/skia/src/utils/win/SkAutoCoInitialize.cpp", |
412 "//third_party/skia/src/utils/win/SkIStream.cpp", | 420 "//third_party/skia/src/utils/win/SkIStream.cpp", |
413 "//third_party/skia/src/utils/win/SkWGL_win.cpp", | 421 "//third_party/skia/src/utils/win/SkWGL_win.cpp", |
414 ] | 422 ] |
415 } | 423 } |
(...skipping 294 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
710 ":skia_library_config", | 718 ":skia_library_config", |
711 "//build/config/compiler:no_chromium_code" | 719 "//build/config/compiler:no_chromium_code" |
712 ] | 720 ] |
713 | 721 |
714 deps = [ | 722 deps = [ |
715 "//base", | 723 "//base", |
716 ] | 724 ] |
717 | 725 |
718 visibility = [ ":skia" ] | 726 visibility = [ ":skia" ] |
719 } | 727 } |
OLD | NEW |