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

Unified Diff: ios/web/ios_web_shell_tests.gyp

Issue 1828143007: Web shell integration test suite. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Wrong GENERATOR plus some of Sylvain comments, but not all Created 4 years, 9 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
« no previous file with comments | « ios/web/ios_web_shell_exported_symbols_list ('k') | ios/web/shell/test/web_shell_navigation_egtest.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web/ios_web_shell_tests.gyp
diff --git a/ios/web/ios_web_shell_tests.gyp b/ios/web/ios_web_shell_tests.gyp
new file mode 100644
index 0000000000000000000000000000000000000000..87cd0d82726602d52dc74ce44b07b49f9e51c350
--- /dev/null
+++ b/ios/web/ios_web_shell_tests.gyp
@@ -0,0 +1,63 @@
+# Copyright 2016 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+{
+ 'variables': {
+ 'chromium_code': 1,
+ },
+ 'conditions': [
+ # The iOS frameworks being built for ios_web_shell_test require certs which
+ # bot do not currently have installed. Ninja allows this, Xcode does not.
+ ['"<(GENERATOR)"=="ninja"', {
+ 'targets': [
+ {
+ 'variables': {
+ 'test_host': 'ios_web_shell.app/ios_web_shell',
+ },
+ 'target_name': 'ios_web_shell_test',
+ 'type': 'loadable_module',
+ 'mac_xctest_bundle': 1,
+ 'dependencies': [
+ '../third_party/earl_grey/earl_grey.gyp:EarlGrey',
+ 'ios_web_shell.gyp:ios_web_shell',
+ ],
+ 'sources': [
+ 'shell/test/web_shell_navigation_egtest.mm',
+ ],
+ 'xcode_settings': {
+ 'WRAPPER_EXTENSION': 'xctest',
+ 'TEST_HOST': '<(test_host)',
+ 'BUNDLE_LOADER': '$(TEST_HOST)',
+ 'conditions':[
+ ['"<(GENERATOR)"!="xcode" or "<(GENERATOR_FLAVOR)"=="ninja"', {
+ 'OTHER_LDFLAGS': [
+ '-bundle_loader <@(test_host)',
+ ],
+ }],
+ ],
+ },
+ 'link_settings': {
+ 'libraries': [
+ 'CoreGraphics.framework',
+ 'Foundation.framework',
+ 'QuartzCore.framework',
+ 'UIKit.framework',
+ 'XCTest.framework',
+ ],
+ },
+ },
+ ],
+ }, { # GENERATOR != ninja
+ 'targets': [
+ {
+ # The iOS frameworks being built for ios_web_shell_test require certs
+ # which bot do not currently have installed. Ninja allows this, Xcode
+ # does not.
+ 'target_name': 'ios_web_shell_test',
+ 'type': 'none',
+ },
+ ],
+ }],
+ ],
+}
« no previous file with comments | « ios/web/ios_web_shell_exported_symbols_list ('k') | ios/web/shell/test/web_shell_navigation_egtest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698