OLD | NEW |
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 | 8 # GYP: //tools/android/md5sum/md5sum.gyp:md5sum |
9 group("md5sum") { | 9 group("md5sum") { |
10 data_deps = [ | 10 data_deps = [ |
(...skipping 20 matching lines...) Expand all Loading... |
31 } | 31 } |
32 } | 32 } |
33 | 33 |
34 if (current_toolchain == default_toolchain) { | 34 if (current_toolchain == default_toolchain) { |
35 import("//build/config/android/rules.gni") | 35 import("//build/config/android/rules.gni") |
36 | 36 |
37 # GYP: //tools/android/md5sum/md5sum.gyp:md5sum_stripped_device_bin | 37 # GYP: //tools/android/md5sum/md5sum.gyp:md5sum_stripped_device_bin |
38 create_native_executable_dist("md5sum_prepare_dist") { | 38 create_native_executable_dist("md5sum_prepare_dist") { |
39 dist_dir = "$root_build_dir/md5sum_dist" | 39 dist_dir = "$root_build_dir/md5sum_dist" |
40 binary = "$root_build_dir/md5sum_bin" | 40 binary = "$root_build_dir/md5sum_bin" |
41 include_main_binary = true | |
42 deps = [ | 41 deps = [ |
43 ":md5sum_bin", | 42 ":md5sum_bin", |
44 ] | 43 ] |
45 } | 44 } |
46 | 45 |
47 # GYP: //tools/android/md5sum/md5sum.gyp:md5sum_bin_host | 46 # GYP: //tools/android/md5sum/md5sum.gyp:md5sum_bin_host |
48 binary_symlink("md5sum_bin_host") { | 47 binary_symlink("md5sum_bin_host") { |
49 binary_label = ":md5sum_bin($host_toolchain)" | 48 binary_label = ":md5sum_bin($host_toolchain)" |
50 } | 49 } |
51 } | 50 } |
OLD | NEW |