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 | |
103 group("test_runner_py") { | 87 group("test_runner_py") { |
104 data = [ | 88 _py_files = read_file("test_runner.pydeps", "list lines") |
105 "test_runner.py", | 89 |
106 "pylib/", | 90 # Filter out comments. |
107 "//build/util/lib/common/", | 91 set_sources_assignment_filter([ "#*" ]) |
108 ] | 92 sources = _py_files |
| 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 ] |
109 data_deps = [ | 104 data_deps = [ |
110 ":devil_py", | 105 "//tools/swarming_client:isolate_py", |
111 ] | 106 ] |
112 } | 107 } |
113 | 108 |
114 # Create wrapper scripts in out/bin that takes care of setting the | 109 # Create wrapper scripts in out/bin that takes care of setting the |
115 # --output-directory. | 110 # --output-directory. |
116 _scripts_to_wrap = [ | 111 _scripts_to_wrap = [ |
117 # TODO(agrieve): Once GYP is no more, delete the checked-in adb_gdb_* scripts | 112 # TODO(agrieve): Once GYP is no more, delete the checked-in adb_gdb_* scripts |
118 # and generated a script for each android_apk() that has a native library. | 113 # and generated a script for each android_apk() that has a native library. |
119 "adb_gdb_android_webview_shell", | 114 "adb_gdb_android_webview_shell", |
120 "adb_gdb_blimp_client", | 115 "adb_gdb_blimp_client", |
(...skipping 10 matching lines...) Expand all Loading... |
131 _target_name = get_path_info(script, "name") + "_wrapper" | 126 _target_name = get_path_info(script, "name") + "_wrapper" |
132 _wrapper_targets += [ ":$_target_name" ] | 127 _wrapper_targets += [ ":$_target_name" ] |
133 wrapper_script(_target_name) { | 128 wrapper_script(_target_name) { |
134 target = script | 129 target = script |
135 } | 130 } |
136 } | 131 } |
137 | 132 |
138 group("wrapper_scripts") { | 133 group("wrapper_scripts") { |
139 deps = _wrapper_targets | 134 deps = _wrapper_targets |
140 } | 135 } |
OLD | NEW |