| 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 290 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 301 libs += [ "OSMesa" ] | 301 libs += [ "OSMesa" ] |
| 302 } | 302 } |
| 303 | 303 |
| 304 sources = [ | 304 sources = [ |
| 305 "tools/fiddle/draw.cpp", | 305 "tools/fiddle/draw.cpp", |
| 306 "tools/fiddle/fiddle_main.cpp", | 306 "tools/fiddle/fiddle_main.cpp", |
| 307 ] | 307 ] |
| 308 deps = [ | 308 deps = [ |
| 309 ":skia", | 309 ":skia", |
| 310 ":skia.h", | 310 ":skia.h", |
| 311 ":tool_utils", |
| 311 ] | 312 ] |
| 313 testonly = true |
| 312 } | 314 } |
| 313 | 315 |
| 314 template("test_lib") { | 316 template("test_lib") { |
| 315 config(target_name + "_config") { | 317 config(target_name + "_config") { |
| 316 include_dirs = invoker.public_include_dirs | 318 include_dirs = invoker.public_include_dirs |
| 317 } | 319 } |
| 318 source_set(target_name) { | 320 source_set(target_name) { |
| 319 forward_variables_from(invoker, "*", [ "public_include_dirs" ]) | 321 forward_variables_from(invoker, "*", [ "public_include_dirs" ]) |
| 320 public_configs = [ | 322 public_configs = [ |
| 321 ":" + target_name + "_config", | 323 ":" + target_name + "_config", |
| (...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 480 ":flags", | 482 ":flags", |
| 481 ":gm", | 483 ":gm", |
| 482 ":gpu_tool_utils", | 484 ":gpu_tool_utils", |
| 483 ":skia", | 485 ":skia", |
| 484 ":tool_utils", | 486 ":tool_utils", |
| 485 "//third_party/jsoncpp", | 487 "//third_party/jsoncpp", |
| 486 ] | 488 ] |
| 487 testonly = true | 489 testonly = true |
| 488 } | 490 } |
| 489 } | 491 } |
| OLD | NEW |