mirror of
https://github.com/chromium/crashpad.git
synced 2025-03-09 22:26:06 +00:00
ios: Move ios_xcuitest_test to ios_test_runner_xcuitest
This template will allow these tests to run on the Chromium bots. Change-Id: I3d9ee46379eed104fb847a9a8c1d72462cd67af8 Reviewed-on: https://chromium-review.googlesource.com/c/crashpad/crashpad/+/3245731 Reviewed-by: Rohit Rao <rohitrao@chromium.org> Reviewed-by: Mark Mentovai <mark@chromium.org> Commit-Queue: Justin Cohen <justincohen@chromium.org>
This commit is contained in:
parent
aaed581a53
commit
9747e05e7a
@ -15,6 +15,7 @@
|
|||||||
import("../../build/crashpad_buildconfig.gni")
|
import("../../build/crashpad_buildconfig.gni")
|
||||||
|
|
||||||
if (crashpad_is_in_chromium) {
|
if (crashpad_is_in_chromium) {
|
||||||
|
import("//build/config/ios/ios_test_runner_xcuitest.gni")
|
||||||
import("//build/config/ios/rules.gni")
|
import("//build/config/ios/rules.gni")
|
||||||
} else if (crashpad_is_standalone) {
|
} else if (crashpad_is_standalone) {
|
||||||
import("//third_party/mini_chromium/mini_chromium/build/ios/rules.gni")
|
import("//third_party/mini_chromium/mini_chromium/build/ios/rules.gni")
|
||||||
@ -38,10 +39,10 @@ source_set("google_test_runner") {
|
|||||||
sources = [ "cptest_google_test_runner.mm" ]
|
sources = [ "cptest_google_test_runner.mm" ]
|
||||||
configs += [ "../..:crashpad_config" ]
|
configs += [ "../..:crashpad_config" ]
|
||||||
deps = [
|
deps = [
|
||||||
|
"../$mini_chromium_source_parent:base",
|
||||||
"../../build:ios_enable_arc",
|
"../../build:ios_enable_arc",
|
||||||
"../../build:ios_xctest",
|
"../../build:ios_xctest",
|
||||||
"../../test/ios:google_test_runner_shared_headers",
|
"../../test/ios:google_test_runner_shared_headers",
|
||||||
"../$mini_chromium_source_parent:base",
|
|
||||||
]
|
]
|
||||||
frameworks = [ "UIKit.framework" ]
|
frameworks = [ "UIKit.framework" ]
|
||||||
}
|
}
|
||||||
@ -55,9 +56,9 @@ source_set("google_test_setup") {
|
|||||||
configs += [ "../..:crashpad_config" ]
|
configs += [ "../..:crashpad_config" ]
|
||||||
deps = [
|
deps = [
|
||||||
":google_test_runner_shared_headers",
|
":google_test_runner_shared_headers",
|
||||||
|
"../$mini_chromium_source_parent:base",
|
||||||
"../../build:ios_enable_arc",
|
"../../build:ios_enable_arc",
|
||||||
"../../third_party/googletest:googletest",
|
"../../third_party/googletest:googletest",
|
||||||
"../$mini_chromium_source_parent:base",
|
|
||||||
]
|
]
|
||||||
frameworks = [ "UIKit.framework" ]
|
frameworks = [ "UIKit.framework" ]
|
||||||
}
|
}
|
||||||
@ -74,7 +75,8 @@ source_set("xcuitests") {
|
|||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
ios_xcuitest_test("ios_crash_xcuitests_module") {
|
ios_test_runner_xcuitest("ios_crash_xcuitests_module") {
|
||||||
xcode_test_application_name = "ios_crash_xcuitests"
|
xcode_test_application_name = "ios_crash_xcuitests"
|
||||||
deps = [ ":xcuitests" ]
|
deps = [ ":xcuitests" ]
|
||||||
|
data_deps = [ "host:ios_crash_xcuitests" ]
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user