summaryrefslogtreecommitdiffstats
path: root/android_webview/apk
Commit message (Collapse)AuthorAgeFilesLines
* Add proguard definitions to prevent stripping of methodssgurun2016-03-081-1/+5
| | | | | | | | | Newly added WebviewChromium methods getHandler and findFocus were being stripped by proguard. Explicitly keep them in .jar. Review URL: https://codereview.chromium.org/1765333002 Cr-Commit-Position: refs/heads/master@{#379922}
* WebView drag and drop support: View#onDragEventhush2016-02-051-1/+2
| | | | | | | | | | | This CL is the plumbing for View#onDragEvent, which is called when a view starts to drag and drop. BUG=584789 Review URL: https://codereview.chromium.org/1677733002 Cr-Commit-Position: refs/heads/master@{#373939}
* [Android WebView] Export SandboxedProcessServicemnaganov2016-01-201-1/+3
| | | | | | | | | | | According to the latest framework version, it needs to be exported. BUG=576927 TBR=rsesek@chromium.org Review URL: https://codereview.chromium.org/1610253002 Cr-Commit-Position: refs/heads/master@{#370500}
* [Android WebView] Add child process service to the manifestmnaganov2016-01-191-0/+9
| | | | | | | | | | Also fix a couple of issues related to linting Java files. BUG=576927 Review URL: https://codereview.chromium.org/1592943002 Cr-Commit-Position: refs/heads/master@{#370160}
* Fix proguard for service bridge classsgurun2016-01-151-0/+5
| | | | | | | | | The service bridge class is accessed through reflection. Fix proguard to keep the file. Review URL: https://codereview.chromium.org/1597523002 Cr-Commit-Position: refs/heads/master@{#369789}
* Roll android tools deps after cleaning up assist changessgurun2015-10-301-5/+0
| | | | | | | | | | | The preview sources are now removed from android_tools. Also remove the proguard flags changes. BUG=512264 Review URL: https://codereview.chromium.org/1394023006 Cr-Commit-Position: refs/heads/master@{#357208}
* Generate license file separatelymichaelbai2015-10-302-21/+4
| | | | | | | | | | | | So, The license file doesn't need to be generated for each apk. The file could reused by downstream apk. BUG=546219 Review URL: https://codereview.chromium.org/1412633004 Cr-Commit-Position: refs/heads/master@{#357185}
* Allow customization of menu items in WebViewhush2015-10-281-0/+6
| | | | | | | | | | | This CL takes the flags from WebSettings and enforces them when an action mode is created. BUG=546762 Review URL: https://codereview.chromium.org/1418113005 Cr-Commit-Position: refs/heads/master@{#356655}
* Public glue layer plumbing for View#startActivityForResulthush2015-10-211-0/+5
| | | | | | | | BUG=521027 Review URL: https://codereview.chromium.org/1399613002 Cr-Commit-Position: refs/heads/master@{#355390}
* Remove never_lint from WebViewmichaelbai2015-10-142-2/+0
| | | | | | | | BUG=532593, 542435 Review URL: https://codereview.chromium.org/1397083003 Cr-Commit-Position: refs/heads/master@{#353956}
* Add a method for programmatically causing WebView to generate a minidump.tobiasjs2015-10-121-0/+5
| | | | | | | | | | | | | | | | | | | | | In certain (as yet undiagnosed) circumstances it seems possible for WebView instances to appear to become unresponsive, without crashing. In order to debug this case, add AwDebug.dumpWithoutCrashing(File) - which allows a caller to use the breakpad minidump mechanism to produce a dump that can be processed to extract useful information about the state of the WebView threads. (NOPRESUBMIT to bypass ScopedAllowIO restriction; per comment in aw_debug.cc, this is meant to be used when WebView is in an undefined state, and posting I/O to another thread is impossible) BUG=537579 NOPRESUBMIT=TRUE Review URL: https://codereview.chromium.org/1384823004 Cr-Commit-Position: refs/heads/master@{#353504}
* Split locale paks into 2 list.michaelbai2015-10-051-12/+18
| | | | | | | | | | | | | | | In order to merge the chrome and webview resources - Split locale paks into 2 list, one is the commnon locale with chrome, another is webview individual. - Also move the definition of webviewchromium.pak path to gypi. So rename system_webview_locales_paks.gypi to system_webview_paks.gypi. BUG=514883 Review URL: https://codereview.chromium.org/1381323002 Cr-Commit-Position: refs/heads/master@{#352401}
* Generate ResourceRewriter.java through dependency graphmichaelbai2015-09-182-4/+42
| | | | | | | | | | | | | | - Added create-resource-rewriter option to generate ResourceRewriter.java when building Java lib - Added system_webview_glue_java target and make system_webview_apk to depend on it. - Removed unnecessary com.android.webview.chromium.R, there is no new resource added in this package. BUG=492166 Review URL: https://codereview.chromium.org/1340383003 Cr-Commit-Position: refs/heads/master@{#349764}
* Update targetSdkVersion to 23.aurimas2015-08-221-1/+1
| | | | | | | | | | | | | | | We moved to Android SDK 23. This CL updates the targetSdkVersion to match the SDK. See behavior changes here: http://developer.android.com/preview/api-overview.html BUG=522182 TBR=yfriedman@chromium.org Review URL: https://codereview.chromium.org/1285103005 Cr-Commit-Position: refs/heads/master@{#344942}
* Add version checking to webview library loads.simonb2015-08-211-0/+2
| | | | | | | | | | | | | | | | | | | | | | LibraryLoader.java contains code to check that a shared library's build version matches the expected value, to prevent accidental mixes of mismatching java and native code. The feature is currently unused for webview. Add it. Logcat before: ... Expected native library version number "", actual native library version number "" Logcat after: ... Expected native library version number "46.0.2489.0", actual native library version number "46.0.2489.0" BUG=497789 Review URL: https://codereview.chromium.org/1306923002 Cr-Commit-Position: refs/heads/master@{#344806}
* Support sending Web Urisgurun2015-07-281-0/+1
| | | | | | | | | | BUG=497258 When onProvideAssistContent is requested, send web uri unless incognito mode is enabled. Review URL: https://codereview.chromium.org/1260753003 Cr-Commit-Position: refs/heads/master@{#340629}
* Fix Android release builds.lizeb2015-07-231-0/+4
| | | | | | | | | | | | | This commit tells proguard to ignore errors caused by the duplication (and inclusion) of ViewStructure (new class in M Preview, required in trunk). This is intended to fix the release builders. BUG=513229 TBR=sgurun Review URL: https://codereview.chromium.org/1253683002 Cr-Commit-Position: refs/heads/master@{#340085}
* Reland "Enable proguarding the WebView APK."torne2015-07-161-2/+1
| | | | | | | | | | | Proguard was disabled for WebView as the configuration was out of date. Re-enable it now the configuration has been updated. BUG=442348 Review URL: https://codereview.chromium.org/1234403002 Cr-Commit-Position: refs/heads/master@{#339047}
* Fix webview proguard config.torne2015-07-161-2/+5
| | | | | | | | | | | | The previous config didn't work for all the different webview APK configurations; update it after testing them all manually. Just note/warning changes. BUG=442348, 510625 Review URL: https://codereview.chromium.org/1239923003 Cr-Commit-Position: refs/heads/master@{#339036}
* Revert of Enable proguarding the WebView APK. (patchset #1 id:1 of ↵yusufo2015-07-151-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | https://codereview.chromium.org/1226813002/) Reason for revert: Broke release builds downstream. crbug.com/510625 Original issue's description: > Enable proguarding the WebView APK. > > Proguard was disabled for WebView as the configuration was out of date. > Re-enable it now the configuration has been updated. > > BUG=442348 > > Committed: https://crrev.com/edefec8e457e96dcfa7251f7fadfa24605f8a9fb > Cr-Commit-Position: refs/heads/master@{#338856} TBR=sgurun@chromium.org,torne@chromium.org NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=442348 Review URL: https://codereview.chromium.org/1239703003 Cr-Commit-Position: refs/heads/master@{#338941}
* Enable proguarding the WebView APK.torne2015-07-151-2/+1
| | | | | | | | | | | Proguard was disabled for WebView as the configuration was out of date. Re-enable it now the configuration has been updated. BUG=442348 Review URL: https://codereview.chromium.org/1226813002 Cr-Commit-Position: refs/heads/master@{#338856}
* Update WebView proguard configuration.torne2015-07-071-65/+50
| | | | | | | | | | | | | Update the proguard configuration file for the WebView APK to make it reflect the current code. This does not re-enable actually running proguard on the APK and so will not have any effect by itself, but it appears to work with limited local testing. BUG=442348 Review URL: https://codereview.chromium.org/1218303002 Cr-Commit-Position: refs/heads/master@{#337585}
* Convert Android WebView to store locale .pak files as res/raw resourcesagrieve2015-06-252-60/+1
| | | | | | | | | | | | Motivation for this is to have webview be consistent with chrome in how it bundles these. It does also have the side-effect of improving the look-up time for LocaleDataPakExists. BUG=371610 Review URL: https://codereview.chromium.org/1193613002 Cr-Commit-Position: refs/heads/master@{#336237}
* [Android WebView] Provide package-dependent names for OSS licenses providermnaganov2015-05-271-1/+1
| | | | | | | | | | | This allows installing AOSP and Google-branded WebView side-by-side (although the "alien" WebView will not actually be used, of course). BUG=475486 Review URL: https://codereview.chromium.org/1154943002 Cr-Commit-Position: refs/heads/master@{#331581}
* Add flag to WebView apks specifying that these apks contain WebView.gsennton2015-04-091-0/+2
| | | | | | | | | | | Add a flag to the WebView manifest to ensure that webview apks are compatible with the new mechanism for loading webview. BUG= Review URL: https://codereview.chromium.org/1075883002 Cr-Commit-Position: refs/heads/master@{#324418}
* Move android_app_version_* into an inner variables dict.tobiasjs2015-04-011-2/+0
| | | | | | | | | | | This is required to allow webview to provide a separately overrideable version code. BUG= Review URL: https://codereview.chromium.org/1054543002 Cr-Commit-Position: refs/heads/master@{#323242}
* Use jinja2 to template webview manifest files.tobiasjs2015-03-302-3/+10
| | | | | | | | BUG= Review URL: https://codereview.chromium.org/1048463003 Cr-Commit-Position: refs/heads/master@{#322791}
* Update WebView's android framework jar to 5.1.0_r1.torne2015-03-151-0/+1
| | | | | | | | | | | | | | | | | Now that Android 5.1 is released, use the Android 5.1.0_r1 release tag from AOSP to build an up-to-date framework jar instead of a snapshot of AOSP master. This removes the need for a manifest recording the exact build used as it's a real tagged release. The new jar was already landed separately in crrev.com/81b497cdc14855e407e4406dac8a47346fa7ce8e as Rietveld doesn't handle large binaries well. BUG=466677 Review URL: https://codereview.chromium.org/1007443002 Cr-Commit-Position: refs/heads/master@{#320675}
* Name V8 snapshot according to target architecture (32/64 bit).gsennton2015-02-101-12/+6
| | | | | | | | | | | | | Renaming webview copy of V8 snapshot to be able to differentiate between snapshots for 32- and 64 bit architectures. This is done so that snapshots for different architectures can be repacked into the same APK. BUG=455699 Review URL: https://codereview.chromium.org/881923003 Cr-Commit-Position: refs/heads/master@{#315533}
* Revert of Name V8 snapshot according to target architecture (32/64 bit). ↵boliu2015-02-101-6/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (patchset #5 id:80001 of https://codereview.chromium.org/903793002/) Reason for revert: Some target_arch constants are wrong/missing, causing build breaks on those architectures. Original issue's description: > Name V8 snapshot according to target architecture (32/64 bit). > > Renaming webview copy of V8 snapshot to be able to differentiate > between snapshots for 32- and 64 bit architectures. > This is done so that snapshots for different architectures can be > repacked into the same APK. > > BUG=455699 > > Committed: https://crrev.com/0ae506b5a6eae5cf0e440752a4fb99b35e2b0f05 > Cr-Commit-Position: refs/heads/master@{#315314} TBR=torne@chromium.org,rmcilroy@chromium.org,mef@chromium.org,kkimlabs@chromium.org,gsennton@chromium.org NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=455699 Review URL: https://codereview.chromium.org/868363003 Cr-Commit-Position: refs/heads/master@{#315475}
* Name V8 snapshot according to target architecture (32/64 bit).gsennton2015-02-091-12/+6
| | | | | | | | | | | | | Renaming webview copy of V8 snapshot to be able to differentiate between snapshots for 32- and 64 bit architectures. This is done so that snapshots for different architectures can be repacked into the same APK. BUG=455699 Review URL: https://codereview.chromium.org/903793002 Cr-Commit-Position: refs/heads/master@{#315314}
* [WebView] Pack the .pak files for all the locales.igsolla2015-02-062-3/+131
| | | | | | | | | | | | | | | | This changes includes all the locale .pak files into the WebView apk when building it from the chromium tree, similarly to what we're doing when building it from the Android tree, see android_webview/Android.mk. BUG=405035 TESTED=Manual. Verified that the set of locales in the downstream and upstream SystemWebViewGoogle.apk is the same. Review URL: https://codereview.chromium.org/868673003 Cr-Commit-Position: refs/heads/master@{#315001}
* [Android WebView] Provide an activity for displaying OSS licensesmnaganov2015-01-192-0/+34
| | | | | | | | | | | | | | | | | | | | The activity is invoked using android.settings.WEBVIEW_LICENSE intent. Current implementation invokes system HtmlViewer passing it a content URI, and implements a content provider for serving it. The licenses file is stored inside the APK compressed, thus requiring extraction into a temporary folder prior to serving. The second attempt to land this. Unlike the previous one, does not terminate project files generation and compilation if there are license problems with third-party dirs (see the comment in webview_licenses.py). BUG=448703 Review URL: https://codereview.chromium.org/860693002 Cr-Commit-Position: refs/heads/master@{#312135}
* Revert "[Android WebView] Provide an activity for displaying OSS licenses"newt2015-01-162-34/+0
| | | | | | | | | | | | | | | | This reverts commit 7d530df80525788de5e7ae4df3253f130b365dd2. This change is causing gclient sync and gyp failures for developers and on bots. The failures seem to be caused by old directories being left around in checkouts (e.g. third_party/guava). BUG=448703 TBR=mnaganov@chromium.org NOTRY=true Review URL: https://codereview.chromium.org/859563002 Cr-Commit-Position: refs/heads/master@{#311981}
* [Android WebView] Provide an activity for displaying OSS licensesmnaganov2015-01-162-0/+34
| | | | | | | | | | | | | | | | The activity is invoked using android.settings.WEBVIEW_LICENSE intent. Current implementation invokes system HtmlViewer passing it a content URI, and implements a content provider for serving it. The licenses file is stored inside the APK compressed, thus requiring extraction into a temporary folder prior to serving. BUG=448703 Review URL: https://codereview.chromium.org/854643003 Cr-Commit-Position: refs/heads/master@{#311969}
* mmap V8 snapshot and ICU data file in the android_webviewmkosiba2015-01-091-7/+29
| | | | | | | | | | | | | | This makes it possible to mmap the V8 snapshot and ICU data file directly from the WebView APK. Doing so makes it possible to remove the android_webview_telemetry_build flag which in turns means we can build the WebView with the same set of flags that Chrome on Android uses. BUG=442338 Review URL: https://codereview.chromium.org/812393002 Cr-Commit-Position: refs/heads/master@{#310765}
* [android_webview] Disable proguard for SystemWebViewGoogle.mkosiba2014-12-151-1/+2
| | | | | | | | | | | | We were using a stale proguard config which meant that Release builds were completely broken. Turning proguard off till we fix this for real. BUG=442348 Review URL: https://codereview.chromium.org/808473003 Cr-Commit-Position: refs/heads/master@{#308380}
* [android_webview] Split out an apk folder from the glue folder.mkosiba2014-12-127-0/+167
The reason for this separation is to distinguish the glue layer code (which is shared amongst all of the WebView .apks) from the apk-specific bits (which are not shared at all). BUG=440792 Review URL: https://codereview.chromium.org/802453002 Cr-Commit-Position: refs/heads/master@{#308074}