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

Unified Diff: webkit/compositor_bindings/compositor_bindings_tests.gyp

Issue 11227047: Compile webkit_compositor_bindings_unittests on Android. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nits Created 8 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 | « build/android/buildbot/buildbot_functions.sh ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/compositor_bindings/compositor_bindings_tests.gyp
diff --git a/webkit/compositor_bindings/compositor_bindings_tests.gyp b/webkit/compositor_bindings/compositor_bindings_tests.gyp
index 9ab9bf462f8a76b2ef331b6219a4fe29bf21d5a9..9cb420e0f6d71b9910f89f977e4a9a02926df5b6 100644
--- a/webkit/compositor_bindings/compositor_bindings_tests.gyp
+++ b/webkit/compositor_bindings/compositor_bindings_tests.gyp
@@ -20,7 +20,7 @@
'targets': [
{
'target_name': 'webkit_compositor_bindings_unittests',
- 'type' : 'executable',
+ 'type' : '<(gtest_target_type)',
'dependencies': [
'../../base/base.gyp:test_support_base',
'../../cc/cc.gyp:cc',
@@ -43,6 +43,33 @@
'<(DEPTH)/cc/test',
'../../third_party/WebKit/Source/Platform/chromium'
],
+ 'conditions': [
+ ['OS == "android" and gtest_target_type == "shared_library"', {
+ 'dependencies': [
+ '../../testing/android/native_test.gyp:native_test_native_code',
+ ],
+ }],
+ ],
},
],
+ 'conditions': [
+ # Special target to wrap a gtest_target_type==shared_library
+ # package webkit_compositor_bindings_unittests into an android apk for execution.
+ ['OS == "android" and gtest_target_type == "shared_library"', {
+ 'targets': [
+ {
+ 'target_name': 'webkit_compositor_bindings_unittests_apk',
+ 'type': 'none',
+ 'dependencies': [
+ 'webkit_compositor_bindings_unittests',
+ ],
+ 'variables': {
+ 'test_suite_name': 'webkit_compositor_bindings_unittests',
+ 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)webkit_compositor_bindings_unittests<(SHARED_LIB_SUFFIX)',
+ },
+ 'includes': [ '../../build/apk_test.gypi' ],
+ },
+ ],
+ }],
+ ],
}
« no previous file with comments | « build/android/buildbot/buildbot_functions.sh ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698