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/sanitizers/sanitizers.gni") | 9 import("//build/config/sanitizers/sanitizers.gni") |
10 | 10 |
(...skipping 907 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
918 "inputs", | 918 "inputs", |
919 "sources", | 919 "sources", |
920 "testonly", | 920 "testonly", |
921 ]) | 921 ]) |
922 | 922 |
923 script = "//build/android/gyp/main_dex_list.py" | 923 script = "//build/android/gyp/main_dex_list.py" |
924 depfile = "$target_gen_dir/$target_name.d" | 924 depfile = "$target_gen_dir/$target_name.d" |
925 | 925 |
926 main_dex_rules = "//build/android/main_dex_classes.flags" | 926 main_dex_rules = "//build/android/main_dex_classes.flags" |
927 | 927 |
| 928 if (!defined(inputs)) { |
| 929 inputs = [] |
| 930 } |
| 931 inputs += [ main_dex_rules ] |
| 932 |
928 outputs = [ | 933 outputs = [ |
929 _main_dex_list_path, | 934 _main_dex_list_path, |
930 ] | 935 ] |
931 | 936 |
932 args = [ | 937 args = [ |
933 "--depfile", | 938 "--depfile", |
934 rebase_path(depfile, root_build_dir), | 939 rebase_path(depfile, root_build_dir), |
935 "--android-sdk-tools", | 940 "--android-sdk-tools", |
936 rebased_android_sdk_build_tools, | 941 rebased_android_sdk_build_tools, |
937 "--main-dex-list-path", | 942 "--main-dex-list-path", |
(...skipping 1765 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2703 rebase_path(root_build_dir, root_build_dir), | 2708 rebase_path(root_build_dir, root_build_dir), |
2704 "--packed-libraries-dir", | 2709 "--packed-libraries-dir", |
2705 rebase_path(_packed_libraries_dir, root_build_dir), | 2710 rebase_path(_packed_libraries_dir, root_build_dir), |
2706 "--libraries=${invoker.libraries_filearg}", | 2711 "--libraries=${invoker.libraries_filearg}", |
2707 "--filelistjson", | 2712 "--filelistjson", |
2708 rebase_path(invoker.file_list_json, root_build_dir), | 2713 rebase_path(invoker.file_list_json, root_build_dir), |
2709 ] | 2714 ] |
2710 } | 2715 } |
2711 } | 2716 } |
2712 } | 2717 } |
OLD | NEW |