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
3 # found in the LICENSE file.
5 # GYP: //tools/android/md5sum/md5sum.gyp:md5sum
8 ":md5sum_bin($host_toolchain)",
9 ":md5sum_bin($default_toolchain)",
10 ":md5sum_prepare_dist($default_toolchain)",
11 ":md5sum_copy_host($host_toolchain)",
13 # TODO(cjhopman): Remove once group datadeps are fixed.
17 # GYP: //tools/android/md5sum/md5sum.gyp:md5sum_bin_device (and md5sum_bin_host)
18 executable("md5sum_bin") {
28 #[ 'order_profiling!=0 and OS=="android"', {
29 #'dependencies': [ '../../../tools/cygprofile/cygprofile.gyp:cygprofile', ],
34 if (current_toolchain == default_toolchain) {
35 import("//build/config/android/rules.gni")
37 # GYP: //tools/android/md5sum/md5sum.gyp:md5sum_stripped_device_bin
38 create_native_executable_dist("md5sum_prepare_dist") {
39 dist_dir = "$root_build_dir/md5sum_dist"
40 binary = "$root_build_dir/exe.stripped/md5sum_bin"
43 # GYP: //tools/android/md5sum/md5sum.gyp:md5sum_bin_host
44 copy("md5sum_copy_host") {
46 "$root_out_dir/md5sum_bin"
49 "$root_build_dir/md5sum_bin_host"