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 271 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
282 | 282 |
283 if (is_fuchsia) { | 283 if (is_fuchsia) { |
284 sources += [ "src/ports/SkFontMgr_empty_factory.cpp" ] | 284 sources += [ "src/ports/SkFontMgr_empty_factory.cpp" ] |
285 } | 285 } |
286 } | 286 } |
287 | 287 |
288 action("skia.h") { | 288 action("skia.h") { |
289 script = "gn/echo_headers.py" | 289 script = "gn/echo_headers.py" |
290 args = [ rebase_path("$target_gen_dir/skia.h", root_build_dir) ] + | 290 args = [ rebase_path("$target_gen_dir/skia.h", root_build_dir) ] + |
291 rebase_path(skia_public_includes, root_build_dir) | 291 rebase_path(skia_public_includes, root_build_dir) |
| 292 inputs = [ ".git/logs/HEAD" ] # ~~> Run any time GIT state changes. |
292 outputs = [ | 293 outputs = [ |
293 "$target_gen_dir/skia.h", | 294 "$target_gen_dir/skia.h", |
294 ] | 295 ] |
295 } | 296 } |
296 | 297 |
297 executable("fiddle") { | 298 executable("fiddle") { |
298 include_dirs = [ "$target_gen_dir" ] | 299 include_dirs = [ "$target_gen_dir" ] |
299 libs = [] | 300 libs = [] |
300 if (is_linux) { | 301 if (is_linux) { |
301 libs += [ "OSMesa" ] | 302 libs += [ "OSMesa" ] |
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
482 ":flags", | 483 ":flags", |
483 ":gm", | 484 ":gm", |
484 ":gpu_tool_utils", | 485 ":gpu_tool_utils", |
485 ":skia", | 486 ":skia", |
486 ":tool_utils", | 487 ":tool_utils", |
487 "//third_party/jsoncpp", | 488 "//third_party/jsoncpp", |
488 ] | 489 ] |
489 testonly = true | 490 testonly = true |
490 } | 491 } |
491 } | 492 } |
OLD | NEW |