| 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 382 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 393 test_lib("gm") { | 393 test_lib("gm") { |
| 394 public_include_dirs = [ "gm" ] | 394 public_include_dirs = [ "gm" ] |
| 395 sources = gm_sources | 395 sources = gm_sources |
| 396 deps = [ | 396 deps = [ |
| 397 ":gpu_tool_utils", | 397 ":gpu_tool_utils", |
| 398 ":skia", | 398 ":skia", |
| 399 ":tool_utils", | 399 ":tool_utils", |
| 400 ] | 400 ] |
| 401 } | 401 } |
| 402 | 402 |
| 403 executable("dm") { | 403 if (!is_component_build) { # DM uses many non-SK_API APIs... |
| 404 sources = [ | 404 executable("dm") { |
| 405 "dm/DM.cpp", | 405 sources = [ |
| 406 "dm/DMJsonWriter.cpp", | 406 "dm/DM.cpp", |
| 407 "dm/DMSrcSink.cpp", | 407 "dm/DMJsonWriter.cpp", |
| 408 "dm/DMSrcSink.cpp", |
| 408 | 409 |
| 409 # TODO: tests for real | 410 # TODO: tests for real |
| 410 "tests/Test.cpp", | 411 "tests/Test.cpp", |
| 411 ] | 412 ] |
| 412 include_dirs = [ "tests" ] | 413 include_dirs = [ "tests" ] |
| 413 deps = [ | 414 deps = [ |
| 414 ":flags", | 415 ":flags", |
| 415 ":gm", | 416 ":gm", |
| 416 ":gpu_tool_utils", | 417 ":gpu_tool_utils", |
| 417 ":skia", | 418 ":skia", |
| 418 ":tool_utils", | 419 ":tool_utils", |
| 419 "//third_party/jsoncpp", | 420 "//third_party/jsoncpp", |
| 420 "//third_party/libpng", | 421 "//third_party/libpng", |
| 421 ] | 422 ] |
| 422 testonly = true | 423 testonly = true |
| 424 } |
| 423 } | 425 } |
| OLD | NEW |