| 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 # Do not add any imports to non-//build directories here. | 5 # Do not add any imports to non-//build directories here. |
| 6 # Some projects (e.g. V8) do not have non-build directories DEPS'ed in. | 6 # Some projects (e.g. V8) do not have non-build directories DEPS'ed in. |
| 7 import("//build_overrides/build.gni") | 7 import("//build_overrides/build.gni") |
| 8 import("//build/config/android/config.gni") | 8 import("//build/config/android/config.gni") |
| 9 import("//build/config/dcheck_always_on.gni") | 9 import("//build/config/dcheck_always_on.gni") |
| 10 import("//build/config/sanitizers/sanitizers.gni") | 10 import("//build/config/sanitizers/sanitizers.gni") |
| (...skipping 2040 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2051 jar_path = _jar_path | 2051 jar_path = _jar_path |
| 2052 script_name = _template_name | 2052 script_name = _template_name |
| 2053 if (defined(invoker.wrapper_script_name)) { | 2053 if (defined(invoker.wrapper_script_name)) { |
| 2054 script_name = invoker.wrapper_script_name | 2054 script_name = invoker.wrapper_script_name |
| 2055 } | 2055 } |
| 2056 deps += [ ":$_build_config_target_name" ] | 2056 deps += [ ":$_build_config_target_name" ] |
| 2057 } | 2057 } |
| 2058 } | 2058 } |
| 2059 | 2059 |
| 2060 group(target_name) { | 2060 group(target_name) { |
| 2061 forward_variables_from(invoker, [ "data_deps" ]) | 2061 forward_variables_from(invoker, |
| 2062 [ |
| 2063 "data", |
| 2064 "data_deps", |
| 2065 ]) |
| 2062 public_deps = [ | 2066 public_deps = [ |
| 2063 ":$_ijar_target_name", | 2067 ":$_ijar_target_name", |
| 2064 ":$_process_jar_target_name", | 2068 ":$_process_jar_target_name", |
| 2065 ] | 2069 ] |
| 2066 if (_supports_android) { | 2070 if (_supports_android) { |
| 2067 public_deps += [ ":$_dex_target_name" ] | 2071 public_deps += [ ":$_dex_target_name" ] |
| 2068 } | 2072 } |
| 2069 if (defined(invoker.main_class)) { | 2073 if (defined(invoker.main_class)) { |
| 2070 # Some targets use the generated script while building, so make it a dep | 2074 # Some targets use the generated script while building, so make it a dep |
| 2071 # rather than a data_dep. | 2075 # rather than a data_dep. |
| (...skipping 847 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2919 rebase_path(root_build_dir, root_build_dir), | 2923 rebase_path(root_build_dir, root_build_dir), |
| 2920 "--packed-libraries-dir", | 2924 "--packed-libraries-dir", |
| 2921 rebase_path(_packed_libraries_dir, root_build_dir), | 2925 rebase_path(_packed_libraries_dir, root_build_dir), |
| 2922 "--libraries=${invoker.libraries_filearg}", | 2926 "--libraries=${invoker.libraries_filearg}", |
| 2923 "--filelistjson", | 2927 "--filelistjson", |
| 2924 rebase_path(invoker.file_list_json, root_build_dir), | 2928 rebase_path(invoker.file_list_json, root_build_dir), |
| 2925 ] | 2929 ] |
| 2926 } | 2930 } |
| 2927 } | 2931 } |
| 2928 } | 2932 } |
| OLD | NEW |