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

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: 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_test_support',
11 '../content/content.gyp:content_java_test_support',
12 'android_webview_java',
13 'libwebviewchromium',
14 ],
15 'variables': {
16 'package_name': 'android_webview_test',
17 'apk_name': 'AndroidWebViewTest',
18 'java_in_dir': '../android_webview/javatests',
19 'resource_dir': 'res',
20 },
21 'copies': [
22 {
23 'destination': '<(PRODUCT_DIR)/android_webview_test/assets',
24 'files': [ '<!@(find <(java_in_dir)/assets -type f -name "*")' ]
bulach 2012/11/02 16:41:34 nit: -name "*" is spurious here..
mkosiba (inactive) 2012/11/05 10:25:10 Done.
25 },
26 ],
27 'includes': [ '../build/java_apk.gypi' ],
28 },
29 {
30 'target_name': 'android_webview_unittests',
31 'type': '<(gtest_target_type)',
32 'dependencies': [
33 '../base/base.gyp:test_support_base',
34 '../testing/android/native_test.gyp:native_test_native_code',
35 '../testing/gmock.gyp:gmock',
36 '../testing/gtest.gyp:gtest',
37 'android_webview_common',
38 ],
39 'include_dirs': [
40 '..',
41 '../skia/config',
42 ],
43 'sources': [
44 'lib/main/webview_tests.cc',
45 'native/android_stream_reader_url_request_job_unittests.cc',
46 ],
47 },
48 {
49 'target_name': 'android_webview_unittests_apk',
50 'type': 'none',
51 'dependencies': [
52 'android_webview_unittests',
53 ],
54 'variables': {
55 'test_suite_name': 'android_webview_unittests',
56 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)android_webvi ew_unittests<(SHARED_LIB_SUFFIX)',
57 },
58 'includes': [ '../build/apk_test.gypi' ],
59 },
60 ],
61 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698