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

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

Issue 1846113002: 🍱 Pass build scripts .interface.jar directly rather than --use-ijars (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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
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("//base/android/linker/config.gni") 5 import("//base/android/linker/config.gni")
6 import("//build/config/android/config.gni") 6 import("//build/config/android/config.gni")
7 import("//build/config/android/internal_rules.gni") 7 import("//build/config/android/internal_rules.gni")
8 import("//build/config/sanitizers/sanitizers.gni") 8 import("//build/config/sanitizers/sanitizers.gni")
9 import("//build/toolchain/toolchain.gni") 9 import("//build/toolchain/toolchain.gni")
10 import("//third_party/android_platform/config.gni") 10 import("//third_party/android_platform/config.gni")
(...skipping 1581 matching lines...) Expand 10 before | Expand all | Expand 10 after
1592 ] 1592 ]
1593 outputs = [ 1593 outputs = [
1594 depfile, 1594 depfile,
1595 "${_dist_ijar_path}", 1595 "${_dist_ijar_path}",
1596 ] 1596 ]
1597 args = [ 1597 args = [
1598 "--depfile", 1598 "--depfile",
1599 rebase_path(depfile, root_build_dir), 1599 rebase_path(depfile, root_build_dir),
1600 "--output", 1600 "--output",
1601 rebase_path("${_dist_ijar_path}", root_build_dir), 1601 rebase_path("${_dist_ijar_path}", root_build_dir),
1602 "--use-ijars", 1602 "--inputs=@FileArg($_rebased_build_config:dist_jar:all_interface_jars)",
1603 "--inputs=@FileArg($_rebased_build_config:dist_jar:dependency_jars)",
1604 ] 1603 ]
1605 inputs += [ _jar_path ]
1606 _rebased_jar_path = rebase_path([ _jar_path ], root_build_dir)
1607 args += [ "--inputs=$_rebased_jar_path" ]
1608 deps = [ 1604 deps = [
1609 ":$build_config_target", # Generates the build config file. 1605 ":$build_config_target", # Generates the build config file.
1610 ":$java_target", # Generates the jar file. 1606 ":$java_target", # Generates the jar file.
1611 ] 1607 ]
1612 } 1608 }
1613 } 1609 }
1614 1610
1615 if (_proguard_enabled) { 1611 if (_proguard_enabled) {
1616 _proguard_configs = [ _generated_proguard_config ] 1612 _proguard_configs = [ _generated_proguard_config ]
1617 if (defined(invoker.proguard_configs)) { 1613 if (defined(invoker.proguard_configs)) {
(...skipping 799 matching lines...) Expand 10 before | Expand all | Expand 10 after
2417 "--target", 2413 "--target",
2418 rebase_path(invoker.target, root_build_dir), 2414 rebase_path(invoker.target, root_build_dir),
2419 "--output-directory", 2415 "--output-directory",
2420 rebase_path(root_out_dir, root_build_dir), 2416 rebase_path(root_out_dir, root_build_dir),
2421 ] 2417 ]
2422 if (defined(invoker.flag_name)) { 2418 if (defined(invoker.flag_name)) {
2423 args += [ "--flag-name=${invoker.flag_name}" ] 2419 args += [ "--flag-name=${invoker.flag_name}" ]
2424 } 2420 }
2425 } 2421 }
2426 } 2422 }
OLDNEW
« build/android/gyp/javac.py ('K') | « build/config/android/internal_rules.gni ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698