Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(233)

Side by Side Diff: build/android/BUILD.gn

Issue 1784373002: Include isolate.py in data for Android unit tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add missing pydoc Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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/android_tools/sdk/build-tools/23.0.1/aapt",
84 "//third_party/android_tools/sdk/build-tools/23.0.1/dexdump",
85 "//third_party/android_tools/sdk/build-tools/23.0.1/lib/libc++.so",
86 "//third_party/android_tools/sdk/build-tools/23.0.1/split-select",
87 "//third_party/android_tools/sdk/platform-tools/adb",
88 "//third_party/catapult/catapult_base/catapult_base/",
89 "//third_party/catapult/dependency_manager/dependency_manager/",
90 "//third_party/catapult/third_party/gsutil/",
91 "//third_party/catapult/devil/devil/",
92 ]
93 }
94
95 group("test_runner_py") { 79 group("test_runner_py") {
96 data = [ 80 _py_files = read_file("test_runner.pydeps", "list lines")
97 "test_runner.py", 81
98 "pylib/", 82 # Filter out comments.
99 "//build/util/lib/common/", 83 set_sources_assignment_filter([ "#*" ])
100 ] 84 sources = _py_files
85
86 data = sources + [
87 "devil_chromium.json",
88 "//third_party/android_tools/sdk/build-tools/23.0.1/aapt",
89 "//third_party/android_tools/sdk/build-tools/23.0.1/dexdump",
90 "//third_party/android_tools/sdk/build-tools/23.0.1/lib/libc++.so",
91 "//third_party/android_tools/sdk/build-tools/23.0.1/split-select",
92 "//third_party/android_tools/sdk/platform-tools/adb",
93 "//third_party/catapult/third_party/gsutil/",
94 "//third_party/catapult/devil/devil/devil_dependencies.json",
95 ]
101 data_deps = [ 96 data_deps = [
102 ":devil_py", 97 "//tools/swarming_client:isolate_py",
103 ] 98 ]
104 } 99 }
105 100
106 # Create wrapper scripts in out/bin that takes care of setting the 101 # Create wrapper scripts in out/bin that takes care of setting the
107 # --output-directory. 102 # --output-directory.
108 _scripts_to_wrap = [ 103 _scripts_to_wrap = [
109 # TODO(agrieve): Once GYP is no more, delete the checked-in adb_gdb_* scripts 104 # TODO(agrieve): Once GYP is no more, delete the checked-in adb_gdb_* scripts
110 # and generated a script for each android_apk() that has a native library. 105 # and generated a script for each android_apk() that has a native library.
111 "adb_gdb_android_webview_shell", 106 "adb_gdb_android_webview_shell",
112 "adb_gdb_blimp_client", 107 "adb_gdb_blimp_client",
(...skipping 10 matching lines...) Expand all
123 _target_name = get_path_info(script, "name") + "_wrapper" 118 _target_name = get_path_info(script, "name") + "_wrapper"
124 _wrapper_targets += [ ":$_target_name" ] 119 _wrapper_targets += [ ":$_target_name" ]
125 wrapper_script(_target_name) { 120 wrapper_script(_target_name) {
126 target = script 121 target = script
127 } 122 }
128 } 123 }
129 124
130 group("wrapper_scripts") { 125 group("wrapper_scripts") {
131 deps = _wrapper_targets 126 deps = _wrapper_targets
132 } 127 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698