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

Side by Side Diff: testing/test.gni

Issue 1141793003: Update from https://crrev.com/329939 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 7 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/gtest_ios/unittest-Info.plist ('k') | third_party/tcmalloc/vendor/packages/deb.sh » ('j') | 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 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 } 110 }
111 if (defined(invoker.visibility)) { 111 if (defined(invoker.visibility)) {
112 visibility = invoker.visibility 112 visibility = invoker.visibility
113 } 113 }
114 } 114 }
115 115
116 unittest_apk(apk_name) { 116 unittest_apk(apk_name) {
117 unittests_dep = ":$library_name" 117 unittests_dep = ":$library_name"
118 apk_name = main_target_name 118 apk_name = main_target_name
119 if (defined(invoker.output_name)) { 119 if (defined(invoker.output_name)) {
120 test_output_name = invoker.output_name 120 apk_name = invoker.output_name
121 unittests_binary = "lib${test_output_name}.so" 121 unittests_binary = "lib${apk_name}.so"
122 } 122 }
123 deps = [ 123 deps = [
124 ":$library_name", 124 ":$library_name",
125 ] 125 ]
126 if (defined(invoker.apk_deps)) { 126 if (defined(invoker.apk_deps)) {
127 deps += invoker.apk_deps 127 deps += invoker.apk_deps
128 } 128 }
129 if (defined(invoker.apk_asset_location)) { 129 if (defined(invoker.apk_asset_location)) {
130 asset_location = invoker.apk_asset_location 130 asset_location = invoker.apk_asset_location
131 } 131 }
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
231 } 231 }
232 if (defined(invoker.sources)) { 232 if (defined(invoker.sources)) {
233 sources = invoker.sources 233 sources = invoker.sources
234 } 234 }
235 if (defined(invoker.visibility)) { 235 if (defined(invoker.visibility)) {
236 visibility = invoker.visibility 236 visibility = invoker.visibility
237 } 237 }
238 } 238 }
239 } 239 }
240 } 240 }
OLDNEW
« no previous file with comments | « testing/gtest_ios/unittest-Info.plist ('k') | third_party/tcmalloc/vendor/packages/deb.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698