Skip to content
Snippets Groups Projects
  1. Dec 05, 2017
    • Paul Duffin's avatar
      Flatten dependency hierarchy of legacy-android-test · 2ccdf50a
      Paul Duffin authored
      Previous changes statically included legacy-android-test in preparation
      for removing android.test.* and junit.* classes from the android.jar.
      Unfortunately, that lead to duplicate classes between APKs and the
      bootclasspath which caused build problems (Proguard) and also runtime
      problems (when targeting and running on older releases).
      
      Switching from statically including the classes to using the runtime
      libraries cannot be done in one step because legacy-android-test is
      statically included in libraries which are used in many APKs and so
      removing it from those libraries requires that all APKs be updated at
      once. Doing that atomically across dozens of projects is not practical.
      
      This change modifies APKS that statically include the
      legacy-android-test library indirectly.
      
      * If the APK manifest uses the android.test.runner library then the APK
        is modified to stop statically including legacy-android-test and
        instead build against android.test.base/mock/runner libraries instead.
      
      * Otherwise, the APK statically includes legacy-android-test.
      
      Also, any libraries that statically include are modified to stop
      statically including it and if it has source dependencies on the classes
      is changed to build against the android.test.base/mock/runner libraries.
      
      The following change descriptions were generated automatically and so
      may be a little repetitive. They are provided to give the reviewer
      enough information to check the comments match what has actually been
      changed and check the reasoning behind the changes.
      
      * tests/Android.mk
          Replaced 'legacy-android-test' with 'android.test.runner.stubs' in
          LOCAL_JAVA_LIBRARIES because LatinIMETests's source depends on its
          classes. The classes do not need to be statically included because
          the classes will be provided by the runtime, either from the
          default bootclasspath or from the android.test.runner library that
          LatinIMETests specifies in its manifest.
      
      Bug: 30188076
      Test: make checkbuild
      Change-Id: I3c70889b35d402626f79c986771b9c2ea8823b8a
      2ccdf50a
  2. Dec 01, 2017
  3. Nov 30, 2017
  4. Nov 29, 2017
  5. Nov 26, 2017
  6. Nov 20, 2017
  7. Nov 16, 2017
    • Paul Duffin's avatar
      Use a.t.mock.stubs instead of a.t.mock.sdk · 097130d1
      Paul Duffin authored
      Remove dependencies on android.test.mock.sdk as it is a duplicate of
      android.test.mock.stubs and will be removed.
      
      The following change descriptions were generated automatically and so
      may be a little repetitive. They are provided to give the reviewer
      enough information to check the comments match what has actually been
      changed and check the reasoning behind the changes.
      
      * tests/Android.mk
          Replaced 'android.test.mock.sdk' with 'android.test.mock.stubs' in
          LOCAL_JAVA_LIBRARIES because android.test.mock.sdk has been
          deprecated.
      
      Bug: 30188076
      Test: make checkbuild
      Change-Id: I50a306c3bb80a9d7cdf2d19744734f304abf3bd1
      097130d1
  8. Nov 15, 2017
  9. Nov 13, 2017
  10. Nov 07, 2017
    • Bill Yi's avatar
      Import translations. DO NOT MERGE · 99a877b0
      Bill Yi authored
      Change-Id: Id418d38eb98ab8208f06e5c7af1ca796296937dd
      Auto-generated-cl: translation import
      Exempt-From-Owner-Approval: translation import
      99a877b0
  11. Nov 03, 2017
  12. Nov 02, 2017
  13. Oct 31, 2017
    • Bill Yi's avatar
      Import translations. DO NOT MERGE · bd08799b
      Bill Yi authored
      Change-Id: Ibbdbe5ae6503c20da9a53d82ee2cb3d68e11a397
      Auto-generated-cl: translation import
      Exempt-From-Owner-Approval: translation import
      bd08799b
  14. Oct 30, 2017
  15. Oct 20, 2017
Loading