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

Unified Diff: content/content_tests.gypi

Issue 28123002: Introduce a separate gyp file for content shell and tests (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: updates Created 7 years, 2 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 | « content/content_shell_and_tests.gyp ('k') | ui/views/views.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/content_tests.gypi
diff --git a/content/content_tests.gypi b/content/content_tests.gypi
index 5fa2d3ae3bd92f893c0b68863c03243bb14e2ee9..8606c26c6622895117d0426f3bfbaaef486b2b0e 100644
--- a/content/content_tests.gypi
+++ b/content/content_tests.gypi
@@ -7,7 +7,6 @@
{
'target_name': 'test_support_content',
'type': 'static_library',
- 'defines!': ['CONTENT_IMPLEMENTATION'],
'dependencies': [
'../net/net.gyp:net_test_support',
'../skia/skia.gyp:skia',
@@ -21,9 +20,9 @@
'../ui/ui.gyp:ui_test_support',
'../url/url.gyp:url_lib',
'browser/speech/proto/speech_proto.gyp:speech_proto',
- 'content_app_both',
- 'content_browser',
- 'content_common',
+ 'content.gyp:content_app_both',
+ 'content.gyp:content_browser',
+ 'content.gyp:content_common',
],
'include_dirs': [
'..',
@@ -211,12 +210,12 @@
}],
],
'dependencies': [
- 'content_child',
- 'content_gpu',
- 'content_ppapi_plugin',
- 'content_renderer',
- 'content_utility',
- 'content_worker',
+ 'content.gyp:content_child',
+ 'content.gyp:content_gpu',
+ 'content.gyp:content_ppapi_plugin',
+ 'content.gyp:content_renderer',
+ 'content.gyp:content_utility',
+ 'content.gyp:content_worker',
'../media/media.gyp:media',
'../ppapi/ppapi_internal.gyp:ppapi_host',
'../ppapi/ppapi_internal.gyp:ppapi_proxy',
@@ -299,10 +298,9 @@
{
'target_name': 'content_unittests',
'type': '<(gtest_target_type)',
- 'defines!': ['CONTENT_IMPLEMENTATION'],
'dependencies': [
- 'content_browser',
- 'content_common',
+ 'content.gyp:content_browser',
+ 'content.gyp:content_common',
'test_support_content',
'browser/speech/proto/speech_proto.gyp:speech_proto',
'../base/base.gyp:test_support_base',
@@ -619,11 +617,11 @@
],
}, { # OS != "ios"
'dependencies': [
- 'content_browser',
- 'content_child',
- 'content_gpu',
- 'content_plugin',
- 'content_renderer',
+ 'content.gyp:content_browser',
+ 'content.gyp:content_child',
+ 'content.gyp:content_gpu',
+ 'content.gyp:content_plugin',
+ 'content.gyp:content_renderer',
'content_resources.gyp:content_resources',
'../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
'../gpu/gpu.gyp:gpu',
@@ -800,12 +798,11 @@
{
'target_name': 'content_browsertests',
'type': '<(gtest_target_type)',
- 'defines!': ['CONTENT_IMPLEMENTATION'],
'dependencies': [
- 'content_common',
- 'content_gpu',
- 'content_plugin',
- 'content_renderer',
+ 'content.gyp:content_common',
+ 'content.gyp:content_gpu',
+ 'content.gyp:content_plugin',
+ 'content.gyp:content_renderer',
'content_resources.gyp:content_resources',
'content_shell_lib',
'content_shell_pak',
@@ -1061,9 +1058,8 @@
{
'target_name': 'content_gl_tests',
'type': '<(gtest_target_type)',
- 'defines!': ['CONTENT_IMPLEMENTATION'],
'dependencies': [
- 'content_common',
+ 'content.gyp:content_common',
'test_support_content',
'../base/base.gyp:test_support_base',
'../gpu/gpu.gyp:command_buffer_common',
@@ -1095,9 +1091,8 @@
{
'target_name': 'content_gl_benchmark',
'type': '<(gtest_target_type)',
- 'defines!': ['CONTENT_IMPLEMENTATION'],
'dependencies': [
- 'content_common',
+ 'content.gyp:content_common',
'test_support_content',
'../base/base.gyp:test_support_base',
'../testing/gtest.gyp:gtest',
@@ -1118,6 +1113,21 @@
],
},
{
+ # TODO(jochen): remove this once the blink side has landed.
+ 'target_name': 'content_webkit_unit_test_support_tmp',
+ 'type': 'static_library',
+ 'dependencies': [
+ 'test_support_content',
+ ],
+ 'include_dirs': [
+ '..',
+ ],
+ 'sources': [
+ 'test/webkit_unit_test_support.cc',
+ 'test/webkit_unit_test_support.h',
+ ],
+ },
+ {
'target_name': 'content_webkit_unit_test_support',
'type': 'static_library',
'dependencies': [
@@ -1139,7 +1149,7 @@
'target_name': 'video_decode_accelerator_unittest',
'type': '<(gtest_target_type)',
'dependencies': [
- 'content',
+ 'content.gyp:content',
'../base/base.gyp:base',
'../testing/gtest.gyp:gtest',
'../media/media.gyp:media',
@@ -1205,7 +1215,7 @@
'target_name': 'video_encode_accelerator_unittest',
'type': 'executable',
'dependencies': [
- 'content',
+ 'content.gyp:content',
'../base/base.gyp:base',
'../testing/gtest.gyp:gtest',
'../media/media.gyp:media',
@@ -1226,7 +1236,7 @@
'target_name': 'h264_parser_unittest',
'type': 'executable',
'dependencies': [
- 'content_common',
+ 'content.gyp:content_common',
'../base/base.gyp:base',
'../testing/gtest.gyp:gtest',
],
@@ -1268,7 +1278,7 @@
'target_name': 'content_unittests_apk',
'type': 'none',
'dependencies': [
- 'content_java',
+ 'content.gyp:content_java',
'content_unittests',
],
'variables': {
@@ -1281,8 +1291,8 @@
'target_name': 'content_browsertests_apk',
'type': 'none',
'dependencies': [
+ 'content.gyp:content_java',
'content_browsertests',
- 'content_java',
'content_java_test_support',
'content_shell_java',
],
@@ -1334,8 +1344,8 @@
'dependencies': [
'../base/base.gyp:base',
'../base/base.gyp:base_java_test_support',
- 'content_common',
- 'content_java',
+ 'content.gyp:content_common',
+ 'content.gyp:content_java',
],
'variables': {
'java_in_dir': '../content/public/test/android/javatests',
@@ -1346,9 +1356,9 @@
'target_name': 'content_shell_test_apk',
'type': 'none',
'dependencies': [
- 'content_java',
'content_java_test_support',
'content_shell_apk_java',
+ 'content.gyp:content_java',
'../base/base.gyp:base_java',
'../base/base.gyp:base_javatests',
'../base/base.gyp:base_java_test_support',
« no previous file with comments | « content/content_shell_and_tests.gyp ('k') | ui/views/views.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698