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

Unified Diff: chromecast/chromecast.gyp

Issue 518773003: Chromecast: end-to-end browser test based on content::BrowserTest. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@cast-browser-process
Patch Set: build fix :( Created 6 years, 4 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: chromecast/chromecast.gyp
diff --git a/chromecast/chromecast.gyp b/chromecast/chromecast.gyp
index e4f7cc205542ad81a92536ee6734ecc02c201280..06290081c444a657265ef74a72b2b8f399cc6a6e 100644
--- a/chromecast/chromecast.gyp
+++ b/chromecast/chromecast.gyp
@@ -166,8 +166,8 @@
],
},
{
- 'target_name': 'cast_shell',
- 'type': 'executable',
+ 'target_name': 'cast_shell_core',
+ 'type': '<(component)',
'dependencies': [
'cast_common',
'cast_metrics',
@@ -189,7 +189,6 @@
'net/network_change_notifier_cast.h',
'net/network_change_notifier_factory_cast.cc',
'net/network_change_notifier_factory_cast.h',
- 'shell/app/cast_main.cc',
'shell/app/cast_main_delegate.cc',
'shell/app/cast_main_delegate.h',
'shell/browser/cast_browser_context.cc',
@@ -234,6 +233,49 @@
],
},
{
+ 'target_name': 'cast_shell',
+ 'type': 'executable',
+ 'dependencies': [
+ 'cast_shell_core'
+ ],
+ 'sources': [
+ 'shell/app/cast_main.cc',
+ ],
+ },
+ {
+ 'target_name': 'cast_shell_browser_test',
+ 'type': '<(gtest_target_type)',
+ 'dependencies': [
+ 'cast_shell_test_support',
+ ],
+ 'defines': [
+ 'HAS_OUT_OF_PROC_TEST_RUNNER',
+ ],
+ 'sources': [
+ 'shell/browser/test/chromecast_shell_browser_test.cc',
+ ],
+ 'include_dirs': [
+ '../testing/gtest/include',
+ ],
+ },
+ {
+ 'target_name': 'cast_shell_test_support',
+ 'type': '<(component)',
+ 'defines': [
+ 'HAS_OUT_OF_PROC_TEST_RUNNER',
+ ],
+ 'dependencies': [
+ 'cast_shell_core',
+ '../content/content_shell_and_tests.gyp:content_browser_test_support',
+ '../testing/gtest.gyp:gtest',
+ ],
+ 'sources': [
+ 'shell/browser/test/chromecast_browser_test.cc',
+ 'shell/browser/test/chromecast_browser_test.h',
+ 'shell/browser/test/chromecast_browser_test_runner.cc',
+ ],
+ },
+ {
'target_name': 'cast_version_header',
'type': 'none',
'direct_dependent_settings': {

Powered by Google App Engine
This is Rietveld 408576698