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

Side by Side Diff: tools/android/md5sum/BUILD.gn

Issue 2351003002: Remove GYP annotations from chrome, ui, tools GN files. (Closed)
Patch Set: Created 4 years, 3 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/kerberos/SpnegoAuthenticator/BUILD.gn ('k') | tools/cygprofile/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 # GYP: //tools/android/md5sum/md5sum.gyp:md5sum
9 group("md5sum") { 8 group("md5sum") {
10 data_deps = [ 9 data_deps = [
11 ":md5sum_prepare_dist($default_toolchain)", 10 ":md5sum_prepare_dist($default_toolchain)",
12 ":md5sum_bin_host($default_toolchain)", 11 ":md5sum_bin_host($default_toolchain)",
13 ] 12 ]
14 13
15 # TODO(cjhopman): Remove once group data_deps are fixed. 14 # TODO(cjhopman): Remove once group data_deps are fixed.
16 deps = data_deps 15 deps = data_deps
17 } 16 }
18 17
19 # GYP: //tools/android/md5sum/md5sum.gyp:md5sum_bin_device (and md5sum_bin_host)
20 executable("md5sum_bin") { 18 executable("md5sum_bin") {
21 sources = [ 19 sources = [
22 "md5sum.cc", 20 "md5sum.cc",
23 ] 21 ]
24 deps = [ 22 deps = [
25 "//base", 23 "//base",
26 "//build/config/sanitizers:deps", 24 "//build/config/sanitizers:deps",
27 ] 25 ]
28 26
29 if (is_android && use_order_profiling) { 27 if (is_android && use_order_profiling) {
30 deps += [ "//tools/cygprofile" ] 28 deps += [ "//tools/cygprofile" ]
31 } 29 }
32 } 30 }
33 31
34 if (current_toolchain == default_toolchain) { 32 if (current_toolchain == default_toolchain) {
35 import("//build/config/android/rules.gni") 33 import("//build/config/android/rules.gni")
36 34
37 # GYP: //tools/android/md5sum/md5sum.gyp:md5sum_stripped_device_bin
38 create_native_executable_dist("md5sum_prepare_dist") { 35 create_native_executable_dist("md5sum_prepare_dist") {
39 dist_dir = "$root_build_dir/md5sum_dist" 36 dist_dir = "$root_build_dir/md5sum_dist"
40 binary = "$root_build_dir/md5sum_bin" 37 binary = "$root_build_dir/md5sum_bin"
41 deps = [ 38 deps = [
42 ":md5sum_bin", 39 ":md5sum_bin",
43 ] 40 ]
44 } 41 }
45 42
46 # GYP: //tools/android/md5sum/md5sum.gyp:md5sum_bin_host
47 binary_symlink("md5sum_bin_host") { 43 binary_symlink("md5sum_bin_host") {
48 binary_label = ":md5sum_bin($host_toolchain)" 44 binary_label = ":md5sum_bin($host_toolchain)"
49 output_name = "md5sum_bin_host" 45 output_name = "md5sum_bin_host"
50 } 46 }
51 } 47 }
OLDNEW
« no previous file with comments | « tools/android/kerberos/SpnegoAuthenticator/BUILD.gn ('k') | tools/cygprofile/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698