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

Side by Side 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: 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 { 5 {
6 'variables': { 6 'variables': {
7 'chromium_code': 0, 7 'chromium_code': 0,
8 'webkit_compositor_bindings_tests_sources': [ 8 'webkit_compositor_bindings_tests_sources': [
9 'web_animation_unittest.cc', 9 'web_animation_unittest.cc',
10 'web_float_animation_curve_unittest.cc', 10 'web_float_animation_curve_unittest.cc',
11 'web_layer_unittest.cc', 11 'web_layer_unittest.cc',
12 'web_layer_tree_view_unittest.cc', 12 'web_layer_tree_view_unittest.cc',
13 'web_transform_animation_curve_unittest.cc', 13 'web_transform_animation_curve_unittest.cc',
14 'web_transform_operations_unittest.cc', 14 'web_transform_operations_unittest.cc',
15 'web_transformation_matrix_unittest.cc', 15 'web_transformation_matrix_unittest.cc',
16 'test/fake_web_scrollbar_theme_geometry.h', 16 'test/fake_web_scrollbar_theme_geometry.h',
17 'test/web_layer_tree_view_test_common.h', 17 'test/web_layer_tree_view_test_common.h',
18 ], 18 ],
19 }, 19 },
20 'targets': [ 20 'targets': [
21 { 21 {
22 'target_name': 'webkit_compositor_bindings_unittests', 22 'target_name': 'webkit_compositor_bindings_unittests',
23 'type' : 'executable', 23 'type' : '<(gtest_target_type)',
24 'dependencies': [ 24 'dependencies': [
25 '../../base/base.gyp:test_support_base', 25 '../../base/base.gyp:test_support_base',
26 '../../cc/cc.gyp:cc', 26 '../../cc/cc.gyp:cc',
27 '../../cc/cc_tests.gyp:cc_test_support', 27 '../../cc/cc_tests.gyp:cc_test_support',
28 '../../skia/skia.gyp:skia', 28 '../../skia/skia.gyp:skia',
29 '../../testing/gmock.gyp:gmock', 29 '../../testing/gmock.gyp:gmock',
30 '../../testing/gtest.gyp:gtest', 30 '../../testing/gtest.gyp:gtest',
31 '../../third_party/WebKit/Source/WTF/WTF.gyp/WTF.gyp:wtf', 31 '../../third_party/WebKit/Source/WTF/WTF.gyp/WTF.gyp:wtf',
32 'compositor_bindings.gyp:webkit_compositor_bindings', 32 'compositor_bindings.gyp:webkit_compositor_bindings',
33 ], 33 ],
34 'sources': [ 34 'sources': [
35 '<@(webkit_compositor_bindings_tests_sources)', 35 '<@(webkit_compositor_bindings_tests_sources)',
36 'test/run_all_unittests.cc', 36 'test/run_all_unittests.cc',
37 ], 37 ],
38 'include_dirs': [ 38 'include_dirs': [
39 '.', 39 '.',
40 'test', 40 'test',
41 '<(DEPTH)/cc', 41 '<(DEPTH)/cc',
42 '<(DEPTH)/cc/stubs', 42 '<(DEPTH)/cc/stubs',
43 '<(DEPTH)/cc/test', 43 '<(DEPTH)/cc/test',
44 '../../third_party/WebKit/Source/Platform/chromium' 44 '../../third_party/WebKit/Source/Platform/chromium'
45 ], 45 ],
46 'conditions': [
47 ['OS == "android" and gtest_target_type == "shared_library"', {
48 'dependencies': [
49 '../../testing/android/native_test.gyp:native_test_native_code',
50 ],
51 }],
52 ],
46 }, 53 },
47 ], 54 ],
55 'conditions': [
56 # Special target to wrap a gtest_target_type==shared_library
57 # package webkit_compositor_bindings_unittests into an android apk for execu tion.
58 ['OS == "android" and gtest_target_type == "shared_library"', {
59 'targets': [
60 {
61 'target_name': 'webkit_compositor_bindings_unittests_apk',
62 'type': 'none',
63 'dependencies': [
64 'webkit_compositor_bindings_unittests',
65 ],
66 'variables': {
67 'test_suite_name': 'webkit_compositor_bindings_unittests',
68 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)webkit_co mpositor_bindings_unittests<(SHARED_LIB_SUFFIX)',
69 },
70 'includes': [ '../../build/apk_test.gypi' ],
71 },
72 ],
73 }],
74 ],
48 } 75 }
OLDNEW
« build/all_android.gyp ('K') | « build/android/buildbot/buildbot_functions.sh ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698