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

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

Issue 2037113002: 💡 Fix jmake root_build_dir vs root_out_dir (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 | no next file » | 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 import("//build/config/sanitizers/sanitizers.gni") 6 import("//build/config/sanitizers/sanitizers.gni")
7 import("//build/config/zip.gni") 7 import("//build/config/zip.gni")
8 import("//third_party/ijar/ijar.gni") 8 import("//third_party/ijar/ijar.gni")
9 9
10 assert(is_android) 10 assert(is_android)
(...skipping 1562 matching lines...) Expand 10 before | Expand all | Expand 10 after
1573 _rebased_depfile = rebase_path(depfile, root_build_dir) 1573 _rebased_depfile = rebase_path(depfile, root_build_dir)
1574 args = [ 1574 args = [
1575 "--depfile=$_rebased_depfile", 1575 "--depfile=$_rebased_depfile",
1576 "--classpath=@FileArg($_rebased_build_config:javac:interface_classpath)", 1576 "--classpath=@FileArg($_rebased_build_config:javac:interface_classpath)",
1577 "--jar-path=$_rebased_jar_path", 1577 "--jar-path=$_rebased_jar_path",
1578 "--java-srcjars=$_rebased_java_srcjars", 1578 "--java-srcjars=$_rebased_java_srcjars",
1579 "--java-srcjars=@FileArg($_rebased_build_config:javac:srcjars)", 1579 "--java-srcjars=@FileArg($_rebased_build_config:javac:srcjars)",
1580 ] 1580 ]
1581 if (_enable_incremental_javac) { 1581 if (_enable_incremental_javac) {
1582 args += [ "--incremental" ] 1582 args += [ "--incremental" ]
1583 deps += [ "//third_party/jmake" ] 1583 deps += [ "//third_party/jmake($default_toolchain)" ]
Dirk Pranke 2016/06/03 18:19:34 Are you sure this shouldn't be ($host_toolchain) ?
agrieve 2016/06/03 18:49:58 Toolchains & targets are a funny thing. Arguably w
1584 inputs += [ "$root_out_dir/bin/jmake" ] 1584 inputs += [ "$root_build_dir/bin/jmake" ]
1585 outputs += [ "${_javac_jar_path}.pdb" ] 1585 outputs += [ "${_javac_jar_path}.pdb" ]
1586 } 1586 }
1587 if (_supports_android) { 1587 if (_supports_android) {
1588 if (defined(invoker.alternative_android_sdk_ijar)) { 1588 if (defined(invoker.alternative_android_sdk_ijar)) {
1589 deps += [ invoker.alternative_android_sdk_ijar_dep ] 1589 deps += [ invoker.alternative_android_sdk_ijar_dep ]
1590 _android_sdk_ijar = invoker.alternative_android_sdk_ijar 1590 _android_sdk_ijar = invoker.alternative_android_sdk_ijar
1591 } else { 1591 } else {
1592 deps += [ "//build/android:android_ijar" ] 1592 deps += [ "//build/android:android_ijar" ]
1593 _android_sdk_ijar = "$root_out_dir/lib.java/android.interface.jar" 1593 _android_sdk_ijar = "$root_out_dir/lib.java/android.interface.jar"
1594 } 1594 }
(...skipping 728 matching lines...) Expand 10 before | Expand all | Expand 10 after
2323 2323
2324 args = [ 2324 args = [
2325 "--depfile", 2325 "--depfile",
2326 rebase_path(depfile, root_build_dir), 2326 rebase_path(depfile, root_build_dir),
2327 "--script-output-path", 2327 "--script-output-path",
2328 rebase_path(generated_script, root_build_dir), 2328 rebase_path(generated_script, root_build_dir),
2329 ] 2329 ]
2330 args += test_runner_args 2330 args += test_runner_args
2331 } 2331 }
2332 } 2332 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698