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

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

Issue 2892493002: Replace sanitizers:deps with exe_and_shlib_deps (Chromium repo only) (Closed)
Patch Set: Fix find/replace error in nacl Created 3 years, 7 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 | « tools/gn/BUILD.gn ('k') | tools/perf/clear_system_cache/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 import("//build/symlink.gni") 5 import("//build/symlink.gni")
6 6
7 if (current_toolchain == host_toolchain) { 7 if (current_toolchain == host_toolchain) {
8 executable("imagediff") { 8 executable("imagediff") {
9 output_name = "image_diff" # Different than dir nam for historical reasons. 9 output_name = "image_diff" # Different than dir nam for historical reasons.
10 sources = [ 10 sources = [
11 "image_diff.cc", 11 "image_diff.cc",
12 "image_diff_png.cc", 12 "image_diff_png.cc",
13 "image_diff_png.h", 13 "image_diff_png.h",
14 ] 14 ]
15 15
16 configs += [ "//build/config/compiler:wexit_time_destructors" ] 16 configs += [ "//build/config/compiler:wexit_time_destructors" ]
17 17
18 deps = [ 18 deps = [
19 "//base", 19 "//base",
20 "//build/config/sanitizers:deps", 20 "//build/config:exe_and_shlib_deps",
21 "//build/win:default_exe_manifest", 21 "//build/win:default_exe_manifest",
22 "//third_party/libpng", 22 "//third_party/libpng",
23 "//third_party/zlib", 23 "//third_party/zlib",
24 ] 24 ]
25 } 25 }
26 } else { 26 } else {
27 # Aliases for compatibility with GYP. 27 # Aliases for compatibility with GYP.
28 binary_symlink("imagediff") { 28 binary_symlink("imagediff") {
29 binary_label = ":$target_name($host_toolchain)" 29 binary_label = ":$target_name($host_toolchain)"
30 binary_output_name = "image_diff" 30 binary_output_name = "image_diff"
31 } 31 }
32 } 32 }
OLDNEW
« no previous file with comments | « tools/gn/BUILD.gn ('k') | tools/perf/clear_system_cache/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698