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

Side by Side Diff: tools/android/md5sum/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/android/forwarder2/BUILD.gn ('k') | tools/battor_agent/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/config/android/config.gni") 5 import("//build/config/android/config.gni")
6 import("//build/symlink.gni") 6 import("//build/symlink.gni")
7 7
8 group("md5sum") { 8 group("md5sum") {
9 data_deps = [ 9 data_deps = [
10 ":md5sum_prepare_dist($default_toolchain)", 10 ":md5sum_prepare_dist($default_toolchain)",
11 ":md5sum_bin_host($default_toolchain)", 11 ":md5sum_bin_host($default_toolchain)",
12 ] 12 ]
13 13
14 # TODO(cjhopman): Remove once group data_deps are fixed. 14 # TODO(cjhopman): Remove once group data_deps are fixed.
15 deps = data_deps 15 deps = data_deps
16 } 16 }
17 17
18 executable("md5sum_bin") { 18 executable("md5sum_bin") {
19 sources = [ 19 sources = [
20 "md5sum.cc", 20 "md5sum.cc",
21 ] 21 ]
22 deps = [ 22 deps = [
23 "//base", 23 "//base",
24 "//build/config/sanitizers:deps", 24 "//build/config:exe_and_shlib_deps",
25 ] 25 ]
26 26
27 if (is_android && use_order_profiling) { 27 if (is_android && use_order_profiling) {
28 deps += [ "//tools/cygprofile" ] 28 deps += [ "//tools/cygprofile" ]
29 } 29 }
30 } 30 }
31 31
32 if (current_toolchain == default_toolchain) { 32 if (current_toolchain == default_toolchain) {
33 import("//build/config/android/rules.gni") 33 import("//build/config/android/rules.gni")
34 34
35 create_native_executable_dist("md5sum_prepare_dist") { 35 create_native_executable_dist("md5sum_prepare_dist") {
36 dist_dir = "$root_build_dir/md5sum_dist" 36 dist_dir = "$root_build_dir/md5sum_dist"
37 binary = "$root_build_dir/md5sum_bin" 37 binary = "$root_build_dir/md5sum_bin"
38 deps = [ 38 deps = [
39 ":md5sum_bin", 39 ":md5sum_bin",
40 ] 40 ]
41 } 41 }
42 42
43 binary_symlink("md5sum_bin_host") { 43 binary_symlink("md5sum_bin_host") {
44 binary_label = ":md5sum_bin($host_toolchain)" 44 binary_label = ":md5sum_bin($host_toolchain)"
45 output_name = "md5sum_bin_host" 45 output_name = "md5sum_bin_host"
46 } 46 }
47 } 47 }
OLDNEW
« no previous file with comments | « tools/android/forwarder2/BUILD.gn ('k') | tools/battor_agent/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698