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

Side by Side Diff: build/config/android/internal_rules.gni

Issue 1196173004: [GN] Add data_deps support to [android_]java_prebuilt (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update commit msg Created 5 years, 6 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/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/config.gni") 5 import("//build/config/android/config.gni")
6 6
7 assert(is_android) 7 assert(is_android)
8 8
9 rebased_android_sdk = rebase_path(android_sdk, root_build_dir) 9 rebased_android_sdk = rebase_path(android_sdk, root_build_dir)
10 rebased_android_sdk_root = rebase_path(android_sdk_root, root_build_dir) 10 rebased_android_sdk_root = rebase_path(android_sdk_root, root_build_dir)
(...skipping 846 matching lines...) Expand 10 before | Expand all | Expand 10 after
857 deps = [ 857 deps = [
858 ":$process_jar_target_name", 858 ":$process_jar_target_name",
859 ] 859 ]
860 } 860 }
861 } 861 }
862 862
863 group(target_name) { 863 group(target_name) {
864 deps = [ 864 deps = [
865 ":$process_jar_target_name", 865 ":$process_jar_target_name",
866 ] 866 ]
867 if (defined(invoker.data_deps)) {
868 data_deps = invoker.data_deps
869 }
867 if (_supports_android) { 870 if (_supports_android) {
868 deps += [ ":$dex_target_name" ] 871 deps += [ ":$dex_target_name" ]
869 } 872 }
870 } 873 }
871 } 874 }
872 875
873 # Compiles and jars a set of java files. 876 # Compiles and jars a set of java files.
874 # 877 #
875 # Outputs: 878 # Outputs:
876 # $jar_path.jar 879 # $jar_path.jar
(...skipping 655 matching lines...) Expand 10 before | Expand all | Expand 10 after
1532 ] 1535 ]
1533 args = [ 1536 args = [
1534 "--depfile", 1537 "--depfile",
1535 rebase_path(depfile, root_build_dir), 1538 rebase_path(depfile, root_build_dir),
1536 "--script-output-path", 1539 "--script-output-path",
1537 rebase_path(generated_script, root_build_dir), 1540 rebase_path(generated_script, root_build_dir),
1538 ] 1541 ]
1539 args += test_runner_args 1542 args += test_runner_args
1540 } 1543 }
1541 } 1544 }
OLDNEW
« no previous file with comments | « no previous file | build/config/android/rules.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698