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

Unified Diff: ios/third_party/earl_grey/BUILD.gn

Issue 2173493002: Convert ios_web_shell_test to GN. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@eg-tests-deps
Patch Set: Created 4 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: ios/third_party/earl_grey/BUILD.gn
diff --git a/ios/third_party/earl_grey/BUILD.gn b/ios/third_party/earl_grey/BUILD.gn
index c6ab791658f73f129a04d96cd5da01d4afc4ad59..6e95a666f6fdd80f6adc30ba56577b07cc152359 100644
--- a/ios/third_party/earl_grey/BUILD.gn
+++ b/ios/third_party/earl_grey/BUILD.gn
@@ -263,3 +263,16 @@ ios_framework_bundle("earl_grey") {
configs -= [ "//build/config/gcc:symbol_visibility_hidden" ]
configs += [ "//build/config/gcc:symbol_visibility_default" ]
}
+
+bundle_data("xctest_bundle") {
+ testonly = true
+
+ _ios_platform_library = "$ios_sdk_platform_path/Developer/Library"
+ sources = [
+ "$_ios_platform_library/Frameworks/XCTest.framework",
justincohen 2016/07/21 18:42:05 Should this be a part of gn instead of earl grey?
sdefresne 2016/07/22 13:32:08 Good idea, I've split the ios_eg_tests in two xcte
+ "$_ios_platform_library/PrivateFrameworks/IDEBundleInjection.framework",
+ ]
+ outputs = [
+ "{{bundle_resources_dir}}/Frameworks/{{source_file_part}}",
+ ]
+}

Powered by Google App Engine
This is Rietveld 408576698