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("//build/config/android/rules.gni") | 5 import("//build/config/android/rules.gni") |
6 import("//third_party/ijar/ijar.gni") | 6 import("//third_party/ijar/ijar.gni") |
7 | 7 |
8 sun_tools_jar_path = "$root_gen_dir/sun_tools_jar/tools.jar" | 8 sun_tools_jar_path = "$root_gen_dir/sun_tools_jar/tools.jar" |
9 | 9 |
10 action("find_sun_tools_jar") { | 10 action("find_sun_tools_jar") { |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
69 _rebased_output_so = rebase_path(_output_so, root_out_dir) | 69 _rebased_output_so = rebase_path(_output_so, root_out_dir) |
70 args = [ | 70 args = [ |
71 _rebased_strip_bin, | 71 _rebased_strip_bin, |
72 "--strip-unneeded", | 72 "--strip-unneeded", |
73 "-o", | 73 "-o", |
74 _rebased_output_so, | 74 _rebased_output_so, |
75 _rebased_input_so, | 75 _rebased_input_so, |
76 ] | 76 ] |
77 } | 77 } |
78 | 78 |
79 group("devil_py") { | |
80 data = [ | |
81 "devil_chromium.json", | |
82 "devil_chromium.py", | |
83 "//third_party/catapult/catapult_base/", | |
84 "//third_party/catapult/dependency_manager/", | |
85 "//third_party/catapult/devil/", | |
86 ] | |
87 } | |
88 | |
89 group("test_runner_py") { | 79 group("test_runner_py") { |
90 data = [ | 80 # Generated via: cd build/android && ../print-python-deps.py test_runner.py |
91 "test_runner.py", | 81 _py_files = read_file("test_runner.pydeps", "list lines") |
92 "pylib/", | 82 data = _py_files + [ |
93 "//build/util/lib/common/", | 83 "devil_chromium.json", |
94 ] | 84 "//build/android/devil/devil_dependencies.json", |
jbudorick
2016/03/11 19:10:06
You need to rebase, this collides with https://cod
agrieve
2016/03/15 02:04:02
Done.
| |
85 "//third_party/android_tools/sdk/build-tools/23.0.1/aapt", | |
86 "//third_party/android_tools/sdk/build-tools/23.0.1/dexdump", | |
87 "//third_party/android_tools/sdk/build-tools/23.0.1/lib/libc++.so", | |
88 "//third_party/android_tools/sdk/build-tools/23.0.1/split-select", | |
89 "//third_party/android_tools/sdk/platform-tools/adb", | |
90 "//third_party/catapult/third_party/gsutil/", | |
91 "//third_party/catapult/devil/devil/devil_dependencies.json", | |
92 ] | |
95 data_deps = [ | 93 data_deps = [ |
96 ":devil_py", | 94 "//tools/swarming_client:isolate_py", |
97 ] | 95 ] |
98 } | 96 } |
99 | 97 |
100 # Create wrapper scripts in out/bin that takes care of setting the | 98 # Create wrapper scripts in out/bin that takes care of setting the |
101 # --output-directory. | 99 # --output-directory. |
102 _scripts_to_wrap = [ | 100 _scripts_to_wrap = [ |
103 # TODO(agrieve): Once GYP is no more, delete the checked-in adb_gdb_* scripts | 101 # TODO(agrieve): Once GYP is no more, delete the checked-in adb_gdb_* scripts |
104 # and generated a script for each android_apk() that has a native library. | 102 # and generated a script for each android_apk() that has a native library. |
105 "adb_gdb_android_webview_shell", | 103 "adb_gdb_android_webview_shell", |
106 "adb_gdb_blimp_client", | 104 "adb_gdb_blimp_client", |
(...skipping 10 matching lines...) Expand all Loading... | |
117 _target_name = get_path_info(script, "name") + "_wrapper" | 115 _target_name = get_path_info(script, "name") + "_wrapper" |
118 _wrapper_targets += [ ":$_target_name" ] | 116 _wrapper_targets += [ ":$_target_name" ] |
119 wrapper_script(_target_name) { | 117 wrapper_script(_target_name) { |
120 target = script | 118 target = script |
121 } | 119 } |
122 } | 120 } |
123 | 121 |
124 group("wrapper_scripts") { | 122 group("wrapper_scripts") { |
125 deps = _wrapper_targets | 123 deps = _wrapper_targets |
126 } | 124 } |
OLD | NEW |