<feed xmlns='http://www.w3.org/2005/Atom'>
<title>platform_packages_apps_Browser2, branch pie-s2-release</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_packages_apps_Browser2/'/>
<entry>
<title>Snap for 4507345 from d44f46c37f1c5226477c13c39ebfb438d8f262eb to pi-release</title>
<updated>2017-12-17T08:22:40+00:00</updated>
<author>
<name>android-build-team Robot</name>
<email>android-build-team-robot@google.com</email>
</author>
<published>2017-12-17T08:22:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_packages_apps_Browser2/commit/?id=9484cbe1f997fa4ed60ec2f37b628d0ef1cfc23b'/>
<id>9484cbe1f997fa4ed60ec2f37b628d0ef1cfc23b</id>
<content type='text'>
Change-Id: I108d0956368eaed64040c8f2c3103057a0db8857
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I108d0956368eaed64040c8f2c3103057a0db8857
</pre>
</div>
</content>
</entry>
<entry>
<title>Add android.test.base/stubs dependency</title>
<updated>2017-12-15T07:22:38+00:00</updated>
<author>
<name>Paul Duffin</name>
<email>paulduffin@google.com</email>
</author>
<published>2017-12-15T07:22:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_packages_apps_Browser2/commit/?id=d44f46c37f1c5226477c13c39ebfb438d8f262eb'/>
<id>d44f46c37f1c5226477c13c39ebfb438d8f262eb</id>
<content type='text'>
In preparation for the removal of the non-junit classes in the
android.test.base library from the android.jar this adds a dependency
on android.test.base/stubs to ensure this code will continue to
compile.

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.

* Android.mk
    Added 'android.test.base.stubs' to LOCAL_JAVA_LIBRARIES because
    Browser2's will need them in order to compile once its classes are
    removed from the current SDK on which it currently depends.

Bug: 30188076
Test: make dist
Change-Id: I15823654c5cef130b759d82b80f325463f84e10c
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In preparation for the removal of the non-junit classes in the
android.test.base library from the android.jar this adds a dependency
on android.test.base/stubs to ensure this code will continue to
compile.

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.

* Android.mk
    Added 'android.test.base.stubs' to LOCAL_JAVA_LIBRARIES because
    Browser2's will need them in order to compile once its classes are
    removed from the current SDK on which it currently depends.

Bug: 30188076
Test: make dist
Change-Id: I15823654c5cef130b759d82b80f325463f84e10c
</pre>
</div>
</content>
</entry>
<entry>
<title>Snap for 4489599 from 0611a12744806a928393e6b2b04c62072af45a45 to pi-release</title>
<updated>2017-12-07T08:27:23+00:00</updated>
<author>
<name>android-build-team Robot</name>
<email>android-build-team-robot@google.com</email>
</author>
<published>2017-12-07T08:27:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_packages_apps_Browser2/commit/?id=f227caf7aa4129dfdae5ae6523a9cec1264550c2'/>
<id>f227caf7aa4129dfdae5ae6523a9cec1264550c2</id>
<content type='text'>
Change-Id: I4939314dcb59340db82206fb1d58aa01c3de8035
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I4939314dcb59340db82206fb1d58aa01c3de8035
</pre>
</div>
</content>
</entry>
<entry>
<title>Flatten dependency hierarchy of legacy-android-test</title>
<updated>2017-12-05T18:36:56+00:00</updated>
<author>
<name>Paul Duffin</name>
<email>paulduffin@google.com</email>
</author>
<published>2017-12-05T18:36:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_packages_apps_Browser2/commit/?id=0611a12744806a928393e6b2b04c62072af45a45'/>
<id>0611a12744806a928393e6b2b04c62072af45a45</id>
<content type='text'>
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.

* Android.mk
    Replaced 'legacy-android-test' with 'android.test.runner.stubs' in
    LOCAL_JAVA_LIBRARIES because Browser2'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
    Browser2 specifies in its manifest.

Bug: 30188076
Test: make checkbuild
Change-Id: I923c3bd4433b6392628cd297f2d6a6dd88b1818c
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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.

* Android.mk
    Replaced 'legacy-android-test' with 'android.test.runner.stubs' in
    LOCAL_JAVA_LIBRARIES because Browser2'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
    Browser2 specifies in its manifest.

Bug: 30188076
Test: make checkbuild
Change-Id: I923c3bd4433b6392628cd297f2d6a6dd88b1818c
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix dependencies of packages that target earlier releases am: ffc5f72f39 am: 1980ffb6a1 am: 9180bc72bc</title>
<updated>2017-06-14T14:42:46+00:00</updated>
<author>
<name>Paul Duffin</name>
<email>paulduffin@google.com</email>
</author>
<published>2017-06-14T14:42:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_packages_apps_Browser2/commit/?id=ba4deaa4ce223143e699bb530035c5d736ab161f'/>
<id>ba4deaa4ce223143e699bb530035c5d736ab161f</id>
<content type='text'>
am: ce9866578e

Change-Id: Ia4acb03cec2baf0c79815194b747047327f4c8ba
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
am: ce9866578e

Change-Id: Ia4acb03cec2baf0c79815194b747047327f4c8ba
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix dependencies of packages that target earlier releases am: ffc5f72f39 am: 1980ffb6a1</title>
<updated>2017-06-14T14:39:55+00:00</updated>
<author>
<name>Paul Duffin</name>
<email>paulduffin@google.com</email>
</author>
<published>2017-06-14T14:39:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_packages_apps_Browser2/commit/?id=ce9866578e8dc4b47f034ed592b5947781943d1c'/>
<id>ce9866578e8dc4b47f034ed592b5947781943d1c</id>
<content type='text'>
am: 9180bc72bc

Change-Id: Id23a13594265b73d3cfd19e7cc5fe4a3e9ae19dd
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
am: 9180bc72bc

Change-Id: Id23a13594265b73d3cfd19e7cc5fe4a3e9ae19dd
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix dependencies of packages that target earlier releases am: ffc5f72f39</title>
<updated>2017-06-14T14:37:01+00:00</updated>
<author>
<name>Paul Duffin</name>
<email>paulduffin@google.com</email>
</author>
<published>2017-06-14T14:37:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_packages_apps_Browser2/commit/?id=9180bc72bcaa6d28156bc65ad2caf62aa50fd1ac'/>
<id>9180bc72bcaa6d28156bc65ad2caf62aa50fd1ac</id>
<content type='text'>
am: 1980ffb6a1

Change-Id: I7a0fa1d68711077d46198eb94d0b79602e43d911
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
am: 1980ffb6a1

Change-Id: I7a0fa1d68711077d46198eb94d0b79602e43d911
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix dependencies of packages that target earlier releases</title>
<updated>2017-06-14T14:34:24+00:00</updated>
<author>
<name>Paul Duffin</name>
<email>paulduffin@google.com</email>
</author>
<published>2017-06-14T14:34:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_packages_apps_Browser2/commit/?id=1980ffb6a1024074c91ee12ce28e65ca6df928a3'/>
<id>1980ffb6a1024074c91ee12ce28e65ca6df928a3</id>
<content type='text'>
am: ffc5f72f39

Change-Id: Ibe073c0b408c8ddf5117a23b388d5b6ee151165d
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
am: ffc5f72f39

Change-Id: Ibe073c0b408c8ddf5117a23b388d5b6ee151165d
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix dependencies of packages that target earlier releases</title>
<updated>2017-06-13T11:28:59+00:00</updated>
<author>
<name>Paul Duffin</name>
<email>paulduffin@google.com</email>
</author>
<published>2017-06-13T11:28:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_packages_apps_Browser2/commit/?id=ffc5f72f39de7f9bc956ab29d087596d0f55ef70'/>
<id>ffc5f72f39de7f9bc956ab29d087596d0f55ef70</id>
<content type='text'>
A previous change added legacy-android-test as a static dependency to
all packages that build against the current, test_current or
system_current and failed to compile when the junit and android.test
classes were removed from the API. Unfortunately, those changes did not
take into account that some of those packages target earlier API
versions and so will always have the classes available at runtime.

This change replaces those static dependencies with dynamic dependencies
for any package that targets an earlier API version. The file changes
were made automatically by a tool that constructed and then analyzed a
full dependency graph of all the Android Java modules. The individual
changes were checked manually to ensure that the changes matched the
intent. The affected modules were built against an API with the junit
and android.test classes removed. Any issues found during this process
resulted in either the tool being updated to address the issue or a
separate change being made to fix an existing problem with the build. A
sample of the affected packages were run to ensure that they worked as
expected at runtime; no issues were found during testing.

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.

* Android.mk
    Removed legacy-android-test from LOCAL_STATIC_JAVA_LIBRARIES
    because Browser2's manifest file (AndroidManifest.xml) targets API
    level 24 and dynamically includes the android.test.runner library
    at runtime so there is no point in statically including the
    classes.

    Added 'legacy-android-test' to LOCAL_JAVA_LIBRARIES because module
    Browser2 builds against 'LOCAL_SDK_VERSION := current' and uses
    classes from package android.test (possibly indirectly) so will no
    longer compile once they are removed from the API.

Bug: 30188076
Test: make checkbuild and ran a sample of tests
Change-Id: I78863420bcfd401b63b35ef5a9252024d1550b27
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
A previous change added legacy-android-test as a static dependency to
all packages that build against the current, test_current or
system_current and failed to compile when the junit and android.test
classes were removed from the API. Unfortunately, those changes did not
take into account that some of those packages target earlier API
versions and so will always have the classes available at runtime.

This change replaces those static dependencies with dynamic dependencies
for any package that targets an earlier API version. The file changes
were made automatically by a tool that constructed and then analyzed a
full dependency graph of all the Android Java modules. The individual
changes were checked manually to ensure that the changes matched the
intent. The affected modules were built against an API with the junit
and android.test classes removed. Any issues found during this process
resulted in either the tool being updated to address the issue or a
separate change being made to fix an existing problem with the build. A
sample of the affected packages were run to ensure that they worked as
expected at runtime; no issues were found during testing.

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.

* Android.mk
    Removed legacy-android-test from LOCAL_STATIC_JAVA_LIBRARIES
    because Browser2's manifest file (AndroidManifest.xml) targets API
    level 24 and dynamically includes the android.test.runner library
    at runtime so there is no point in statically including the
    classes.

    Added 'legacy-android-test' to LOCAL_JAVA_LIBRARIES because module
    Browser2 builds against 'LOCAL_SDK_VERSION := current' and uses
    classes from package android.test (possibly indirectly) so will no
    longer compile once they are removed from the API.

Bug: 30188076
Test: make checkbuild and ran a sample of tests
Change-Id: I78863420bcfd401b63b35ef5a9252024d1550b27
</pre>
</div>
</content>
</entry>
<entry>
<title>Prepare for removal of junit and android.test classes from Android API (step 1) am: bb53fd26f3 am: decae51067</title>
<updated>2017-03-03T14:46:52+00:00</updated>
<author>
<name>Paul Duffin</name>
<email>paulduffin@google.com</email>
</author>
<published>2017-03-03T14:46:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_packages_apps_Browser2/commit/?id=ca271c7361bbaafd6c8e860816836a14274a77b0'/>
<id>ca271c7361bbaafd6c8e860816836a14274a77b0</id>
<content type='text'>
am: f5d490932f

Change-Id: I046af09165cfb997465f1fbeda8fbd71147c6df0
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
am: f5d490932f

Change-Id: I046af09165cfb997465f1fbeda8fbd71147c6df0
</pre>
</div>
</content>
</entry>
</feed>
