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 # Create or update the API versions cache if necessary by running a | 10 # Create or update the API versions cache if necessary by running a |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 _rebased_output_so = rebase_path(_output_so, root_out_dir) | 77 _rebased_output_so = rebase_path(_output_so, root_out_dir) |
78 args = [ | 78 args = [ |
79 _rebased_strip_bin, | 79 _rebased_strip_bin, |
80 "--strip-unneeded", | 80 "--strip-unneeded", |
81 "-o", | 81 "-o", |
82 _rebased_output_so, | 82 _rebased_output_so, |
83 _rebased_input_so, | 83 _rebased_input_so, |
84 ] | 84 ] |
85 } | 85 } |
86 | 86 |
| 87 group("devil_py") { |
| 88 data = [ |
| 89 "devil_chromium.json", |
| 90 "devil_chromium.py", |
| 91 "//third_party/android_tools/sdk/build-tools/23.0.1/aapt", |
| 92 "//third_party/android_tools/sdk/build-tools/23.0.1/dexdump", |
| 93 "//third_party/android_tools/sdk/build-tools/23.0.1/lib/libc++.so", |
| 94 "//third_party/android_tools/sdk/build-tools/23.0.1/split-select", |
| 95 "//third_party/android_tools/sdk/platform-tools/adb", |
| 96 "//third_party/catapult/catapult_base/catapult_base/", |
| 97 "//third_party/catapult/dependency_manager/dependency_manager/", |
| 98 "//third_party/catapult/third_party/gsutil/", |
| 99 "//third_party/catapult/devil/devil/", |
| 100 ] |
| 101 } |
| 102 |
87 group("test_runner_py") { | 103 group("test_runner_py") { |
88 _py_files = read_file("test_runner.pydeps", "list lines") | 104 data = [ |
89 | 105 "test_runner.py", |
90 # Filter out comments. | 106 "pylib/", |
91 set_sources_assignment_filter([ "#*" ]) | 107 "//build/util/lib/common/", |
92 sources = _py_files | 108 ] |
93 | |
94 data = sources + [ | |
95 "devil_chromium.json", | |
96 "//third_party/android_tools/sdk/build-tools/23.0.1/aapt", | |
97 "//third_party/android_tools/sdk/build-tools/23.0.1/dexdump", | |
98 "//third_party/android_tools/sdk/build-tools/23.0.1/lib/libc++.so", | |
99 "//third_party/android_tools/sdk/build-tools/23.0.1/split-select", | |
100 "//third_party/android_tools/sdk/platform-tools/adb", | |
101 "//third_party/catapult/third_party/gsutil/", | |
102 "//third_party/catapult/devil/devil/devil_dependencies.json", | |
103 ] | |
104 data_deps = [ | 109 data_deps = [ |
105 "//tools/swarming_client:isolate_py", | 110 ":devil_py", |
106 ] | 111 ] |
107 } | 112 } |
108 | 113 |
109 # Create wrapper scripts in out/bin that takes care of setting the | 114 # Create wrapper scripts in out/bin that takes care of setting the |
110 # --output-directory. | 115 # --output-directory. |
111 _scripts_to_wrap = [ | 116 _scripts_to_wrap = [ |
112 # TODO(agrieve): Once GYP is no more, delete the checked-in adb_gdb_* scripts | 117 # TODO(agrieve): Once GYP is no more, delete the checked-in adb_gdb_* scripts |
113 # and generated a script for each android_apk() that has a native library. | 118 # and generated a script for each android_apk() that has a native library. |
114 "adb_gdb_android_webview_shell", | 119 "adb_gdb_android_webview_shell", |
115 "adb_gdb_blimp_client", | 120 "adb_gdb_blimp_client", |
(...skipping 10 matching lines...) Expand all Loading... |
126 _target_name = get_path_info(script, "name") + "_wrapper" | 131 _target_name = get_path_info(script, "name") + "_wrapper" |
127 _wrapper_targets += [ ":$_target_name" ] | 132 _wrapper_targets += [ ":$_target_name" ] |
128 wrapper_script(_target_name) { | 133 wrapper_script(_target_name) { |
129 target = script | 134 target = script |
130 } | 135 } |
131 } | 136 } |
132 | 137 |
133 group("wrapper_scripts") { | 138 group("wrapper_scripts") { |
134 deps = _wrapper_targets | 139 deps = _wrapper_targets |
135 } | 140 } |
OLD | NEW |