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

Side by Side Diff: android_webview/android_webview_tests.gypi

Issue 12317015: [android_webview] Add test shell for webview. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 9 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
« no previous file with comments | « no previous file | android_webview/javatests/AndroidManifest.xml » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 'targets': [ 5 'targets': [
6 { 6 {
7 'target_name': 'android_webview_test_apk', 7 'target_name': 'android_webview_test_java',
8 'type': 'none', 8 'type': 'none',
9 'dependencies': [ 9 'dependencies': [
10 '../base/base.gyp:base_java_test_support', 10 '../base/base.gyp:base_java_test_support',
11 '../content/content.gyp:content_java_test_support', 11 '../content/content.gyp:content_java_test_support',
12 '../net/net.gyp:net_java_test_support', 12 '../net/net.gyp:net_java_test_support',
13 'android_webview_java', 13 'android_webview_java',
14 'libwebviewchromium', 14 'libwebviewchromium',
15 ], 15 ],
16 'variables': { 16 'variables': {
17 'java_in_dir': '../android_webview/javatests',
18 'has_java_resources': 1,
19 'R_package': 'org.chromium.android_webview.test',
20 'R_package_relpath': 'org/chromium/android_webview/test',
21 },
22 'includes': [ '../build/java.gypi' ],
23 },
24 {
25 'target_name': 'android_webview_test_apk',
26 'type': 'none',
27 'dependencies': [
28 'android_webview_test_java',
29 ],
30 'variables': {
17 'apk_name': 'AndroidWebViewTest', 31 'apk_name': 'AndroidWebViewTest',
18 'java_in_dir': '../android_webview/javatests', 32 'java_in_dir': '../android_webview/test_apk',
19 'resource_dir': 'res', 33 'is_test_apk': 0, # We want resources from android_webview_test_java.
20 'is_test_apk': 1,
21 'additional_input_paths': [ 34 'additional_input_paths': [
22 '<(PRODUCT_DIR)/android_webview_test_apk/assets/asset_file.html', 35 '<(PRODUCT_DIR)/android_webview_test_apk/assets/asset_file.html',
23 '<(PRODUCT_DIR)/android_webview_test_apk/assets/asset_icon.png', 36 '<(PRODUCT_DIR)/android_webview_test_apk/assets/asset_icon.png',
24 '<(PRODUCT_DIR)/android_webview_test_apk/assets/full_screen_video_test .html', 37 '<(PRODUCT_DIR)/android_webview_test_apk/assets/full_screen_video_test .html',
25 ], 38 ],
26 }, 39 },
27 'copies': [ 40 'copies': [
28 { 41 {
29 'destination': '<(PRODUCT_DIR)/android_webview_test_apk/assets', 42 'destination': '<(PRODUCT_DIR)/android_webview_test_apk/assets',
30 'files': [ 43 'files': [
31 '<(java_in_dir)/assets/asset_file.html', 44 '<(java_in_dir)/assets/asset_file.html',
32 '<(java_in_dir)/assets/asset_icon.png', 45 '<(java_in_dir)/assets/asset_icon.png',
33 '<(java_in_dir)/assets/full_screen_video_test.html', 46 '<(java_in_dir)/assets/full_screen_video_test.html',
34 ], 47 ],
35 }, 48 },
36 ], 49 ],
37 'includes': [ '../build/java_apk.gypi' ], 50 'includes': [ '../build/java_apk.gypi' ],
38 }, 51 },
39 { 52 {
53 'target_name': 'android_webview_shell_apk',
54 'type': 'none',
55 'dependencies': [
56 'android_webview_test_java',
57 'android_webview_pak',
58 ],
59 'variables': {
60 'apk_name': 'AndroidWebViewShell',
61 'java_in_dir': '../android_webview/shell_apk',
62 'native_libs_paths': ['<(SHARED_LIB_DIR)/libwebviewchromium.so'],
63 'resource_dir': 'res',
64 'asset_location': '<(ant_build_out)/android_webview_apk/assets',
65 'additional_input_paths': [
66 '<(PRODUCT_DIR)/android_webview_apk/assets/webviewchromium.pak',
67 ],
68 },
69 'includes': [ '../build/java_apk.gypi' ],
70 },
71 {
40 'target_name': 'android_webview_unittests', 72 'target_name': 'android_webview_unittests',
41 'type': '<(gtest_target_type)', 73 'type': '<(gtest_target_type)',
42 'dependencies': [ 74 'dependencies': [
43 '../base/base.gyp:test_support_base', 75 '../base/base.gyp:test_support_base',
44 '../net/net.gyp:net_test_support', 76 '../net/net.gyp:net_test_support',
45 '../testing/android/native_test.gyp:native_test_native_code', 77 '../testing/android/native_test.gyp:native_test_native_code',
46 '../testing/gmock.gyp:gmock', 78 '../testing/gmock.gyp:gmock',
47 '../testing/gtest.gyp:gtest', 79 '../testing/gtest.gyp:gtest',
48 'android_webview_common', 80 'android_webview_common',
49 ], 81 ],
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 'android_webview_unittests_jni', 125 'android_webview_unittests_jni',
94 ], 126 ],
95 'variables': { 127 'variables': {
96 'test_suite_name': 'android_webview_unittests', 128 'test_suite_name': 'android_webview_unittests',
97 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)android_webvi ew_unittests<(SHARED_LIB_SUFFIX)', 129 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)android_webvi ew_unittests<(SHARED_LIB_SUFFIX)',
98 }, 130 },
99 'includes': [ '../build/apk_test.gypi' ], 131 'includes': [ '../build/apk_test.gypi' ],
100 }, 132 },
101 ], 133 ],
102 } 134 }
OLDNEW
« no previous file with comments | « no previous file | android_webview/javatests/AndroidManifest.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698