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

Side by Side Diff: build/android/BUILD.gn

Issue 1236643002: GN: Fix input not defined by deps issue with //build/android:sun_tools_java (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 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 | « no previous file | build/config/android/internal_rules.gni » ('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/rules.gni") 5 import("//build/config/android/rules.gni")
6 6
7 sun_tools_jar_path = "$root_gen_dir/sun_tools_jar/tools.jar" 7 sun_tools_jar_path = "$root_gen_dir/sun_tools_jar/tools.jar"
8 8
9 action("find_sun_tools_jar") { 9 action("find_sun_tools_jar") {
10 script = "//build/android/gyp/find_sun_tools_jar.py" 10 script = "//build/android/gyp/find_sun_tools_jar.py"
11 depfile = "$target_gen_dir/$target_name.d" 11 depfile = "$target_gen_dir/$target_name.d"
12 outputs = [ 12 outputs = [
13 depfile, 13 depfile,
14 sun_tools_jar_path, 14 sun_tools_jar_path,
15 ] 15 ]
16 args = [ 16 args = [
17 "--depfile", 17 "--depfile",
18 rebase_path(depfile, root_build_dir), 18 rebase_path(depfile, root_build_dir),
19 "--output", 19 "--output",
20 rebase_path(sun_tools_jar_path, root_build_dir), 20 rebase_path(sun_tools_jar_path, root_build_dir),
21 ] 21 ]
22 } 22 }
23 23
24 java_prebuilt("sun_tools_java") { 24 java_prebuilt("sun_tools_java") {
25 jar_path = sun_tools_jar_path 25 jar_path = sun_tools_jar_path
26 deps = [
27 ":find_sun_tools_jar",
28 ]
26 } 29 }
OLDNEW
« no previous file with comments | « no previous file | build/config/android/internal_rules.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698