summaryrefslogtreecommitdiffstats
path: root/NativeCode.mk
Commit message (Collapse)AuthorAgeFilesLines
* am 60e4a65d: am 916c54b2: Merge "Enable host multilib for ART testing."Ian Rogers2014-06-251-0/+1
|\ | | | | | | | | * commit '60e4a65d7c30ea0b5456933db9a1aa75e4a3f645': Enable host multilib for ART testing.
| * Enable host multilib for ART testing.Ian Rogers2014-06-171-0/+1
| | | | | | | | Change-Id: I7827331202482e28e824fc6583f590ddadaa2087
* | am 209d4528: am 0a58ece3: Merge "Fix Mac build."Ian Rogers2014-06-111-1/+4
|\ \ | |/ | | | | | | * commit '209d452845cb371854a940455e60496b029ac422': Fix Mac build.
| * Fix Mac build.Ian Rogers2014-06-101-1/+4
| | | | | | | | Change-Id: I32fdb9dabbc87d49e0be82ea39c2eea6f452fd6f
* | am cc6d37df: am 4aa9da3f: Merge "Build fix."Ian Rogers2014-06-111-1/+1
|\ \ | |/ | | | | | | * commit 'cc6d37df1373291d98718f7c93dbb5cd65d4c0bb': Build fix.
| * Build fix.Ian Rogers2014-06-091-1/+1
| | | | | | | | Change-Id: I52559cfcc806dfe0d8682be50a6078cb678e4169
* | am a97fc534: am a3f1cb68: Merge "Remove deprecated WITH_HOST_DALVIK."Ian Rogers2014-06-111-17/+15
|\ \ | |/ | | | | | | * commit 'a97fc53412f89f211433406d86e5674def6d3314': Remove deprecated WITH_HOST_DALVIK.
| * Remove deprecated WITH_HOST_DALVIK.Ian Rogers2014-06-091-17/+15
| | | | | | | | | | | | | | | | | | | | Bug: 13751317 Fix the Mac host build: - conditionally define constants using pre-existing pattern, - make Posix calls that the Mac doesn't support throw UnsupportedOperationException. Change-Id: Ib68887cbe36ab167d042eb96c7834bce0651b078
* | am 9de62953: am 694b7052: am 697dc169: Merge "Build libcore native code on ↵Ian Rogers2014-05-231-0/+2
|\ \ | |/ | | | | | | | | | | the host with clang." * commit '9de62953e121019594298b79c07cc7c1d5c956f2': Build libcore native code on the host with clang.
| * Build libcore native code on the host with clang.Ian Rogers2014-05-231-0/+2
| | | | | | | | | | Bug: 13751317 Change-Id: I9932b60b892d878bdac9ab30a37621f26910f358
* | Add support for network-specific host name resolution.Paul Jensen2014-05-131-1/+1
|/ | | | | | For now all such support is hidden. Change-Id: I932f73158a8f6e3ccc36c319d138180dff2aa070
* Finish moving away from LD_LIBRARY_PATH on Android.Elliott Hughes2014-04-031-1/+1
| | | | | | | | We'll still use LD_LIBRARY_PATH if it's set, for testing or for the host, but we now ask the dynamic linker what to do. Bug: 12585421 Change-Id: I1457a63ead89fa8f8aeabc002c0b9038295b886e
* Add libutils dependency for libziparchive.Narayan Kamath2013-12-111-2/+2
| | | | Change-Id: Ie5f4e20eb19a17d37abf8720e4bfeade6c248967
* Add a JNI wrapper over libziparchive.Narayan Kamath2013-12-061-2/+2
| | | | | | | | | | | | | | | | | | All functions delegate directly to the native code. We do not perform any sort of central directory or local file related lookups in the java layer. For each entry, libziparchive gives us an offset to the start of data for the entry and the compressed size. We use a RandomAccessFile to seek to that offset and then construct an InputStream that's bounded between [offset, offset + compressed_size). We reuse existing code (JarVerifier / Manifest) for certificate validation & collection. bug: 10193060 Change-Id: I21eb4e6dc6aa8749e3f63830f9799e1f621d26e6
* A simple set of JNI argument passing tests.Ian Rogers2013-11-051-0/+1
| | | | | | Change-Id: Ibf2051fae4b5026a4a14fcdc27be71415520d117 (cherry picked from commit cd8016c67b7f215bf374467257ede53197c44423)Conflicts:
* Split Conscrypt makefile out from libcoreKenny Root2013-09-161-47/+0
| | | | Change-Id: I6c12a0e038a86b186b5d88b9f0ff28b8480b4aed
* Conscrypt: remove dependence on stlportKenny Root2013-09-111-1/+0
| | | | | | | This helps with unbundling of Conscrypt by not forcing the app to include a static version of stlport in their program. Change-Id: I5bd17213059b8ae4d8d86921d82b43465253a62f
* Fixed interruption of blocked SSLSocket via Socket.close()Brian Carlstrom2013-09-101-9/+6
| | | | | | | | Bug: 10599593 (cherry picked from commit 3f17b9a79c4331504f32d34ce46adf7a78870f87) Change-Id: I1bffa8189d64aa8ee0aa1ac414359aecb71934a5
* Move conscrypt out libjavacore and split testsKenny Root2013-08-301-5/+39
| | | | | | | | | To make the situation with testing a little better and enable building core libraries totally independent of conscrypt, move the native registration to a JNI_OnLoad scheme. Also, since we want to separate the testing, make conscrypt build its own tests library. Change-Id: I9f2831839059c1c012ec7bdeab2f90b4e2f44bfd
* Move libcore to C++11.Elliott Hughes2013-08-121-0/+1
| | | | Change-Id: I1942be8f7cef51265d53272f36a217e88bfede94
* Bring NativeCode.mk in line with the internal copy.Elliott Hughes2013-07-301-5/+4
| | | | Change-Id: I4b42be83871a852d087ff9da6eeca8c5a08b1f19
* Fix libcore's NativeCode.mk so we actually compile with -Werror.Elliott Hughes2013-07-301-43/+23
| | | | Change-Id: Ib665ea7c6f54e43851bc04f0265e65218407c70f
* Move System.currentTimeMillis, nanoTime, and mapLibraryName into the library.Elliott Hughes2013-06-071-1/+1
| | | | | | (cherry-picked from commit 37d6cc06f62b2029663137a1b8c18242152c1e97) Change-Id: I3b3aa3f508b9c6f43b27022cd8bc9aa82e630e01
* Tracking libnativehelper dependenciesBrian Carlstrom2013-05-101-0/+1
| | | | Change-Id: Icf5c2a3989f4bf8adf084bcb03001b53189c0309
* Add -host suffix for master changesKenny Root2013-05-021-1/+1
| | | | | | (cherry picked from commit 518022767ec57e73205e5365de23a15076419364) Change-Id: I7a16bfd5213837a65062b7b7d78f610679cbf441
* Merge "NativeCrypto: build native library standalone"Kenny Root2013-05-021-0/+15
|\
| * NativeCrypto: build native library standaloneKenny Root2013-05-021-0/+15
| | | | | | | | Change-Id: I678f5c1b985d72ab1d41ae22dfcae35814c44e85
* | Tracking changes to *-host for host shared librariesBrian Carlstrom2013-05-011-32/+10
|/ | | | Change-Id: I88dd48b09b9148246884a1c84b26787500c24569
* Move JSSE to new packageKenny Root2013-04-291-2/+3
| | | | | | | | To help with shipping the JSSE with apps that want to bundle it, move it to a new package so that the tangles in other parts of the library can be untangled. Change-Id: I810b6861388635301e28aee5b9b47b8e6b35b430
* Change native test module nameKenny Root2013-02-011-2/+2
| | | | Change-Id: Ie4f9c5a2fb440d8455748bc30949b8b956d75625
* NativeCrypto: add test base for OpenSSL ENGINEsKenny Root2013-01-281-0/+66
| | | | | | | This sets up some of the testing infrastructure to allow us to test all the ENGINE-related test paths in the NativeCrypto code. Change-Id: I21f3dbebbaa90327d48a99020ae3a3e90624cc75
* Add dependencies on the makefiles.Elliott Hughes2012-08-281-0/+3
| | | | | | | I've been enjoying this in bionic for a while now, and was annoyed not to have make do the right thing in libcore. Change-Id: Idcd2db48349202259887499a1f47d85c5d205d54
* Stop using -fvisibility=hidden.Elliott Hughes2012-08-011-3/+0
| | | | | | | | | | | It breaks backtraces, and backtraces are useful. (The debugger uses the ELF debug info, so it doesn't care, but backtracing just uses the symbols.) (cherry-pick of da2fb9754a9ccfa954c1b554982f06e7cf7d680a.) Bug: 6447213 Change-Id: I957df0e935b61bcf5fefc0e506ecdaa862bc7d07
* Make libjavacore independent of libnativehelper for the PDK.Elliott Hughes2012-05-041-5/+8
| | | | | Bug: 6369821 Change-Id: Ie038571a5dac1f301c0c3c6fb84df432e67b62c0
* am 617f435b: am 8d778522: am 61f172cd: Merge "Simplify and speed up makefile."Jean-Baptiste Queru2012-04-241-14/+1
|\ | | | | | | | | * commit '617f435b7decc07c3721b45edb0f4e7c4c2e54a5': Simplify and speed up makefile.
| * Simplify and speed up makefile.Jean-Baptiste Queru2012-04-191-14/+1
| | | | | | | | | | | | | | | | | | | | No need to shell out just to find 2 makefiles that very rarely change. As an added bonus, this fixes a bug that appears when the cd command actually prints some output, which it does when certain environment variables are set. Change-Id: Iab7a738c2ca62f3c591c3bf1f47b70407b90e99a
* | Restrict -fvisibility-inlines-hidden to C++ codeAndy McFadden2012-01-201-1/+4
| | | | | | | | | | | | | | | | | | | | | | gcc objects to using -fvisibility-inlines-hidden with C code: cc1: error: command line option "-fvisibility-inlines-hidden" is valid for C++/ObjC++ but not for C Move it from CFLAGS to CPPFLAGS. Change-Id: I151530748b0d083d8edb50df94db23d101ad01c6
* | Remove static libraries from static library module.Ying Wang2011-11-071-2/+0
|/ | | | | | | | | Bug: 5573756 Static library does not link against libraries. The listed host libraries actually don't exist. We need this change to fix bug 5573756. Change-Id: I2e6f53c87b9506e8caaa701ef5b62ae578d8ef5b
* Remove the simulator target from all makefiles.Jeff Brown2011-07-111-2/+0
| | | | | | Bug: 5010576 Change-Id: Id881173e71e4f3a76abd46e209bb63e0248ec1e0
* Avoid loading all CA certs into Zygote memory, lazily load instead (2 of 3)Brian Carlstrom2011-04-291-13/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously the CA certs stored in the BKS KeyStore at /system/etc/security/cacerts.bks was loaded in the Zygote. As the the number of CAs are started to increase, this is causing more and more memory to be used for rarely used CAs. The new AndroidCAStore KeyStore implementation reads the CAs as needed out of individual PEM certificate files. The files can be efficiently found because they are named based on a hash CA's subject name, similar to OpenSSL. Bug: 1109242 Details: build Removing old cacerts.bks from GRANDFATHERED_ALL_PREBUILT and adding new cacerts directory to core PRODUCT_PACKAGES core/legacy_prebuilts.mk target/product/core.mk libcore cacerts build changes. Move cacerts prebuilt logic to new CaCerts.mk from NativeCode.mk where it didn't make sense. Updated Android.mk's dalvik-host target to install new cacerts files. Android.mk CaCerts.mk NativeCode.mk Remove old cacerts.bks and add remove certimport.sh script used to generate it. Preserved the useful comments from certimport.sh in the new README.cacerts luni/src/main/files/cacerts.bks luni/src/main/files/certimport.sh luni/src/main/files/README.cacerts Recanonicalize cacerts files using updated vendor/google/tools/cacerts/certimport.py (See below discussion of certimport.py changes for details) luni/src/main/files/cacerts/00673b5b.0 luni/src/main/files/cacerts/03e16f6c.0 luni/src/main/files/cacerts/08aef7bb.0 luni/src/main/files/cacerts/0d188d89.0 luni/src/main/files/cacerts/10531352.0 luni/src/main/files/cacerts/111e6273.0 luni/src/main/files/cacerts/1155c94b.0 luni/src/main/files/cacerts/119afc2e.0 luni/src/main/files/cacerts/11a09b38.0 luni/src/main/files/cacerts/12d55845.0 luni/src/main/files/cacerts/17b51fe6.0 luni/src/main/files/cacerts/1920cacb.0 luni/src/main/files/cacerts/1dac3003.0 luni/src/main/files/cacerts/1dbdda5b.0 luni/src/main/files/cacerts/1dcd6f4c.0 luni/src/main/files/cacerts/1df5ec47.0 luni/src/main/files/cacerts/1e8e7201.0 luni/src/main/files/cacerts/1eb37bdf.0 luni/src/main/files/cacerts/219d9499.0 luni/src/main/files/cacerts/23f4c490.0 luni/src/main/files/cacerts/27af790d.0 luni/src/main/files/cacerts/2afc57aa.0 luni/src/main/files/cacerts/2e8714cb.0 luni/src/main/files/cacerts/2fa87019.0 luni/src/main/files/cacerts/2fb1850a.0 luni/src/main/files/cacerts/33815e15.0 luni/src/main/files/cacerts/343eb6cb.0 luni/src/main/files/cacerts/399e7759.0 luni/src/main/files/cacerts/3a3b02ce.0 luni/src/main/files/cacerts/3ad48a91.0 luni/src/main/files/cacerts/3c58f906.0 luni/src/main/files/cacerts/3c860d51.0 luni/src/main/files/cacerts/3d441de8.0 luni/src/main/files/cacerts/3e7271e8.0 luni/src/main/files/cacerts/418595b9.0 luni/src/main/files/cacerts/455f1b52.0 luni/src/main/files/cacerts/46b2fd3b.0 luni/src/main/files/cacerts/48478734.0 luni/src/main/files/cacerts/4d654d1d.0 luni/src/main/files/cacerts/4e18c148.0 luni/src/main/files/cacerts/4fbd6bfa.0 luni/src/main/files/cacerts/5021a0a2.0 luni/src/main/files/cacerts/5046c355.0 luni/src/main/files/cacerts/524d9b43.0 luni/src/main/files/cacerts/56b8a0b6.0 luni/src/main/files/cacerts/57692373.0 luni/src/main/files/cacerts/58a44af1.0 luni/src/main/files/cacerts/594f1775.0 luni/src/main/files/cacerts/5a3f0ff8.0 luni/src/main/files/cacerts/5a5372fc.0 luni/src/main/files/cacerts/5cf9d536.0 luni/src/main/files/cacerts/5e4e69e7.0 luni/src/main/files/cacerts/60afe812.0 luni/src/main/files/cacerts/635ccfd5.0 luni/src/main/files/cacerts/67495436.0 luni/src/main/files/cacerts/69105f4f.0 luni/src/main/files/cacerts/6adf0799.0 luni/src/main/files/cacerts/6e8bf996.0 luni/src/main/files/cacerts/6fcc125d.0 luni/src/main/files/cacerts/72f369af.0 luni/src/main/files/cacerts/72fa7371.0 luni/src/main/files/cacerts/74c26bd0.0 luni/src/main/files/cacerts/75680d2e.0 luni/src/main/files/cacerts/7651b327.0 luni/src/main/files/cacerts/76579174.0 luni/src/main/files/cacerts/7999be0d.0 luni/src/main/files/cacerts/7a481e66.0 luni/src/main/files/cacerts/7a819ef2.0 luni/src/main/files/cacerts/7d3cd826.0 luni/src/main/files/cacerts/7d453d8f.0 luni/src/main/files/cacerts/81b9768f.0 luni/src/main/files/cacerts/8470719d.0 luni/src/main/files/cacerts/84cba82f.0 luni/src/main/files/cacerts/85cde254.0 luni/src/main/files/cacerts/86212b19.0 luni/src/main/files/cacerts/87753b0d.0 luni/src/main/files/cacerts/882de061.0 luni/src/main/files/cacerts/895cad1a.0 luni/src/main/files/cacerts/89c02a45.0 luni/src/main/files/cacerts/8f7b96c4.0 luni/src/main/files/cacerts/9339512a.0 luni/src/main/files/cacerts/9685a493.0 luni/src/main/files/cacerts/9772ca32.0 luni/src/main/files/cacerts/9d6523ce.0 luni/src/main/files/cacerts/9dbefe7b.0 luni/src/main/files/cacerts/9f533518.0 luni/src/main/files/cacerts/a0bc6fbb.0 luni/src/main/files/cacerts/a15b3b6b.0 luni/src/main/files/cacerts/a3896b44.0 luni/src/main/files/cacerts/a7605362.0 luni/src/main/files/cacerts/a7d2cf64.0 luni/src/main/files/cacerts/ab5346f4.0 luni/src/main/files/cacerts/add67345.0 luni/src/main/files/cacerts/b0f3e76e.0 luni/src/main/files/cacerts/bc3f2570.0 luni/src/main/files/cacerts/bcdd5959.0 luni/src/main/files/cacerts/bda4cc84.0 luni/src/main/files/cacerts/bdacca6f.0 luni/src/main/files/cacerts/bf64f35b.0 luni/src/main/files/cacerts/c0cafbd2.0 luni/src/main/files/cacerts/c215bc69.0 luni/src/main/files/cacerts/c33a80d4.0 luni/src/main/files/cacerts/c527e4ab.0 luni/src/main/files/cacerts/c7e2a638.0 luni/src/main/files/cacerts/c8763593.0 luni/src/main/files/cacerts/ccc52f49.0 luni/src/main/files/cacerts/cdaebb72.0 luni/src/main/files/cacerts/cf701eeb.0 luni/src/main/files/cacerts/d16a5865.0 luni/src/main/files/cacerts/d537fba6.0 luni/src/main/files/cacerts/d64f06f3.0 luni/src/main/files/cacerts/d777342d.0 luni/src/main/files/cacerts/d8274e24.0 luni/src/main/files/cacerts/dbc54cab.0 luni/src/main/files/cacerts/ddc328ff.0 luni/src/main/files/cacerts/e48193cf.0 luni/src/main/files/cacerts/e60bf0c0.0 luni/src/main/files/cacerts/e775ed2d.0 luni/src/main/files/cacerts/e7b8d656.0 luni/src/main/files/cacerts/e8651083.0 luni/src/main/files/cacerts/ea169617.0 luni/src/main/files/cacerts/eb375c3e.0 luni/src/main/files/cacerts/ed049835.0 luni/src/main/files/cacerts/ed524cf5.0 luni/src/main/files/cacerts/ee7cd6fb.0 luni/src/main/files/cacerts/f4996e82.0 luni/src/main/files/cacerts/f58a60fe.0 luni/src/main/files/cacerts/f61bff45.0 luni/src/main/files/cacerts/f80cc7f6.0 luni/src/main/files/cacerts/fac084d7.0 luni/src/main/files/cacerts/facacbc6.0 luni/src/main/files/cacerts/fde84897.0 luni/src/main/files/cacerts/ff783690.0 Change IntegralToString.intToHexString to take width argument to allow for leading zero padding. Updated existing callers to specify 0 padding desired. Add testing of new padding functionality. luni/src/main/java/java/lang/Character.java luni/src/main/java/java/lang/Integer.java luni/src/main/java/java/lang/IntegralToString.java luni/src/test/java/libcore/java/lang/IntegralToStringTest.java Improved to throw Exceptions with proper causes luni/src/main/java/java/security/KeyStore.java luni/src/main/java/java/security/Policy.java luni/src/main/java/java/security/cert/CertificateFactory.java luni/src/main/java/javax/crypto/Cipher.java luni/src/main/java/org/apache/harmony/xnet/provider/jsse/OpenSSLSignature.java Indentation fixes luni/src/main/java/java/security/SecureRandom.java Fix X509CRLSelector.getIssuerNames to clone result and added test to cover this. luni/src/main/java/java/security/cert/X509CRLSelector.java luni/src/test/java/libcore/java/security/cert/X509CRLSelectorTest.java Fixed bug where we created an X500Principal via a String representation instead of from its original encoded bytes. This led to a difficult to track down bug where CA 418595b9.0 where the NativeCode.X509_NAME_hash of a Harmony (but not BouncyCastle) X509Certificate would not hash to the expected value because the encoded form used an ASN.1 PrintableString instead of the UTF8String form found in the original certificate. luni/src/main/java/org/apache/harmony/security/x501/Name.java Add a new RootKeyStoreSpi and register it as the AndroidCAStore. This new read-only KeyStore implementation that looks for certificates in $ANDROID_ROOT/etc/security/cacerts/ directory, which is /system/etc/security/cacerts/ on devices. The files are stored in the directory based on the older md5 based OpenSSL X509_NAME_hash function (now referred to as X509_NAME_hash_old in OpenSSL 1.0) luni/src/main/java/org/apache/harmony/xnet/provider/jsse/RootKeyStoreSpi.java luni/src/main/java/org/apache/harmony/xnet/provider/jsse/JSSEProvider.java Added OpenSSL compatible X509_NAME_hash and X509_NAME_hash_old functions for producting an int hash value from an X500Principal. luni/src/main/java/org/apache/harmony/xnet/provider/jsse/NativeCrypto.java Changed TrustManagerFactoryImpl to use AndroidCAStore for its default KeyStore luni/src/main/java/org/apache/harmony/xnet/provider/jsse/TrustManagerFactoryImpl.java Changed TrustManagerImpl to be AndroidCAStore aware. If it detects an AndroidCAStore, it avoids generating the acceptedIssuers array at constructions, since doing so would force us to parse all certificates in the store and the value is only typically used by SSLServerSockets when requesting a client certifcate. Because we don't load all the trusted CAs into the IndexedPKIXParameters at startup in the case of AndroidCAStore, we now check for new CAs when examining the cert chain for unnecessary TrustAnchors and for a newly discovered issuer at the end of the chain before validation. luni/src/main/java/org/apache/harmony/xnet/provider/jsse/TrustManagerImpl.java Updated KeyStoreTest to cope with read only KeyStore. Update test_cacerts_bks (now renamed test_cacerts) to use the AndroidCAStore for validating system CA certificate validity. Register AndroidCAStore as an expected KeyStore type with StandardNames. luni/src/test/java/libcore/java/security/KeyStoreTest.java support/src/test/java/libcore/java/security/StandardNames.java Added test of X500Principal serialization while investigating Name encoding issue. However, the actual Name bug was found and verified by the new test_cacerts test. luni/src/test/java/libcore/javax/security/auth/x500/X500PrincipalTest.java vendor/google Change canonical format for checked in cacerts to have PEM certificate at the top, as required by Harmony's X.509 CertificateFactory. tools/cacerts/certimport.py Change-Id: If0c9de430f13babb07f96a1177897c536f3db08d
* Use -fvisibility and clean up a little.Elliott Hughes2011-03-081-1/+4
| | | | | | | The visibility change isn't obviously useful, but it's a good excuse to clean up some of our networking code a little. Change-Id: I165b32b9c76a3707c512e07de07992f63673ab4f
* Tell editors that these are Makefiles (or fragments thereof).Elliott Hughes2011-01-071-1/+2
| | | | Change-Id: I0c5e29ac750b9605b1e8f823d6998d31a933b7a4
* resolved conflicts for merge of bb253213 to dalvik-devBrian Carlstrom2010-11-221-2/+2
|\ | | | | | | Change-Id: I12581fd722a67fd43c5d366327af2bb0ce0dd8e0
| * Fix the libcore part of the simulator build.Marco Nelissen2010-11-221-2/+2
| | | | | | | | Change-Id: Id7af848e09c27006a566e6600793f45364e943d3
* | resolved conflicts for merge of 18fb450a to dalvik-devBrian Carlstrom2010-11-191-2/+8
|\ \ | |/ | | | | Change-Id: I5f7884af56908adbdb9b9ab5799b5b7d0f7f51cc
| * Fix for simulator build, no stlport in simulatorKristian Monsen2010-11-191-1/+6
| | | | | | | | Change-Id: I2c2e8f443ddad6b65a29b2fd6ba1ff1d6e76fafc
| * Move from MAX/MIN to std::max/std::minBrian Carlstrom2010-11-101-1/+1
| | | | | | | | Change-Id: I2296a39ab1fb9c02575702476170a2f68d7de02f
* | Rewrite File.getCanonicalPath.Elliott Hughes2010-11-081-2/+2
|/ | | | | | | | | | | | | | | | My original plan was to just rely on the fixed realpath(3), but it turns out that Java's behavior is quite different from the C library's in cases where path elements don't exist. I also wasn't particularly excited about introducing a fixed-length buffer. To that end, I've added a native implementation of getCanonicalPath. I've also improved the getAbsolutePath and getCanonicalPath documentation. This patch also makes File.absolutePath transient, a regression in gingerbread which uselessly bloated File's serialized form. Bug: 2281992 Change-Id: Iff94eee07fe574251c1188b2b2eb71f585c81c6a
* Add optional tags to libcore.Jesse Wilson2010-09-161-0/+2
| | | | Change-Id: Iac339144ed448848c96852da8d301d528ebfa0e6
* Make the bouncy castle keystore available for the host build.Jesse Wilson2010-09-131-1/+2
| | | | Change-Id: I1d126f594808d748af0662032f9dff5ee69377e6