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 declare_args() { | 6 declare_args() { |
7 } | 7 } |
8 | 8 |
9 skia_public_includes = [ | 9 skia_public_includes = [ |
10 "include/android", | 10 "include/android", |
(...skipping 346 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
357 "tools/gpu/gl/debug/GrProgramObj.cpp", | 357 "tools/gpu/gl/debug/GrProgramObj.cpp", |
358 "tools/gpu/gl/debug/GrShaderObj.cpp", | 358 "tools/gpu/gl/debug/GrShaderObj.cpp", |
359 "tools/gpu/gl/debug/GrTextureObj.cpp", | 359 "tools/gpu/gl/debug/GrTextureObj.cpp", |
360 "tools/gpu/gl/debug/GrTextureUnitObj.cpp", | 360 "tools/gpu/gl/debug/GrTextureUnitObj.cpp", |
361 "tools/gpu/gl/null/NullGLTestContext.cpp", | 361 "tools/gpu/gl/null/NullGLTestContext.cpp", |
362 ] | 362 ] |
363 libs = [] | 363 libs = [] |
364 | 364 |
365 if (is_linux) { | 365 if (is_linux) { |
366 sources += [ | 366 sources += [ |
367 "src/gpu/gl/glx/GrGLCreateNativeInterface_glx.cpp", | 367 "src/gpu/gl/glx/GrGLCreateNativeInterface_glx.cpp", |
368 "tools/gpu/gl/glx/CreatePlatformGLTestContext_glx.cpp", | 368 "tools/gpu/gl/glx/CreatePlatformGLTestContext_glx.cpp", |
369 ] | 369 ] |
370 libs += [ | 370 libs += [ |
371 "GL", | 371 "GL", |
372 "GLU", | 372 "GLU", |
373 "X11", | 373 "X11", |
374 ] | 374 ] |
375 } else if (is_mac) { | 375 } else if (is_mac) { |
376 sources += [ | 376 sources += [ |
377 "src/gpu/gl/mac/GrGLCreateNativeInterface_mac.cpp", | 377 "src/gpu/gl/mac/GrGLCreateNativeInterface_mac.cpp", |
378 "tools/gpu/gl/mac/CreatePlatformGLTestContext_mac.cpp", | 378 "tools/gpu/gl/mac/CreatePlatformGLTestContext_mac.cpp", |
379 ] | 379 ] |
380 libs += [ "OpenGL.framework" ] | 380 libs += [ "OpenGL.framework" ] |
381 } | 381 } |
382 } | 382 } |
383 | 383 |
384 test_lib("flags") { | 384 test_lib("flags") { |
385 public_include_dirs = [ "tools/flags" ] | 385 public_include_dirs = [ "tools/flags" ] |
386 sources = [ | 386 sources = [ |
387 "tools/flags/SkCommandLineFlags.cpp", | 387 "tools/flags/SkCommandLineFlags.cpp", |
388 "tools/flags/SkCommonFlags.cpp", | 388 "tools/flags/SkCommonFlags.cpp", |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
451 ], | 451 ], |
452 "list lines", | 452 "list lines", |
453 []) | 453 []) |
454 | 454 |
455 test_lib("tests") { | 455 test_lib("tests") { |
456 public_include_dirs = [ "tests" ] | 456 public_include_dirs = [ "tests" ] |
457 sources = tests_sources - [ | 457 sources = tests_sources - [ |
458 rebase_path("tests/FontMgrAndroidParserTest.cpp"), # Android only | 458 rebase_path("tests/FontMgrAndroidParserTest.cpp"), # Android only |
459 rebase_path("tests/PathOpsSkpClipTest.cpp"), # alternate main | 459 rebase_path("tests/PathOpsSkpClipTest.cpp"), # alternate main |
460 rebase_path("tests/RTConfRegistryTest.cpp"), # TODO: delete | 460 rebase_path("tests/RTConfRegistryTest.cpp"), # TODO: delete |
461 rebase_path("tests/SkSLErrorTest.cpp"), # TODO: make work | 461 rebase_path("tests/SkSLErrorTest.cpp"), # TODO: make work |
462 rebase_path("tests/SkSLGLSLTest.cpp"), # TODO: make work | 462 rebase_path("tests/SkSLGLSLTest.cpp"), # TODO: make work |
463 rebase_path("tests/SkpSkGrTest.cpp"), # doesn't compile | 463 rebase_path("tests/SkpSkGrTest.cpp"), # doesn't compile |
464 rebase_path("tests/skia_test.cpp"), # alternate main | 464 rebase_path("tests/skia_test.cpp"), # alternate main |
465 ] | 465 ] |
466 deps = [ | 466 deps = [ |
467 ":flags", | 467 ":flags", |
468 ":gpu_tool_utils", | 468 ":gpu_tool_utils", |
469 ":skia", | 469 ":skia", |
470 ":tool_utils", | 470 ":tool_utils", |
471 "//third_party/libpng", | 471 "//third_party/libpng", |
472 "//third_party/zlib", | 472 "//third_party/zlib", |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
538 ":flags", | 538 ":flags", |
539 ":gm", | 539 ":gm", |
540 ":gpu_tool_utils", | 540 ":gpu_tool_utils", |
541 ":skia", | 541 ":skia", |
542 ":tool_utils", | 542 ":tool_utils", |
543 "//third_party/jsoncpp", | 543 "//third_party/jsoncpp", |
544 ] | 544 ] |
545 testonly = true | 545 testonly = true |
546 } | 546 } |
547 } | 547 } |
OLD | NEW |