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

Side by Side Diff: testing/test.gni

Issue 1871413002: [iOS/OSX] Refactor mac_framework so that it can be shared with iOS. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments Created 4 years, 8 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 | « ios/web/shell/BUILD.gn ('k') | ui/base/BUILD.gn » ('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 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 ":${_test_target}_generate_executable", 171 ":${_test_target}_generate_executable",
172 ] 172 ]
173 sources = [ 173 sources = [
174 "//testing/gtest_ios/Default.png", 174 "//testing/gtest_ios/Default.png",
175 ] 175 ]
176 outputs = [ 176 outputs = [
177 "{{bundle_resources_dir}}/{{source_file_part}}", 177 "{{bundle_resources_dir}}/{{source_file_part}}",
178 ] 178 ]
179 } 179 }
180 180
181 app(_test_target) { 181 ios_app_bundle(_test_target) {
182 # TODO(GYP): Make this configurable and only provide a default 182 # TODO(GYP): Make this configurable and only provide a default
183 # that can be overridden. 183 # that can be overridden.
184 info_plist = "//testing/gtest_ios/unittest-Info.plist" 184 info_plist = "//testing/gtest_ios/unittest-Info.plist"
185 app_name = target_name 185 app_name = target_name
186 entitlements_path = "//testing/gtest_ios" 186 entitlements_path = "//testing/gtest_ios"
187 code_signing_identity = "" 187 code_signing_identity = ""
188 testonly = true 188 testonly = true
189 extra_substitutions = [ "BUNDLE_ID_TEST_NAME=$app_name" ] 189 extra_substitutions = [ "BUNDLE_ID_TEST_NAME=$app_name" ]
190 190
191 # See above call. 191 # See above call.
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
223 # TODO(GYP): Delete this after we've converted everything to GN. 223 # TODO(GYP): Delete this after we've converted everything to GN.
224 # The _run targets exist only for compatibility with GYP. 224 # The _run targets exist only for compatibility with GYP.
225 group("${target_name}_run") { 225 group("${target_name}_run") {
226 testonly = true 226 testonly = true
227 deps = [ 227 deps = [
228 ":${invoker.target_name}", 228 ":${invoker.target_name}",
229 ] 229 ]
230 } 230 }
231 } 231 }
232 } 232 }
OLDNEW
« no previous file with comments | « ios/web/shell/BUILD.gn ('k') | ui/base/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698