Index: chromecast/chromecast_tests.gypi |
diff --git a/chromecast/chromecast_tests.gypi b/chromecast/chromecast_tests.gypi |
index f3c624917fdd9627385e016f0dc2c2a8e629dde5..53316ba1fdd2d1aea5ae34d0dfde9ecb9bdb3524 100644 |
--- a/chromecast/chromecast_tests.gypi |
+++ b/chromecast/chromecast_tests.gypi |
@@ -348,6 +348,8 @@ |
'type': '<(gtest_target_type)', |
'dependencies': [ |
'cast_shell_test_support', |
+ '../content/content_shell_and_tests.gyp:test_support_content', |
+ '../media/media.gyp:media_test_support', |
'../testing/gtest.gyp:gtest', |
], |
'defines': [ |
@@ -356,6 +358,15 @@ |
'sources': [ |
'browser/test/chromecast_shell_browser_test.cc', |
], |
+ 'conditions': [ |
+ ['chromecast_branding=="public"', { |
+ 'dependencies': [ |
+ # Link default libcast_media_1.0 statically to prevent |
+ # linking dynamically against dummy implementation. |
+ 'media/media.gyp:libcast_media_1.0_default_core', |
+ ], |
+ }], |
+ ], |
}, |
# GN target: //chromecast/app:cast_shell_unittests |
{ |