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

Side by Side Diff: tools/imagediff/BUILD.gn

Issue 1882533004: 🐍 Fix GN deps needed by third_party/WebKit/Tools/Scripts/run-webkit-tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 executable("imagediff") { 5 import("//build/symlink.gni")
6 output_name = "image_diff" # Different than dir nam for historical reasons.
7 sources = [
8 "image_diff.cc",
9 "image_diff_png.cc",
10 "image_diff_png.h",
11 ]
12 6
13 configs += [ "//build/config/compiler:wexit_time_destructors" ] 7 if (current_toolchain == host_toolchain) {
8 executable("imagediff") {
9 output_name = "image_diff" # Different than dir nam for historical reasons.
10 sources = [
11 "image_diff.cc",
12 "image_diff_png.cc",
13 "image_diff_png.h",
14 ]
14 15
15 deps = [ 16 configs += [ "//build/config/compiler:wexit_time_destructors" ]
16 "//base", 17
17 "//build/config/sanitizers:deps", 18 deps = [
18 "//third_party/libpng", 19 "//base",
19 "//third_party/zlib", 20 "//build/config/sanitizers:deps",
20 ] 21 "//third_party/libpng",
22 "//third_party/zlib",
23 ]
24 }
25 } else {
26 # Aliases for compatibility with GYP.
27 binary_symlink("imagediff") {
28 binary_label = ":$target_name($host_toolchain)"
29 binary_output_name = "image_diff"
30 }
21 } 31 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698