<feed xmlns='http://www.w3.org/2005/Atom'>
<title>build_soong/bpf, branch android-platform-11.0.0_r2</title>
<subtitle>Fork of build/soong
</subtitle>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/build_soong/'/>
<entry>
<title>bpf progs depend on system/core/libcutils/include</title>
<updated>2020-02-18T23:51:52+00:00</updated>
<author>
<name>Maciej Żenczykowski</name>
<email>maze@google.com</email>
</author>
<published>2020-02-18T23:38:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/build_soong/commit/?id=79f6f7533248aa3595e41e6d0a4a37f5434519c5'/>
<id>79f6f7533248aa3595e41e6d0a4a37f5434519c5</id>
<content type='text'>
Test: build, atest
Bug: 149434314
Signed-off-by: Maciej Żenczykowski &lt;maze@google.com&gt;
Change-Id: I070bc147abe43556d66082e19c16214ae6a9f94b
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Test: build, atest
Bug: 149434314
Signed-off-by: Maciej Żenczykowski &lt;maze@google.com&gt;
Change-Id: I070bc147abe43556d66082e19c16214ae6a9f94b
</pre>
</div>
</content>
</entry>
<entry>
<title>Add support for experimentally enabling RBE support on specific rules.</title>
<updated>2020-01-28T17:42:47+00:00</updated>
<author>
<name>Ramy Medhat</name>
<email>abdelaal@google.com</email>
</author>
<published>2020-01-27T19:19:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/build_soong/commit/?id=8ea054a81e3249d33ef29672c8a67025d90b4551'/>
<id>8ea054a81e3249d33ef29672c8a67025d90b4551</id>
<content type='text'>
This CL adds RBE support to javac, r8, and d8 rules which is only
enabled if respective environment variables are set.

Test: an aosp_crosshatch build with and without the new variables.
Change-Id: Ic82f3627944f6a5ee7b9f3228170c2709b1bfcb8
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This CL adds RBE support to javac, r8, and d8 rules which is only
enabled if respective environment variables are set.

Test: an aosp_crosshatch build with and without the new variables.
Change-Id: Ic82f3627944f6a5ee7b9f3228170c2709b1bfcb8
</pre>
</div>
</content>
</entry>
<entry>
<title>Move filesystem into Config</title>
<updated>2019-12-18T16:19:10+00:00</updated>
<author>
<name>Colin Cross</name>
<email>ccross@android.com</email>
</author>
<published>2019-12-14T04:41:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/build_soong/commit/?id=98be1bb00f0fb10e195f26fd2a19952d701a1950'/>
<id>98be1bb00f0fb10e195f26fd2a19952d701a1950</id>
<content type='text'>
The filesystem object was available through ModuleContext.Fs(), but
gives too much access to the filesystem without enforicing correct
dependencies.  In order to support sandboxing the soong_build
process move the filesystem into the Config.  The next change will
make it private.

Bug: 146437378
Test: all Soong tests
Change-Id: I5d3ae9108f120fd335b21efd612aefa078378813
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The filesystem object was available through ModuleContext.Fs(), but
gives too much access to the filesystem without enforicing correct
dependencies.  In order to support sandboxing the soong_build
process move the filesystem into the Config.  The next change will
make it private.

Bug: 146437378
Test: all Soong tests
Change-Id: I5d3ae9108f120fd335b21efd612aefa078378813
</pre>
</div>
</content>
</entry>
<entry>
<title>Make TestContext.RegisterModuleType take an android.ModuleFactory</title>
<updated>2019-11-25T18:59:44+00:00</updated>
<author>
<name>Colin Cross</name>
<email>ccross@android.com</email>
</author>
<published>2019-11-22T23:25:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/build_soong/commit/?id=4b49b768a2cb7d455aea5347d27d9045b8c481fa'/>
<id>4b49b768a2cb7d455aea5347d27d9045b8c481fa</id>
<content type='text'>
Avoid having to pass ModuleFactoryAdaptor to every call to
RegisterModuleType in a test by wrapping RegisterModuleType.

Test: all soong tests
Change-Id: If8847d16487de0479cc3020b728256922b3cadba
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Avoid having to pass ModuleFactoryAdaptor to every call to
RegisterModuleType in a test by wrapping RegisterModuleType.

Test: all soong tests
Change-Id: If8847d16487de0479cc3020b728256922b3cadba
</pre>
</div>
</content>
</entry>
<entry>
<title>Run non-RBE supported actions in the local pool when USE_RBE is set.</title>
<updated>2019-11-05T22:57:35+00:00</updated>
<author>
<name>Ramy Medhat</name>
<email>abdelaal@google.com</email>
</author>
<published>2019-11-04T23:16:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/build_soong/commit/?id=dd0418a4d4790252b1b1c13eedbebbf09bd4d76e'/>
<id>dd0418a4d4790252b1b1c13eedbebbf09bd4d76e</id>
<content type='text'>
Bug: 143938974
Test: ran CTS build at -j500 successfully.
Change-Id: I55074bd67308cd716972e24fb56a20bc393d5d9d
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Bug: 143938974
Test: ran CTS build at -j500 successfully.
Change-Id: I55074bd67308cd716972e24fb56a20bc393d5d9d
</pre>
</div>
</content>
</entry>
<entry>
<title>Support tagged module references</title>
<updated>2019-06-04T17:22:51+00:00</updated>
<author>
<name>Colin Cross</name>
<email>ccross@android.com</email>
</author>
<published>2019-05-29T21:40:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/build_soong/commit/?id=41955e8895fe33022a6759b9739a2368b206c392'/>
<id>41955e8895fe33022a6759b9739a2368b206c392</id>
<content type='text'>
There are cases where a module needs to refer to an intermediate
output of another module instead of its final output.  For example,
a module may want to use the .jar containing .class files from
another module whose final output is a .jar containing classes.dex
files.  Support a new ":module{.tag}" format in any property that
is annotated with `android:"path"`, which will query the target
module for its ".tag" output(s).

Test: path_properties_test.go, paths_test.go
Test: no unexpected changes in build.ninja
Change-Id: Icd3c9b0d83ff125771767c04046fcffb9fc3f65a
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There are cases where a module needs to refer to an intermediate
output of another module instead of its final output.  For example,
a module may want to use the .jar containing .class files from
another module whose final output is a .jar containing classes.dex
files.  Support a new ":module{.tag}" format in any property that
is annotated with `android:"path"`, which will query the target
module for its ".tag" output(s).

Test: path_properties_test.go, paths_test.go
Test: no unexpected changes in build.ninja
Change-Id: Icd3c9b0d83ff125771767c04046fcffb9fc3f65a
</pre>
</div>
</content>
</entry>
<entry>
<title>Add bpf_test.go to build and fix tests</title>
<updated>2019-05-17T15:43:36+00:00</updated>
<author>
<name>Colin Cross</name>
<email>ccross@android.com</email>
</author>
<published>2019-05-14T23:05:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/build_soong/commit/?id=815daf95b2a019cc997484841d318ee86e3f8c08'/>
<id>815daf95b2a019cc997484841d318ee86e3f8c08</id>
<content type='text'>
bpf_test.go was not listed in testSrcs, which meant it was not run
during the build, but ran and failed with go test android/soong/...

Don't redeclare the cc module types and mutators, use exported
functions from cc/testing.go instead, which contain a new
dependency needed by cc modules.

This reapplies I4542640e8ff08e71565ed50617dbe67d86b29b69 after
fixes for mac tests.

Test: m
Test: go test android/soong/...
Change-Id: I3dc3fdedbd7063df4a2e0cadf2a4e0711b1823ad
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
bpf_test.go was not listed in testSrcs, which meant it was not run
during the build, but ran and failed with go test android/soong/...

Don't redeclare the cc module types and mutators, use exported
functions from cc/testing.go instead, which contain a new
dependency needed by cc modules.

This reapplies I4542640e8ff08e71565ed50617dbe67d86b29b69 after
fixes for mac tests.

Test: m
Test: go test android/soong/...
Change-Id: I3dc3fdedbd7063df4a2e0cadf2a4e0711b1823ad
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "Add bpf_test.go to build and fix the tests"</title>
<updated>2019-05-14T22:46:24+00:00</updated>
<author>
<name>Colin Cross</name>
<email>ccross@android.com</email>
</author>
<published>2019-05-14T22:46:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/build_soong/commit/?id=d3d3ad1686af159b0cf9d7c1315c1b48c30190a6'/>
<id>d3d3ad1686af159b0cf9d7c1315c1b48c30190a6</id>
<content type='text'>
This reverts commit 192e3aa6a86c486c976cdd8587d5700aeb304241.

Reason for revert: broke mac tests

Change-Id: I3f4c679e11d9361dbc2daaf6c89282259b225d61
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit 192e3aa6a86c486c976cdd8587d5700aeb304241.

Reason for revert: broke mac tests

Change-Id: I3f4c679e11d9361dbc2daaf6c89282259b225d61
</pre>
</div>
</content>
</entry>
<entry>
<title>Add bpf_test.go to build and fix the tests</title>
<updated>2019-05-14T18:40:19+00:00</updated>
<author>
<name>Colin Cross</name>
<email>ccross@android.com</email>
</author>
<published>2019-05-13T20:35:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/build_soong/commit/?id=192e3aa6a86c486c976cdd8587d5700aeb304241'/>
<id>192e3aa6a86c486c976cdd8587d5700aeb304241</id>
<content type='text'>
bpf_test.go was not listed in testSrcs, which meant it was not run
during the build, but ran and failed with go test android/soong/...

Test: m
Test: go test android/soong/...
Change-Id: I4542640e8ff08e71565ed50617dbe67d86b29b69
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
bpf_test.go was not listed in testSrcs, which meant it was not run
during the build, but ran and failed with go test android/soong/...

Test: m
Test: go test android/soong/...
Change-Id: I4542640e8ff08e71565ed50617dbe67d86b29b69
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix relative path of bpf modules</title>
<updated>2019-04-10T18:32:00+00:00</updated>
<author>
<name>Colin Cross</name>
<email>ccross@android.com</email>
</author>
<published>2019-04-10T18:30:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/build_soong/commit/?id=0adfee5a203206f08ad4388f5537a7637dc5e557'/>
<id>0adfee5a203206f08ad4388f5537a7637dc5e557</id>
<content type='text'>
Using bpf as test data installs the module into a strange
subdirectory, clear the Rel() value before exporting it as
a SourceFileProducer.

Bug: 130206035
Test: m vts_test_binary_bpf_module
Change-Id: Ifdae90d11b15d65c097562d7d6985a8a1dca2bfd
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Using bpf as test data installs the module into a strange
subdirectory, clear the Rel() value before exporting it as
a SourceFileProducer.

Bug: 130206035
Test: m vts_test_binary_bpf_module
Change-Id: Ifdae90d11b15d65c097562d7d6985a8a1dca2bfd
</pre>
</div>
</content>
</entry>
</feed>
