1. 30 Aug, 2013 3 commits
    • Kenny Root's avatar
      Move conscrypt out libjavacore and split tests · 61a12418
      Kenny Root authored
      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.
      
      (cherry picked from commit ba07db54)
      
      Bug: 10092469
      Change-Id: Ie0e9b73d05236a9bd02fbb66cb1a5da4ec34df45
      61a12418
    • Kenny Root's avatar
      Change conscrypt-nojarjar to a static library · a7cf230b
      Kenny Root authored
      This doesn't need to be a shared library, so we can just use a static
      library.
      
      (cherry picked from commit 69314139)
      
      Bug: 10092469
      Change-Id: I3c57ca8594a4d3efcfd5d9d2aea01c13ee555dd7
      a7cf230b
    • Kenny Root's avatar
      Move support library to a separate static library · 4616c7f8
      Kenny Root authored
      frameworks/base/core/tests/coretests uses the libcore/support/* classes
      for SSL-based tests. Instead of including core-tests itself, we need to
      split out the support classes to its own library to keep frameworks
      tests below the dex method limit.
      
      (cherry picked from commit b397b19a)
      
      Bug: 10092469
      Change-Id: Ib9b1dd60cb778dba79afcbe3001749d82afa99d2
      4616c7f8
  2. 24 Jul, 2013 2 commits
  3. 25 Jun, 2013 1 commit
  4. 22 May, 2013 1 commit
  5. 13 May, 2013 1 commit
  6. 30 Apr, 2013 1 commit
  7. 29 Apr, 2013 1 commit
    • Kenny Root's avatar
      Move JSSE to new package · 38375a4d
      Kenny Root authored
      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
      38375a4d
  8. 05 Apr, 2013 1 commit
  9. 03 Apr, 2013 1 commit
  10. 08 Feb, 2013 1 commit
  11. 18 Jan, 2013 2 commits
  12. 08 Nov, 2012 1 commit
  13. 19 Oct, 2012 1 commit
  14. 18 Oct, 2012 1 commit
  15. 29 Aug, 2012 1 commit
    • Elliott Hughes's avatar
      Add dependencies on the makefiles. · 73d3e262
      Elliott Hughes authored
      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
      73d3e262
  16. 24 Aug, 2012 1 commit
  17. 23 Aug, 2012 1 commit
  18. 22 Aug, 2012 1 commit
    • Ying Wang's avatar
      Remove obsolete variables. · ff053c36
      Ying Wang authored
      Bug: 6987838
      - Now emma is only enabled for apks.
      - Global var  EMMA_INSTRUMENT_STATIC tells to build emma as static
        library to each module with emma enabled.
      
      Change-Id: I1f3831ca3bbb3bc4fcc3c049fe80993a5cdc177a
      ff053c36
  19. 17 Apr, 2012 1 commit
  20. 07 Jun, 2011 1 commit
  21. 06 Jun, 2011 1 commit
    • Ying Wang's avatar
      Quote the filename before passing to jar. · 43624e7f
      Ying Wang authored
      Jar arg list file can not handle correctly if file name with "#" in it
      is not quoted.
      Also change to use a module specific tmp directory, instead of out/tmp.
      
      Change-Id: I2b73f0826f845381a8457f0d342c736bea33a7c2
      43624e7f
  22. 28 Apr, 2011 1 commit
  23. 25 Mar, 2011 1 commit
    • Brian Carlstrom's avatar
      Import SamplingProfiler from http://code.google.com/p/dalvik/ · cfa84a2a
      Brian Carlstrom authored
      cp ~/android/dalvik/profiler/src/main/java/dalvik/profiler/* ~/android/master/libcore/dalvik/src/main/java/dalvik/system/profiler/
      cp ~/android/dalvik/profiler/src/test/java/dalvik/profiler/* ~/android/master/libcore/dalvik/src/test/java/dalvik/system/profiler/
      perl -p -i -e 's/package dalvik.profiler;/package dalvik.system.profiler;/' ~/android/master/libcore/dalvik/src/*/java/dalvik/system/profiler/*.java
      perl -p -i -e 's/import dalvik.profiler./import dalvik.system.profiler./' ~/android/master/libcore/dalvik/src/*/java/dalvik/system/profiler/*.java
      
      Change-Id: Iae3f63327f4a9dde7f037e69c22057e2ea704aaa
      cfa84a2a
  24. 18 Mar, 2011 2 commits
  25. 07 Mar, 2011 2 commits
  26. 02 Mar, 2011 1 commit
    • Brian Carlstrom's avatar
      Removing cts dependency on AllTests for running core-tests · 302e330b
      Brian Carlstrom authored
      Summary:
      - rewrote CollectAllTests to not depend on now deleted AllTests
      - flattened core-tests into one static jar (enh)
      - used static lib in cts build process
      
      Details:
      
      build
      
          allow static libraries to contain resources
          used by core-tests module
      	core/java_library.mk
      
          collapse CTS_CORE_CASE_LIST to android.core.tests.libcore
          change generate-core-test-description to take a jar of tests to run instead of an AllTests class name
          move common options from callers of generate-core-test-description to its definition
          updated classpath for running generate-core-test-description for libcore tests
      	core/tasks/cts.mk
      
      cts
      
          Restore temporarily disabled cts build
      	tests/core/Android.mk
      
          Updated BUILD_CTSCORE_PACKAGE
          - don't overwrite LOCAL_STATIC_JAVA_LIBRARIES, just append to it so we can use a static library to build android.core.tests.libcore
          - clarify some comments
          - change some @ to $(hide) to clarify operations in showcommands
          - update rules now that input is a static library
      	tests/core/ctscore.mk
      
          New android.core.tests.libcore built from static core-tests library
          Note dummy file is necessary for build to process static library into an APK.
          I first tried to change build to allow a package with only a static library
          but it would require changing how static libraries are packed in to APK,
          which right now is done at the time Java sources are compiled.
      	tests/core/libcore/Android.mk
      	tests/core/libcore/AndroidManifest.xml
      	tests/core/libcore/src/Dummy.java
      
          Removing old core-tests packages
      	tests/core/dom/Android.mk
      	tests/core/dom/AndroidManifest.xml
      	tests/core/luni-io/Android.mk
      	tests/core/luni-io/AndroidManifest.xml
      	tests/core/luni-lang/Android.mk
      	tests/core/luni-lang/AndroidManifest.xml
      	tests/core/luni-net/Android.mk
      	tests/core/luni-net/AndroidManifest.xml
      	tests/core/luni-util/Android.mk
      	tests/core/luni-util/AndroidManifest.xml
      	tests/core/xml/Android.mk
      	tests/core/xml/AndroidManifest.xml
      
           Rewrite of logic in CollectAllTests for finding tests to run.
           Previously it acted as a JUnit TestRunner for a specific TestSuite,
           with the runner modified to do no-op runs just to collect the names of tests.
           Now it takes a jar file argument and walks the entries looking for TestCase
           classes and then walking the methods to find the tests.
      
      	tools/utils/CollectAllTests.java
      
      libcore
      
          fix all-test-java-files-under to work like all-main-java-files-under (to support multiple directories)
          flatten separate core-tests-* into core-tests
          make core-tests a static Java library, avoiding dex overhead (which will only now be done when building CTS packages)
          remove old RI core-tests.jar build which seems obsolete given our use of vogar
          removd core-tests-supportlib since core-tests can now be used in its place
      
      	JavaLibrary.mk
      
      frameworks/base
      
          Change tracking move from core-tests-supportlib to core-tests
      
      	core/tests/coretests/Android.mk
      
      Change-Id: Id5d965dd96d257544ce27a1e0fcde65901e9c573
      302e330b
  27. 22 Feb, 2011 1 commit
  28. 14 Jan, 2011 1 commit
  29. 10 Jan, 2011 1 commit
  30. 06 Jan, 2011 1 commit
    • Brian Carlstrom's avatar
      Add libcore-docs target · dc3c1528
      Brian Carlstrom authored
      Add a local droiddoc target that cuts the review time for javadoc
      changes from several minutes to less than a minute.
      
      Docs.mk is the list of directories to javadoc within libcore that was
      refactored from frameworks/base/Android.mk
      
      Change-Id: I5c12b48e71b849c2883ebaafaddea5f6c6dea857
      dc3c1528
  31. 14 Dec, 2010 1 commit
    • Elliott Hughes's avatar
      Building libcore in master is spam city. Fix that. · 48d0b3ff
      Elliott Hughes authored
      Actually, this is more of a workaround. The real fix would be:
      
      1. work out why @SuppressWarnings("unchecked") isn't working.
      2. move the XML crap (which we're not maintaining, and where we don't fix
         warnings) out into external/.
      3. uncomment the commented-out line in this patch.
      
      (I've fixed our real non-"unchecked" warnings in earlier patches.)
      
      Change-Id: I5a2dcb071eef5b46c8f166f9492d56cfdb5c6fa5
      48d0b3ff
  32. 12 Oct, 2010 1 commit
  33. 16 Sep, 2010 1 commit
  34. 14 Sep, 2010 1 commit