| OLD | NEW |
| 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 384 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 395 ] | 395 ] |
| 396 script = "//build/android/gyp/jinja_template.py" | 396 script = "//build/android/gyp/jinja_template.py" |
| 397 depfile = "$target_gen_dir/$target_name.d" | 397 depfile = "$target_gen_dir/$target_name.d" |
| 398 | 398 |
| 399 outputs = [ | 399 outputs = [ |
| 400 depfile, | 400 depfile, |
| 401 invoker.output, | 401 invoker.output, |
| 402 ] | 402 ] |
| 403 | 403 |
| 404 args = [ | 404 args = [ |
| 405 "--loader-base-dir", |
| 406 rebase_path("//", root_build_dir), |
| 405 "--inputs", | 407 "--inputs", |
| 406 rebase_path(invoker.input, root_build_dir), | 408 rebase_path(invoker.input, root_build_dir), |
| 407 "--output", | 409 "--output", |
| 408 rebase_path(invoker.output, root_build_dir), | 410 rebase_path(invoker.output, root_build_dir), |
| 409 "--depfile", | 411 "--depfile", |
| 410 rebase_path(depfile, root_build_dir), | 412 rebase_path(depfile, root_build_dir), |
| 411 ] | 413 ] |
| 412 if (defined(invoker.variables)) { | 414 if (defined(invoker.variables)) { |
| 413 variables = invoker.variables | 415 variables = invoker.variables |
| 414 args += [ "--variables=${variables}" ] | 416 args += [ "--variables=${variables}" ] |
| (...skipping 2052 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2467 "--target", | 2469 "--target", |
| 2468 rebase_path(invoker.target, root_build_dir), | 2470 rebase_path(invoker.target, root_build_dir), |
| 2469 "--output-directory", | 2471 "--output-directory", |
| 2470 rebase_path(root_out_dir, root_build_dir), | 2472 rebase_path(root_out_dir, root_build_dir), |
| 2471 ] | 2473 ] |
| 2472 if (defined(invoker.flag_name)) { | 2474 if (defined(invoker.flag_name)) { |
| 2473 args += [ "--flag-name=${invoker.flag_name}" ] | 2475 args += [ "--flag-name=${invoker.flag_name}" ] |
| 2474 } | 2476 } |
| 2475 } | 2477 } |
| 2476 } | 2478 } |
| OLD | NEW |