OLD | NEW |
(Empty) | |
| 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. |
| 4 |
| 5 import("//build/config/android/rules.gni") |
| 6 |
| 7 sun_tools_jar_path = "$root_gen_dir/sun_tools_jar/tools.jar" |
| 8 |
| 9 action("find_sun_tools_jar") { |
| 10 script = "//build/android/gyp/find_sun_tools_jar.py" |
| 11 depfile = "$target_gen_dir/$target_name.d" |
| 12 outputs = [ |
| 13 depfile, |
| 14 sun_tools_jar_path, |
| 15 ] |
| 16 args = [ |
| 17 "--depfile", |
| 18 rebase_path(depfile, root_build_dir), |
| 19 "--output", |
| 20 rebase_path(sun_tools_jar_path, root_build_dir), |
| 21 ] |
| 22 } |
| 23 |
| 24 java_prebuilt("sun_tools_java") { |
| 25 jar_path = sun_tools_jar_path |
| 26 } |
OLD | NEW |