<feed xmlns='http://www.w3.org/2005/Atom'>
<title>build_soong, branch android-10.0.0_r38</title>
<subtitle>Fork of build/soong
</subtitle>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/build_soong/'/>
<entry>
<title>Snap for 6182290 from 8ee870a540764c8b8ca538fec4ddf18d056b6ec4 to qt-qpr3-release</title>
<updated>2020-02-05T02:13:57+00:00</updated>
<author>
<name>android-build-team Robot</name>
<email>android-build-team-robot@google.com</email>
</author>
<published>2020-02-05T02:13:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/build_soong/commit/?id=a4f4c0d08088a3bd8d00257e058d1bdfc093b1f8'/>
<id>a4f4c0d08088a3bd8d00257e058d1bdfc093b1f8</id>
<content type='text'>
Change-Id: I0b819cd37a1f6a04d0e2dcf61e3457e5711e94a8
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I0b819cd37a1f6a04d0e2dcf61e3457e5711e94a8
</pre>
</div>
</content>
</entry>
<entry>
<title>Snap for 6179254 from 8d8639d5f506d2058949a517c170d277203da566 to qt-qpr3-release</title>
<updated>2020-02-04T02:07:31+00:00</updated>
<author>
<name>android-build-team Robot</name>
<email>android-build-team-robot@google.com</email>
</author>
<published>2020-02-04T02:07:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/build_soong/commit/?id=30977d507dd15b7df366b467f4012a3c75a25775'/>
<id>30977d507dd15b7df366b467f4012a3c75a25775</id>
<content type='text'>
Change-Id: Id9cdbaf3ab69ff34fa860bb9e6ae660571a27820
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: Id9cdbaf3ab69ff34fa860bb9e6ae660571a27820
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "Build native coverage variant of APEXes when needed" into qt-dev am: abc4f820a1</title>
<updated>2020-02-04T00:54:27+00:00</updated>
<author>
<name>Automerger Merge Worker</name>
<email>android-build-automerger-merge-worker@system.gserviceaccount.com</email>
</author>
<published>2020-02-04T00:54:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/build_soong/commit/?id=8ee870a540764c8b8ca538fec4ddf18d056b6ec4'/>
<id>8ee870a540764c8b8ca538fec4ddf18d056b6ec4</id>
<content type='text'>
Change-Id: Id11c85eb9c5dea8a43486a70409ae370d1faa938
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: Id11c85eb9c5dea8a43486a70409ae370d1faa938
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "Build native coverage variant of APEXes when needed" into qt-dev</title>
<updated>2020-02-04T00:43:58+00:00</updated>
<author>
<name>TreeHugger Robot</name>
<email>treehugger-gerrit@google.com</email>
</author>
<published>2020-02-04T00:43:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/build_soong/commit/?id=abc4f820a1e5c7bd69412c802dbaf0743a2f18db'/>
<id>abc4f820a1e5c7bd69412c802dbaf0743a2f18db</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Wrap getenv when linking a coverage-enabled binary am: c2cf2c5dbe</title>
<updated>2020-02-03T19:14:00+00:00</updated>
<author>
<name>Automerger Merge Worker</name>
<email>android-build-automerger-merge-worker@system.gserviceaccount.com</email>
</author>
<published>2020-02-03T19:14:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/build_soong/commit/?id=8d8639d5f506d2058949a517c170d277203da566'/>
<id>8d8639d5f506d2058949a517c170d277203da566</id>
<content type='text'>
Change-Id: I0cc628c5672e3c7565fc3f0250bb45f0c62cedad
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I0cc628c5672e3c7565fc3f0250bb45f0c62cedad
</pre>
</div>
</content>
</entry>
<entry>
<title>Refactor libprofile-extras to be added as a whole static library am: 2363a2b162</title>
<updated>2020-02-03T19:13:58+00:00</updated>
<author>
<name>Automerger Merge Worker</name>
<email>android-build-automerger-merge-worker@system.gserviceaccount.com</email>
</author>
<published>2020-02-03T19:13:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/build_soong/commit/?id=1cb0535e41cff3cfdb9549804380c3cf9fffc0a7'/>
<id>1cb0535e41cff3cfdb9549804380c3cf9fffc0a7</id>
<content type='text'>
Change-Id: Ic7b0c632eed10248906eb5a36a40f7afa1c659ce
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: Ic7b0c632eed10248906eb5a36a40f7afa1c659ce
</pre>
</div>
</content>
</entry>
<entry>
<title>Package coverage files as a zip. am: baa54c6ed8</title>
<updated>2020-02-03T19:13:16+00:00</updated>
<author>
<name>Automerger Merge Worker</name>
<email>android-build-automerger-merge-worker@system.gserviceaccount.com</email>
</author>
<published>2020-02-03T19:13:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/build_soong/commit/?id=3756ab846048d0cc0e581ae51706936afd1b6c78'/>
<id>3756ab846048d0cc0e581ae51706936afd1b6c78</id>
<content type='text'>
Change-Id: I6c9890781efb0eb2a0667d1e8e22c06a07411aaa
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I6c9890781efb0eb2a0667d1e8e22c06a07411aaa
</pre>
</div>
</content>
</entry>
<entry>
<title>Wrap getenv when linking a coverage-enabled binary</title>
<updated>2020-02-03T19:04:09+00:00</updated>
<author>
<name>Pirama Arumuga Nainar</name>
<email>pirama@google.com</email>
</author>
<published>2019-07-03T06:47:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/build_soong/commit/?id=c2cf2c5dbe777e67d0dfc9f3130c265c81dd6198'/>
<id>c2cf2c5dbe777e67d0dfc9f3130c265c81dd6198</id>
<content type='text'>
The wrapper to getenv() appends the effective userid (euid) of the
current process to GCOV_PREFIX.  This avoids conflicts and permissions
issues when multiple processes try to create/access the same directories
and files under /data/misc/trace.

Bug: 148178774
Test: Verify that coverage files are written to
/data/misc/trace/&lt;euid&gt;/proc/... instead of /data/misc/trace/proc/...

Change-Id: If58081a12b2b9bc40cfcbf64c99beafe198d07af
Merged-In: If58081a12b2b9bc40cfcbf64c99beafe198d07af
(cherry picked from commit 100bbdc8f3458b8a48b339356130cf4165aaadea)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The wrapper to getenv() appends the effective userid (euid) of the
current process to GCOV_PREFIX.  This avoids conflicts and permissions
issues when multiple processes try to create/access the same directories
and files under /data/misc/trace.

Bug: 148178774
Test: Verify that coverage files are written to
/data/misc/trace/&lt;euid&gt;/proc/... instead of /data/misc/trace/proc/...

Change-Id: If58081a12b2b9bc40cfcbf64c99beafe198d07af
Merged-In: If58081a12b2b9bc40cfcbf64c99beafe198d07af
(cherry picked from commit 100bbdc8f3458b8a48b339356130cf4165aaadea)
</pre>
</div>
</content>
</entry>
<entry>
<title>Refactor libprofile-extras to be added as a whole static library</title>
<updated>2020-02-03T19:03:45+00:00</updated>
<author>
<name>Pirama Arumuga Nainar</name>
<email>pirama@google.com</email>
</author>
<published>2019-07-02T21:55:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/build_soong/commit/?id=2363a2b162cac1946ae4a8677a473890da98dc10'/>
<id>2363a2b162cac1946ae4a8677a473890da98dc10</id>
<content type='text'>
Bug: http://b/134177005
Bug: http://b/116873221

Previously, the libprofile-extras dependency was added as a
LateStaticLib and the constructor in this library was included during
linking with the '-uinit_profile_extras' linker flag.  This was done
because at the deps() stage, the exact binaries that need coverage are
not known (in fact the coverage-enabled variants are not created yet).

This meant that for a link command, if one of the shared libraries
already exported the constructor, the output of the link command did not
load/link libprofile-extras.

For other reasons, we now want to add more symbols to this library that
need to be linked into all libraries and executables.  To accomplish
that, refactor the dependency handling so libprofile-extras can be added
as a 'WholeStaticLib'.

This is done by creating a new dependency type (with a coverageDepTag
dependency tag) to add libprofile-extras as a dependency for all modules
that can potentially link with coverage.  During the flags() call, this
dependency is moved as a WholeStaticLib dependency iff coverage is
enabled in this link step.

There are a few NFC changes as well:
- deps() takes a DepsContext parameter.
- flags() has an extra PathDeps parameter and return value.
- add useSdk() helper to cc.Module.

Test: Build with coverage and check that we can generate coverage using
SIGUSR1 and the debug.coverage.flush sysprop.

Change-Id: I7e7d8201956a150febbda5bb1794f8ece016db8b
Merged-In: I7e7d8201956a150febbda5bb1794f8ece016db8b
(cherry picked from commit 82fe59b65684462cb70a17145336e54c3fe5c79c)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Bug: http://b/134177005
Bug: http://b/116873221

Previously, the libprofile-extras dependency was added as a
LateStaticLib and the constructor in this library was included during
linking with the '-uinit_profile_extras' linker flag.  This was done
because at the deps() stage, the exact binaries that need coverage are
not known (in fact the coverage-enabled variants are not created yet).

This meant that for a link command, if one of the shared libraries
already exported the constructor, the output of the link command did not
load/link libprofile-extras.

For other reasons, we now want to add more symbols to this library that
need to be linked into all libraries and executables.  To accomplish
that, refactor the dependency handling so libprofile-extras can be added
as a 'WholeStaticLib'.

This is done by creating a new dependency type (with a coverageDepTag
dependency tag) to add libprofile-extras as a dependency for all modules
that can potentially link with coverage.  During the flags() call, this
dependency is moved as a WholeStaticLib dependency iff coverage is
enabled in this link step.

There are a few NFC changes as well:
- deps() takes a DepsContext parameter.
- flags() has an extra PathDeps parameter and return value.
- add useSdk() helper to cc.Module.

Test: Build with coverage and check that we can generate coverage using
SIGUSR1 and the debug.coverage.flush sysprop.

Change-Id: I7e7d8201956a150febbda5bb1794f8ece016db8b
Merged-In: I7e7d8201956a150febbda5bb1794f8ece016db8b
(cherry picked from commit 82fe59b65684462cb70a17145336e54c3fe5c79c)
</pre>
</div>
</content>
</entry>
<entry>
<title>Package coverage files as a zip.</title>
<updated>2020-02-03T19:00:22+00:00</updated>
<author>
<name>Oliver Nguyen</name>
<email>olivernguyen@google.com</email>
</author>
<published>2019-04-24T21:22:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/build_soong/commit/?id=baa54c6ed830a7cd1cb7fe5405c7a33b65c9a2cc'/>
<id>baa54c6ed830a7cd1cb7fe5405c7a33b65c9a2cc</id>
<content type='text'>
Bug: 148178774
Test: make NATIVE_COVERAGE=true COVERAGE_PATHS="*"
Change-Id: I955212a20ea19c854ebc88635252a1d174ea8f7f
Merged-In: I955212a20ea19c854ebc88635252a1d174ea8f7f
(cherry picked from commit c743414d4298c2ffad94eb4fc00d644b992b0bf8)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Bug: 148178774
Test: make NATIVE_COVERAGE=true COVERAGE_PATHS="*"
Change-Id: I955212a20ea19c854ebc88635252a1d174ea8f7f
Merged-In: I955212a20ea19c854ebc88635252a1d174ea8f7f
(cherry picked from commit c743414d4298c2ffad94eb4fc00d644b992b0bf8)
</pre>
</div>
</content>
</entry>
</feed>
