summaryrefslogtreecommitdiffstats
path: root/third_party/ashmem
Commit message (Collapse)AuthorAgeFilesLines
* Apply gn format with 'sources' sorting to src/scottmg2015-02-281-1/+1
| | | | | | | | | | | | Application of https://codereview.chromium.org/962003002/. TBR=keybuk@chromium.org R=brettw@chromium.org BUG=456014 Review URL: https://codereview.chromium.org/960413003 Cr-Commit-Position: refs/heads/master@{#318574}
* android_webview: stop using system ashmem.torne2014-09-092-42/+9
| | | | | | | | | | | | | | | To support unbundled updates we need to stop depending on system libraries. Disable using the system ashmem APIs in libcutils and instead link Chromium's copy, and remove support for using the version in libcutils as there are no other users. This increases binary size by <1KB. BUG=409851 Review URL: https://codereview.chromium.org/550213002 Cr-Commit-Position: refs/heads/master@{#293916}
* Make GN Android build link executables.brettw@chromium.org2014-05-131-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Some minor tweaks in STL usage in GN itself to enable it to compile using the Android version of the STL. Enable this in the build (not so much because we need a GN binary on Android, but for build verification purposes). Moved the executable_ldconfig config from the linux file to the gcc one since its shared between the Linux and Android builds. Added "-Bdynamic" and "-Wl,-z,nocopyreloc" to this on Android. Moved some sysroot path components from sysroot.gni to android/config.gni (which sysroot uses) so it can be shared with the toolchain definitions. Added the android_full_debug build flag. Made the "optimize off" mode of the build match the GYP build's "light optimization" on Android contingent on this flag. Pulls out the optimize and optimize_max shared flags into one list to avoid duplication. Adds a bunch of linker optimization flags that should be passed on non-Mac Posix platforms, and turns on dead code stripping for Mac builds. Adds functionality to the gcc toolchain template to be able to insert strings before and after the libs. Adds a wrapper template for android toolchains that sets these accordingly to get the gross Android crtbegin/end files inserted in the right place on the linker line. Made the android_ndk_root variable relative to the source root rather than the system root. Uses of this now rebase according to their own needs which makes some of the arguments a lot easier to follow. Build file updates for base and libevent for Android. Implement ashmem library. The only change on desktop linux is the addition of -Wl,--fatal-warnings to the linker line. R=ajwong@chromium.org, cjhopman@chromium.org, scottmg@chromium.org Review URL: https://codereview.chromium.org/275703003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@270138 0039d316-1c4b-4281-b951-d872f2087c98
* Purge unpinned ashmem before parsing /proc/$pid/smaps.pliard@chromium.org2013-11-142-0/+11
| | | | | | | | | | | This will help stabilize memory measurements so that memory regressions can't be hidden when unpinned ashmem gets purged by the kernel. BUG=311633 Review URL: https://codereview.chromium.org/52833002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@235115 0039d316-1c4b-4281-b951-d872f2087c98
* Android WebView: tidy up library dependencies.torne@chromium.org2013-05-171-0/+5
| | | | | | | | | | | | | | | | The comment in android_webview.gyp about static library dependencies not being handled correctly is incorrect, and the workaround not necessary: the problem was just that I wasn't using link_settings correctly. Remove the workaround and instead add proper dependencies in the places that actually use cpufeatures and cutils (ashmem). This doesn't change the generated makefiles but makes more logical sense. BUG= R=digit@chromium.org Review URL: https://codereview.chromium.org/14753011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@200806 0039d316-1c4b-4281-b951-d872f2087c98
* Android WebView: use the system ashmem.torne@chromium.org2013-03-262-4/+23
| | | | | | | | | | | | | | We are already pulling in the system ashmem via other system libraries, so compiling a second copy into chrome causes linker issues. Use the system version in Chromium as well when building WebView as part of the Android build. BUG=157326 Review URL: https://chromiumcodereview.appspot.com/12674026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@190771 0039d316-1c4b-4281-b951-d872f2087c98
* Make 'License' field in third-party metadata requiredsteveblock@chromium.org2012-08-011-0/+1
| | | | | | | | | | | | | | | | This will simplify the addition of a tool to check licenses for the purpose of the Android WebView build. See also http://codereview.chromium.org/10827099 Also adds other missing fields to these README.chromium files as required by presubmit checks and fixes a regex used to enforce this. BUG=138921 Review URL: https://chromiumcodereview.appspot.com/10821103 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149423 0039d316-1c4b-4281-b951-d872f2087c98
* Added the ashmem library from Androidmichaelbai@google.com2011-06-215-0/+358
BUG= TEST= Review URL: http://codereview.chromium.org/7200011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@89833 0039d316-1c4b-4281-b951-d872f2087c98