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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | android_webview/javatests/AndroidManifest.xml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/android_webview_tests.gypi
diff --git a/android_webview/android_webview_tests.gypi b/android_webview/android_webview_tests.gypi
index 151e291ffa03846c9b13c2b6bcaea4ca124dfd76..998aba33491a99e38767d50158b0d72a33476275 100644
--- a/android_webview/android_webview_tests.gypi
+++ b/android_webview/android_webview_tests.gypi
@@ -4,20 +4,33 @@
{
'targets': [
{
- 'target_name': 'android_webview_test_apk',
+ 'target_name': 'android_webview_test_java',
'type': 'none',
'dependencies': [
'../base/base.gyp:base_java_test_support',
'../content/content.gyp:content_java_test_support',
'../net/net.gyp:net_java_test_support',
- 'android_webview_java',
+ 'android_webview_java',
'libwebviewchromium',
],
'variables': {
- 'apk_name': 'AndroidWebViewTest',
'java_in_dir': '../android_webview/javatests',
- 'resource_dir': 'res',
- 'is_test_apk': 1,
+ 'has_java_resources': 1,
+ 'R_package': 'org.chromium.android_webview.test',
+ 'R_package_relpath': 'org/chromium/android_webview/test',
+ },
+ 'includes': [ '../build/java.gypi' ],
+ },
+ {
+ 'target_name': 'android_webview_test_apk',
+ 'type': 'none',
+ 'dependencies': [
+ 'android_webview_test_java',
+ ],
+ 'variables': {
+ 'apk_name': 'AndroidWebViewTest',
+ 'java_in_dir': '../android_webview/test_apk',
+ 'is_test_apk': 0, # We want resources from android_webview_test_java.
'additional_input_paths': [
'<(PRODUCT_DIR)/android_webview_test_apk/assets/asset_file.html',
'<(PRODUCT_DIR)/android_webview_test_apk/assets/asset_icon.png',
@@ -37,6 +50,25 @@
'includes': [ '../build/java_apk.gypi' ],
},
{
+ 'target_name': 'android_webview_shell_apk',
+ 'type': 'none',
+ 'dependencies': [
+ 'android_webview_test_java',
+ 'android_webview_pak',
+ ],
+ 'variables': {
+ 'apk_name': 'AndroidWebViewShell',
+ 'java_in_dir': '../android_webview/shell_apk',
+ 'native_libs_paths': ['<(SHARED_LIB_DIR)/libwebviewchromium.so'],
+ 'resource_dir': 'res',
+ 'asset_location': '<(ant_build_out)/android_webview_apk/assets',
+ 'additional_input_paths': [
+ '<(PRODUCT_DIR)/android_webview_apk/assets/webviewchromium.pak',
+ ],
+ },
+ 'includes': [ '../build/java_apk.gypi' ],
+ },
+ {
'target_name': 'android_webview_unittests',
'type': '<(gtest_target_type)',
'dependencies': [
« 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