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

Side by Side Diff: android_webview/android_webview_tests.gypi

Issue 11366035: Add a native test target and for android_webview. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add tests to all_android.gyp Created 8 years, 1 month 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
(Empty)
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
3 # found in the LICENSE file.
4 {
5 'targets': [
6 {
7 'target_name': 'android_webview_test_apk',
8 'type': 'none',
9 'dependencies': [
10 '../base/base.gyp:base_java',
11 '../base/base.gyp:base_java_test_support',
12 '../chrome/browser/component/components.gyp:navigation_interception_java ',
13 '../chrome/browser/component/components.gyp:web_contents_delegate_androi d_java',
14 '../chrome/chrome_resources.gyp:packed_extra_resources',
15 '../chrome/chrome_resources.gyp:packed_resources',
joth 2012/11/02 11:06:07 hmmm. seems odd we have to duplicate all the SUT's
mkosiba (inactive) 2012/11/02 15:59:39 hmm.. it was always like that, but seems to work w
16 '../content/content.gyp:content_java',
17 '../content/content.gyp:content_java_test_support',
18 '../media/media.gyp:media_java',
19 '../net/net.gyp:net_java',
20 '../ui/ui.gyp:ui_java',
21 'android_webview_java',
22 'libwebviewchromium',
23 ],
24 'variables': {
25 'package_name': 'android_webview_test',
26 'apk_name': 'AndroidWebViewTest',
27 'java_in_dir': '../android_webview/javatests',
28 'resource_dir': 'res',
29 },
30 'copies': [
31 {
32 'destination': '<(PRODUCT_DIR)/android_webview_test/assets',
33 'files': [ '<!@(find <(java_in_dir)/assets -type f -name "*")' ]
34 },
35 ],
36 'includes': [ '../build/java_apk.gypi' ],
37 },
38 {
39 'target_name': 'android_webview_unittests',
40 'type': '<(gtest_target_type)',
41 'dependencies': [
42 '../base/base.gyp:test_support_base',
43 '../testing/android/native_test.gyp:native_test_native_code',
44 '../testing/gmock.gyp:gmock',
45 '../testing/gtest.gyp:gtest',
46 'android_webview_common',
47 ],
48 'include_dirs': [
49 '..',
50 '../skia/config',
51 ],
52 'sources': [
53 'lib/main/webview_tests.cc',
54 'native/android_stream_reader_url_request_job_unittests.cc',
55 ],
56 },
57 {
58 'target_name': 'android_webview_unittests_apk',
59 'type': 'none',
60 'dependencies': [
61 'android_webview_unittests',
62 ],
63 'variables': {
64 'test_suite_name': 'android_webview_unittests',
65 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)android_webvi ew_unittests<(SHARED_LIB_SUFFIX)',
66 },
67 'includes': [ '../build/apk_test.gypi' ],
68 },
69 ],
70 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698