Commit 1351139b authored by jam's avatar jam Committed by Commit bot

Move content_gl_tests.isolate to content.

I noticed this while looking through isolate files. Since the test target is in content, the isolate file should be alongside.

Review URL: https://codereview.chromium.org/573073003

Cr-Commit-Position: refs/heads/master@{#295983}
parent 241405ee
...@@ -2956,21 +2956,6 @@ ...@@ -2956,21 +2956,6 @@
'angle_unittests.isolate', 'angle_unittests.isolate',
], ],
}, },
{
'target_name': 'content_gl_tests_run',
'type': 'none',
'dependencies': [
'../content/content_shell_and_tests.gyp:content_gl_tests',
'chrome_run',
],
'includes': [
'../build/isolate.gypi',
'content_gl_tests.isolate',
],
'sources': [
'content_gl_tests.isolate',
],
},
{ {
'target_name': 'gl_tests_run', 'target_name': 'gl_tests_run',
'type': 'none', 'type': 'none',
......
...@@ -2,12 +2,6 @@ ...@@ -2,12 +2,6 @@
# Use of this source code is governed by a BSD-style license that can be # Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file. # found in the LICENSE file.
{ {
# TODO(kbr): including all of chrome.isolate is overkill -- the only
# real dependency is on ffmpegsumo. However, wait to refactor
# chrome.isolate (perhaps adding a media.isolate) for the moment.
'includes': [
'chrome.isolate',
],
'conditions': [ 'conditions': [
['OS=="android" or OS=="linux" or OS=="mac" or OS=="win"', { ['OS=="android" or OS=="linux" or OS=="mac" or OS=="win"', {
'variables': { 'variables': {
...@@ -30,5 +24,33 @@ ...@@ -30,5 +24,33 @@
], ],
}, },
}], }],
['OS=="linux"', {
'variables': {
'isolate_dependency_tracked': [
'<(PRODUCT_DIR)/libffmpegsumo.so',
],
},
}],
['OS=="mac"', {
'variables': {
'isolate_dependency_tracked': [
'<(PRODUCT_DIR)/ffmpegsumo.so',
],
},
}],
['OS=="win"', {
'variables': {
'isolate_dependency_tracked': [
'<(PRODUCT_DIR)/d3dcompiler_46.dll',
'<(PRODUCT_DIR)/libEGL.dll',
'<(PRODUCT_DIR)/libGLESv2.dll',
'<(PRODUCT_DIR)/ffmpegsumo.dll',
'<(PRODUCT_DIR)/osmesa.dll',
],
},
}],
],
'includes': [
'../third_party/icu/icu.isolate',
], ],
} }
...@@ -987,7 +987,27 @@ ...@@ -987,7 +987,27 @@
'sources': [ 'sources': [
'content_unittests.isolate', 'content_unittests.isolate',
], ],
}, },
],
'conditions': [
['archive_gpu_tests==1', {
'targets': [
{
'target_name': 'content_gl_tests_run',
'type': 'none',
'dependencies': [
'content_shell_and_tests.gyp:content_gl_tests',
],
'includes': [
'../build/isolate.gypi',
'content_gl_tests.isolate',
],
'sources': [
'content_gl_tests.isolate',
],
},
],
}],
], ],
}], }],
['OS!="ios"', { ['OS!="ios"', {
...@@ -1392,6 +1412,12 @@ ...@@ -1392,6 +1412,12 @@
'dependencies': [ 'dependencies': [
'../testing/android/native_test.gyp:native_test_native_code', '../testing/android/native_test.gyp:native_test_native_code',
], ],
}, {
'dependencies': [
# Runtime dependencis.
'../third_party/ffmpeg/ffmpeg.gyp:ffmpeg',
'../third_party/mesa/mesa.gyp:osmesa',
],
}], }],
], ],
}, },
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment