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

Side by Side Diff: testing/test.gni

Issue 1581563003: [Android] Rework multidex and enable multidex for unit_tests_apk. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix junit tests Created 4 years, 11 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
« no previous file with comments | « testing/android/native_test/java/src/org/chromium/native_test/NativeTestActivity.java ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 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 # ============================================================================== 5 # ==============================================================================
6 # TEST SETUP 6 # TEST SETUP
7 # ============================================================================== 7 # ==============================================================================
8 8
9 # Define a test as an executable (or apk on Android) with the "testonly" flag 9 # Define a test as an executable (or apk on Android) with the "testonly" flag
10 # set. 10 # set.
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 invoker.use_default_launcher) { 59 invoker.use_default_launcher) {
60 deps += [ "//testing/android/native_test:native_test_native_code" ] 60 deps += [ "//testing/android/native_test:native_test_native_code" ]
61 } 61 }
62 } 62 }
63 63
64 unittest_apk(apk_name) { 64 unittest_apk(apk_name) {
65 forward_variables_from(invoker, 65 forward_variables_from(invoker,
66 [ 66 [
67 "android_manifest", 67 "android_manifest",
68 "deps", 68 "deps",
69 "enable_multidex",
69 "use_default_launcher", 70 "use_default_launcher",
70 "write_asset_list", 71 "write_asset_list",
71 ]) 72 ])
72 unittests_dep = ":$library_name" 73 unittests_dep = ":$library_name"
73 apk_name = main_target_name 74 apk_name = main_target_name
74 if (defined(invoker.output_name)) { 75 if (defined(invoker.output_name)) {
75 apk_name = invoker.output_name 76 apk_name = invoker.output_name
76 unittests_binary = "lib${apk_name}.so" 77 unittests_binary = "lib${apk_name}.so"
77 } 78 }
78 deps += [ ":$library_name" ] 79 deps += [ ":$library_name" ]
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
188 # All shared libraries must have the sanitizer deps to properly link in 189 # All shared libraries must have the sanitizer deps to properly link in
189 # asan mode (this target will be empty in other cases). 190 # asan mode (this target will be empty in other cases).
190 "//build/config/sanitizers:deps", 191 "//build/config/sanitizers:deps",
191 192
192 # Give tests the default manifest on Windows (a no-op elsewhere). 193 # Give tests the default manifest on Windows (a no-op elsewhere).
193 "//build/win:default_exe_manifest", 194 "//build/win:default_exe_manifest",
194 ] 195 ]
195 } 196 }
196 } 197 }
197 } 198 }
OLDNEW
« no previous file with comments | « testing/android/native_test/java/src/org/chromium/native_test/NativeTestActivity.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698