OLD | NEW |
1 # Copyright 2016 Google Inc. | 1 # Copyright 2016 Google Inc. |
2 # | 2 # |
3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
5 | 5 |
6 import("gn/shared_sources.gni") | 6 import("gn/shared_sources.gni") |
7 | 7 |
8 if (!defined(is_skia_standalone)) { | 8 if (!defined(is_skia_standalone)) { |
9 is_skia_standalone = false | 9 is_skia_standalone = false |
10 } | 10 } |
(...skipping 483 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
494 | 494 |
495 if (is_win) { | 495 if (is_win) { |
496 sources += [ | 496 sources += [ |
497 "src/ports/SkDebug_win.cpp", | 497 "src/ports/SkDebug_win.cpp", |
498 "src/ports/SkFontHost_win.cpp", | 498 "src/ports/SkFontHost_win.cpp", |
499 "src/ports/SkFontMgr_win_dw.cpp", | 499 "src/ports/SkFontMgr_win_dw.cpp", |
500 "src/ports/SkFontMgr_win_dw_factory.cpp", | 500 "src/ports/SkFontMgr_win_dw_factory.cpp", |
501 "src/ports/SkImageEncoder_WIC.cpp", | 501 "src/ports/SkImageEncoder_WIC.cpp", |
502 "src/ports/SkImageGeneratorWIC.cpp", | 502 "src/ports/SkImageGeneratorWIC.cpp", |
503 "src/ports/SkOSFile_win.cpp", | 503 "src/ports/SkOSFile_win.cpp", |
| 504 "src/ports/SkOSLibrary_win.cpp", |
504 "src/ports/SkScalerContext_win_dw.cpp", | 505 "src/ports/SkScalerContext_win_dw.cpp", |
505 "src/ports/SkTLS_win.cpp", | 506 "src/ports/SkTLS_win.cpp", |
506 "src/ports/SkTypeface_win_dw.cpp", | 507 "src/ports/SkTypeface_win_dw.cpp", |
507 "src/xps/SkDocument_XPS.cpp", | 508 "src/xps/SkDocument_XPS.cpp", |
508 ] | 509 ] |
509 sources -= | 510 sources -= |
510 [ get_path_info("src/utils/SkThreadUtils_pthread.cpp", "abspath") ] | 511 [ get_path_info("src/utils/SkThreadUtils_pthread.cpp", "abspath") ] |
511 } else { | 512 } else { |
512 sources += [ | 513 sources += [ |
513 "src/ports/SkOSFile_posix.cpp", | 514 "src/ports/SkOSFile_posix.cpp", |
| 515 "src/ports/SkOSLibrary_posix.cpp", |
514 "src/ports/SkTLS_pthread.cpp", | 516 "src/ports/SkTLS_pthread.cpp", |
515 "src/xps/SkDocument_XPS_None.cpp", | 517 "src/xps/SkDocument_XPS_None.cpp", |
516 ] | 518 ] |
517 } | 519 } |
518 | 520 |
519 if (is_android) { | 521 if (is_android) { |
520 deps += [ | 522 deps += [ |
521 "//third_party/cpu-features", | 523 "//third_party/cpu-features", |
522 "//third_party/expat", | 524 "//third_party/expat", |
523 ] | 525 ] |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
627 test_lib("gpu_tool_utils") { | 629 test_lib("gpu_tool_utils") { |
628 public_include_dirs = [] | 630 public_include_dirs = [] |
629 if (skia_enable_gpu) { | 631 if (skia_enable_gpu) { |
630 public_defines = [] | 632 public_defines = [] |
631 public_include_dirs += [ "tools/gpu" ] | 633 public_include_dirs += [ "tools/gpu" ] |
632 sources = [ | 634 sources = [ |
633 "tools/gpu/GrContextFactory.cpp", | 635 "tools/gpu/GrContextFactory.cpp", |
634 "tools/gpu/GrTest.cpp", | 636 "tools/gpu/GrTest.cpp", |
635 "tools/gpu/TestContext.cpp", | 637 "tools/gpu/TestContext.cpp", |
636 "tools/gpu/gl/GLTestContext.cpp", | 638 "tools/gpu/gl/GLTestContext.cpp", |
| 639 "tools/gpu/gl/command_buffer/GLTestContext_command_buffer.cpp", |
637 "tools/gpu/gl/debug/DebugGLTestContext.cpp", | 640 "tools/gpu/gl/debug/DebugGLTestContext.cpp", |
638 "tools/gpu/gl/debug/GrBufferObj.cpp", | 641 "tools/gpu/gl/debug/GrBufferObj.cpp", |
639 "tools/gpu/gl/debug/GrFrameBufferObj.cpp", | 642 "tools/gpu/gl/debug/GrFrameBufferObj.cpp", |
640 "tools/gpu/gl/debug/GrProgramObj.cpp", | 643 "tools/gpu/gl/debug/GrProgramObj.cpp", |
641 "tools/gpu/gl/debug/GrShaderObj.cpp", | 644 "tools/gpu/gl/debug/GrShaderObj.cpp", |
642 "tools/gpu/gl/debug/GrTextureObj.cpp", | 645 "tools/gpu/gl/debug/GrTextureObj.cpp", |
643 "tools/gpu/gl/debug/GrTextureUnitObj.cpp", | 646 "tools/gpu/gl/debug/GrTextureUnitObj.cpp", |
644 "tools/gpu/gl/null/NullGLTestContext.cpp", | 647 "tools/gpu/gl/null/NullGLTestContext.cpp", |
645 ] | 648 ] |
646 libs = [] | 649 libs = [] |
(...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
911 "tools/get_images_from_skps.cpp", | 914 "tools/get_images_from_skps.cpp", |
912 ] | 915 ] |
913 deps = [ | 916 deps = [ |
914 ":flags", | 917 ":flags", |
915 ":skia", | 918 ":skia", |
916 "//third_party/jsoncpp", | 919 "//third_party/jsoncpp", |
917 ] | 920 ] |
918 testonly = true | 921 testonly = true |
919 } | 922 } |
920 } | 923 } |
OLD | NEW |