<feed xmlns='http://www.w3.org/2005/Atom'>
<title>platform_external_protobuf, branch pie-gsi</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_external_protobuf/'/>
<entry>
<title>Snap for 4641295 from 411501423307c29a160affef03485fd8000b3c1d to pi-release</title>
<updated>2018-03-08T08:24:16+00:00</updated>
<author>
<name>android-build-team Robot</name>
<email>android-build-team-robot@google.com</email>
</author>
<published>2018-03-08T08:24:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_external_protobuf/commit/?id=50b8bd8e0bcbecd5e1646106e0333556179bd2e7'/>
<id>50b8bd8e0bcbecd5e1646106e0333556179bd2e7</id>
<content type='text'>
Change-Id: I5c3a5f74b7a0965d7f90fbc5938e280654e2c665
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I5c3a5f74b7a0965d7f90fbc5938e280654e2c665
</pre>
</div>
</content>
</entry>
<entry>
<title>Build libprotobuf-java-lite only using core Java SDK APIs</title>
<updated>2018-03-07T09:05:18+00:00</updated>
<author>
<name>Jiyong Park</name>
<email>jiyong@google.com</email>
</author>
<published>2018-03-04T00:40:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_external_protobuf/commit/?id=411501423307c29a160affef03485fd8000b3c1d'/>
<id>411501423307c29a160affef03485fd8000b3c1d</id>
<content type='text'>
libprotobuf-java-lite is now built against core Java APIs which excludes
Android-only APIs (classes under android.* packages) and private APIs.
"core_current" is a pseudo SDK which is a core Java subset of Android
SDK.

However, this lib has been using sun.misc.Unsafe which is a hidden API
and dependency to the class doesn't seem to be able to be cut easily in
the near future. In order to make it possible to build the lib with the
SDK only, a stubs library called libcore_private.stubs is defined to
provide build-time only information on the hidden APIs exclusively to
protobuf.

At runtime, the Unsafe class is provide by the OS and protobuf is linked
to the class loaded there.

Bug: 73204840
Test: m -j libprotobuf-java-lite is successful and does not show any
link-type check warning

Merged-In: I2fce2662cc65d4e57fc75bbf30ebf9f7d47c6775
(cherry picked from commit dc08924dc7262e5c06c1108f67f66e82598af806)

libcore_private.stubs cannot be built with JDK9

The package sun.misc in the stubs library is causing module name
conflict when building with JDK9.

error: package exists in another module: jdk.unsupported

Fixing the error by setting java_version to 1.7 so that modules are not
used when building the stubs lib.

Bug: 74211600
Test: EXPERIMENTAL_USE_OPENJDK9=true m -j libcore_private.stubs

Merged-In: Ifa709bef2dc8e2b11048ef96fc7517d8c25e8a7f
(cherry picked from commit 0e4379e7504849d7a2755b9a0264cd7901accc88)

libcore_private.stubs is uninstallable

Make sure that libcore_private.stubs isn't installed to the device as a
standalone jar library. The lib is meant to provide build-time only
symbol information to protobuf and thus is not runnable.

Bug: 73204840
Test: m -j libcore_private.stubs does not create
libcore_private.stubs.jar in /system/framework

Merged-In: I7c661211161937dba5ee71fdc4bb8b9f101c5a59
(cherry picked from commit 6297aad4d72232863366d62ae8799ce9cf492a43)

Don't force libcore_private.stubs to be built with java 1.7

We no longer need to build libcore_private.stubs with java 1.7, because
the library is only built for target and not for host, where it
conflicts with the module jdk.unsupported.

Bug: 74211600
Test: m -j libprotobuf-java-lite is successful. both host and target
variant of the lib is generated.
Test: EXPERIMENTAL_USE_OPENJDK9=true m -j libprotobuf-java-lite is also
successful.

Merged-In: I61a49d537ee6abad29e5661944ffc612a94465b8
(cherry picked from commit ed6d68ed9747c96d54d6773af40060e780443b1a)

Change-Id: I256652071b8a11cfbebcf6a4906546e6434f7372
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
libprotobuf-java-lite is now built against core Java APIs which excludes
Android-only APIs (classes under android.* packages) and private APIs.
"core_current" is a pseudo SDK which is a core Java subset of Android
SDK.

However, this lib has been using sun.misc.Unsafe which is a hidden API
and dependency to the class doesn't seem to be able to be cut easily in
the near future. In order to make it possible to build the lib with the
SDK only, a stubs library called libcore_private.stubs is defined to
provide build-time only information on the hidden APIs exclusively to
protobuf.

At runtime, the Unsafe class is provide by the OS and protobuf is linked
to the class loaded there.

Bug: 73204840
Test: m -j libprotobuf-java-lite is successful and does not show any
link-type check warning

Merged-In: I2fce2662cc65d4e57fc75bbf30ebf9f7d47c6775
(cherry picked from commit dc08924dc7262e5c06c1108f67f66e82598af806)

libcore_private.stubs cannot be built with JDK9

The package sun.misc in the stubs library is causing module name
conflict when building with JDK9.

error: package exists in another module: jdk.unsupported

Fixing the error by setting java_version to 1.7 so that modules are not
used when building the stubs lib.

Bug: 74211600
Test: EXPERIMENTAL_USE_OPENJDK9=true m -j libcore_private.stubs

Merged-In: Ifa709bef2dc8e2b11048ef96fc7517d8c25e8a7f
(cherry picked from commit 0e4379e7504849d7a2755b9a0264cd7901accc88)

libcore_private.stubs is uninstallable

Make sure that libcore_private.stubs isn't installed to the device as a
standalone jar library. The lib is meant to provide build-time only
symbol information to protobuf and thus is not runnable.

Bug: 73204840
Test: m -j libcore_private.stubs does not create
libcore_private.stubs.jar in /system/framework

Merged-In: I7c661211161937dba5ee71fdc4bb8b9f101c5a59
(cherry picked from commit 6297aad4d72232863366d62ae8799ce9cf492a43)

Don't force libcore_private.stubs to be built with java 1.7

We no longer need to build libcore_private.stubs with java 1.7, because
the library is only built for target and not for host, where it
conflicts with the module jdk.unsupported.

Bug: 74211600
Test: m -j libprotobuf-java-lite is successful. both host and target
variant of the lib is generated.
Test: EXPERIMENTAL_USE_OPENJDK9=true m -j libprotobuf-java-lite is also
successful.

Merged-In: I61a49d537ee6abad29e5661944ffc612a94465b8
(cherry picked from commit ed6d68ed9747c96d54d6773af40060e780443b1a)

Change-Id: I256652071b8a11cfbebcf6a4906546e6434f7372
</pre>
</div>
</content>
</entry>
<entry>
<title>Snap for 4625912 from 07b89888f5174bbb2af0365b5d4f392fb290eb54 to pi-release</title>
<updated>2018-02-28T08:20:54+00:00</updated>
<author>
<name>android-build-team Robot</name>
<email>android-build-team-robot@google.com</email>
</author>
<published>2018-02-28T08:20:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_external_protobuf/commit/?id=23e7c10c47f8222e169c886e40aa210ed3c6c605'/>
<id>23e7c10c47f8222e169c886e40aa210ed3c6c605</id>
<content type='text'>
Change-Id: I061fbc09bc63d4d30fb64cf55417aefe27f824d5
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I061fbc09bc63d4d30fb64cf55417aefe27f824d5
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "Add zlib support to protobuf" am: a69907a6b2 am: 98c4dbcacd</title>
<updated>2018-02-27T07:14:45+00:00</updated>
<author>
<name>Dan Willemsen</name>
<email>dwillemsen@google.com</email>
</author>
<published>2018-02-27T07:14:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_external_protobuf/commit/?id=07b89888f5174bbb2af0365b5d4f392fb290eb54'/>
<id>07b89888f5174bbb2af0365b5d4f392fb290eb54</id>
<content type='text'>
am: c498956983

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

Change-Id: I17f327f46f9f2ac5a88e948e2fe867ef85ff9ae5
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "Add zlib support to protobuf" am: a69907a6b2</title>
<updated>2018-02-27T07:09:43+00:00</updated>
<author>
<name>Dan Willemsen</name>
<email>dwillemsen@google.com</email>
</author>
<published>2018-02-27T07:09:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_external_protobuf/commit/?id=c4989569836c8e35635a23f08fd2f0b34517f35c'/>
<id>c4989569836c8e35635a23f08fd2f0b34517f35c</id>
<content type='text'>
am: 98c4dbcacd

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

Change-Id: I465eaa85ff58dbc6c301ebbc6989644afc6ebbf1
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "Add zlib support to protobuf"</title>
<updated>2018-02-27T07:04:40+00:00</updated>
<author>
<name>Dan Willemsen</name>
<email>dwillemsen@google.com</email>
</author>
<published>2018-02-27T07:04:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_external_protobuf/commit/?id=98c4dbcacd2d0a73b96d6d0814bbeb01d08d965c'/>
<id>98c4dbcacd2d0a73b96d6d0814bbeb01d08d965c</id>
<content type='text'>
am: a69907a6b2

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

Change-Id: I11af43fb821a855bcd5bf15a97413e999de781bb
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "Add zlib support to protobuf"</title>
<updated>2018-02-27T06:55:59+00:00</updated>
<author>
<name>Treehugger Robot</name>
<email>treehugger-gerrit@google.com</email>
</author>
<published>2018-02-27T06:55:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_external_protobuf/commit/?id=a69907a6b287fac8723b742f9a73cd5ec3c98a2d'/>
<id>a69907a6b287fac8723b742f9a73cd5ec3c98a2d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add zlib support to protobuf</title>
<updated>2018-02-14T00:19:51+00:00</updated>
<author>
<name>Dan Willemsen</name>
<email>dwillemsen@google.com</email>
</author>
<published>2018-02-07T22:24:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_external_protobuf/commit/?id=00ceebe3333f282d74dc4eb71893f853c99964c4'/>
<id>00ceebe3333f282d74dc4eb71893f853c99964c4</id>
<content type='text'>
We're already including the source files for zlib support, and linking
against libz, but we haven't been turning it on.

Test: cd external/protobuf; mma
Change-Id: Ia4d0ef9f7053b163afda7efaa7c22c3ffa32d4f7
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We're already including the source files for zlib support, and linking
against libz, but we haven't been turning it on.

Test: cd external/protobuf; mma
Change-Id: Ia4d0ef9f7053b163afda7efaa7c22c3ffa32d4f7
</pre>
</div>
</content>
</entry>
<entry>
<title>Snap for 4598635 from 7c08e17960f111a88f2703b823159e5f48d573bf to pi-release</title>
<updated>2018-02-11T08:22:19+00:00</updated>
<author>
<name>android-build-team Robot</name>
<email>android-build-team-robot@google.com</email>
</author>
<published>2018-02-11T08:22:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_external_protobuf/commit/?id=7b2f4e7521ac690574f3d58fe5bb4afd15face04'/>
<id>7b2f4e7521ac690574f3d58fe5bb4afd15face04</id>
<content type='text'>
Change-Id: I59944a565a77a80ddcd56dacf2afae13bff5b6f4
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I59944a565a77a80ddcd56dacf2afae13bff5b6f4
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "Include &lt;byteswap.h&gt; on Android." am: a56b371c82 am: c1567549d0</title>
<updated>2018-02-08T22:57:05+00:00</updated>
<author>
<name>Andreas Gampe</name>
<email>agampe@google.com</email>
</author>
<published>2018-02-08T22:57:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_external_protobuf/commit/?id=7c08e17960f111a88f2703b823159e5f48d573bf'/>
<id>7c08e17960f111a88f2703b823159e5f48d573bf</id>
<content type='text'>
am: 07d4682044

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

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