Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(173)

Side by Side Diff: BUILD.gn

Issue 2206683002: GN: re-run echo_headers if git state changes. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698