<feed xmlns='http://www.w3.org/2005/Atom'>
<title>build_soong/sysprop, branch android-10.0.0_r6</title>
<subtitle>Fork of build/soong
</subtitle>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/build_soong/'/>
<entry>
<title>Add No_dist property</title>
<updated>2019-05-16T10:23:39+00:00</updated>
<author>
<name>Sundong Ahn</name>
<email>sundongahn@google.com</email>
</author>
<published>2019-05-13T06:02:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/build_soong/commit/?id=a4a385f1d581d0bfdb2776b7c95311cf80654441'/>
<id>a4a385f1d581d0bfdb2776b7c95311cf80654441</id>
<content type='text'>
For the sysprop apis, we don't need dist. So the No_dist property is
added for it.

Bug: 132448761
Test: m -j dist
Merged-In: I51c6a6b87ab9dc90b6825c0d4d414e958dd7b265
Change-Id: I51c6a6b87ab9dc90b6825c0d4d414e958dd7b265
(cherry picked from commit 80a87b3309192d0f0caa2097a097ed4ed20c6fff)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
For the sysprop apis, we don't need dist. So the No_dist property is
added for it.

Bug: 132448761
Test: m -j dist
Merged-In: I51c6a6b87ab9dc90b6825c0d4d414e958dd7b265
Change-Id: I51c6a6b87ab9dc90b6825c0d4d414e958dd7b265
(cherry picked from commit 80a87b3309192d0f0caa2097a097ed4ed20c6fff)
</pre>
</div>
</content>
</entry>
<entry>
<title>Build framework.aidl in Soong</title>
<updated>2019-04-22T17:08:35+00:00</updated>
<author>
<name>Colin Cross</name>
<email>ccross@android.com</email>
</author>
<published>2019-04-18T17:56:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/build_soong/commit/?id=9bdfaf059105ab75bd4ca99629ce02659fe850fd'/>
<id>9bdfaf059105ab75bd4ca99629ce02659fe850fd</id>
<content type='text'>
Move the rules to build framework.aidl into Soong, and use it
when compiling aidl files with sdk_version: "current".

Also fixes incorrectly using the aidl includes exported by the
"framework" module when the proguardRaiseDep dependency was
added.

Bug: 130798034
Test: sdk_test.go
Change-Id: I126adf1d9e7b6acb528875ff62b974ba7ad9a337
Merged-In: I126adf1d9e7b6acb528875ff62b974ba7ad9a337
(cherry picked from commit 3047fa23da6d9f6e504c81e275ad7f6761fb7c7b)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Move the rules to build framework.aidl into Soong, and use it
when compiling aidl files with sdk_version: "current".

Also fixes incorrectly using the aidl includes exported by the
"framework" module when the proguardRaiseDep dependency was
added.

Bug: 130798034
Test: sdk_test.go
Change-Id: I126adf1d9e7b6acb528875ff62b974ba7ad9a337
Merged-In: I126adf1d9e7b6acb528875ff62b974ba7ad9a337
(cherry picked from commit 3047fa23da6d9f6e504c81e275ad7f6761fb7c7b)
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove libbase dependency of sysprop_library</title>
<updated>2019-03-27T08:27:05+00:00</updated>
<author>
<name>Inseob Kim</name>
<email>inseob@google.com</email>
</author>
<published>2019-03-27T08:20:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/build_soong/commit/?id=1f959769f344182a6741ddcebc7c592d6e521e7e'/>
<id>1f959769f344182a6741ddcebc7c592d6e521e7e</id>
<content type='text'>
libbase dependency is not really needed, but it has been causing build
failure while linking with static variant of sysprop_library. This cuts
the dependency and only depend on libbase_headers and liblog.

Bug: 129301987
Test: 1) flash and boot walleye
Test: 2) try to build various properties with sysprop_library.
Test: 3) sysprop_test
Change-Id: I027e01c754b782818f52103184301267d4cdd576
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
libbase dependency is not really needed, but it has been causing build
failure while linking with static variant of sysprop_library. This cuts
the dependency and only depend on libbase_headers and liblog.

Bug: 129301987
Test: 1) flash and boot walleye
Test: 2) try to build various properties with sysprop_library.
Test: 3) sysprop_test
Change-Id: I027e01c754b782818f52103184301267d4cdd576
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix checking of empty slice properties</title>
<updated>2019-03-21T13:04:01+00:00</updated>
<author>
<name>Inseob Kim</name>
<email>inseob@google.com</email>
</author>
<published>2019-03-21T08:43:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/build_soong/commit/?id=6e93ac9a3212089500dee2095d611ff870471e68'/>
<id>6e93ac9a3212089500dee2095d611ff870471e68</id>
<content type='text'>
Properties can be empty (not nil), and in that case some weird error
messages will happen to be emitted.

Bug: N/A
Test: try to build with api_pacakges: [] and srcs: []
Change-Id: I492077616e742072696265796520737465616b21
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Properties can be empty (not nil), and in that case some weird error
messages will happen to be emitted.

Bug: N/A
Test: try to build with api_pacakges: [] and srcs: []
Change-Id: I492077616e742072696265796520737465616b21
</pre>
</div>
</content>
</entry>
<entry>
<title>Add comment to api_packages property</title>
<updated>2019-03-05T05:23:45+00:00</updated>
<author>
<name>Inseob Kim</name>
<email>inseob@google.com</email>
</author>
<published>2019-03-05T05:22:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/build_soong/commit/?id=f63c2fb8977152ce472f697070105a4326ffb3c7'/>
<id>f63c2fb8977152ce472f697070105a4326ffb3c7</id>
<content type='text'>
Bug: N/A
Test: N/A
Change-Id: I38791170993484cdae26edee9595a74802853176
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Bug: N/A
Test: N/A
Change-Id: I38791170993484cdae26edee9595a74802853176
</pre>
</div>
</content>
</entry>
<entry>
<title>Add recovery_available property to sysprop module</title>
<updated>2019-02-26T01:27:13+00:00</updated>
<author>
<name>Jiyong Park</name>
<email>jiyong@google.com</email>
</author>
<published>2019-02-26T01:27:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/build_soong/commit/?id=854a9440dd666b7df98cf90f51e55298365366b0'/>
<id>854a9440dd666b7df98cf90f51e55298365366b0</id>
<content type='text'>
This is required for a sysprop module to be used by a module like the
init which is available both in core and recovery variants.

Test: m
Change-Id: I075428289f5bdce26e931ccf3262793ca6e4a0fd
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is required for a sysprop module to be used by a module like the
init which is available both in core and recovery variants.

Test: m
Change-Id: I075428289f5bdce26e931ccf3262793ca6e4a0fd
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix: sysprop module can't be used with whole_static_libs</title>
<updated>2019-02-26T01:26:44+00:00</updated>
<author>
<name>Jiyong Park</name>
<email>jiyong@google.com</email>
</author>
<published>2019-02-25T13:14:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/build_soong/commit/?id=5d1598f746e513001443f44f9f4a70a54f73d039'/>
<id>5d1598f746e513001443f44f9f4a70a54f73d039</id>
<content type='text'>
When a sysprop module is listed in whole_static_libs, it is renamed to
"lib" + &lt;module&gt; to actually refer to the generated C++ library for the
sysprop module.

Test: m (sysprop_test amended)
Change-Id: I05eddb24433d444376787be567830929ef078159
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When a sysprop module is listed in whole_static_libs, it is renamed to
"lib" + &lt;module&gt; to actually refer to the generated C++ library for the
sysprop module.

Test: m (sysprop_test amended)
Change-Id: I05eddb24433d444376787be567830929ef078159
</pre>
</div>
</content>
</entry>
<entry>
<title>Add java/testing.go for sysprop_test.go</title>
<updated>2019-02-17T01:08:01+00:00</updated>
<author>
<name>Colin Cross</name>
<email>ccross@android.com</email>
</author>
<published>2019-02-15T18:37:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/build_soong/commit/?id=e4759b9ab96657641e9cffc11e79000b106e4b44'/>
<id>e4759b9ab96657641e9cffc11e79000b106e4b44</id>
<content type='text'>
Share more of the setup code for java tests to sysprop_tests.go.

Test: java_test.go, sysprop_test.go
Change-Id: I0e3b287bf188c432d995a9a91a18ebef12aa47d1
Merged-In: I0e3b287bf188c432d995a9a91a18ebef12aa47d1
(cherry picked from commit b19745363f3cc59ffd46c664997602f250892d4d)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Share more of the setup code for java tests to sysprop_tests.go.

Test: java_test.go, sysprop_test.go
Change-Id: I0e3b287bf188c432d995a9a91a18ebef12aa47d1
Merged-In: I0e3b287bf188c432d995a9a91a18ebef12aa47d1
(cherry picked from commit b19745363f3cc59ffd46c664997602f250892d4d)
</pre>
</div>
</content>
</entry>
<entry>
<title>Create sysprop_library soong module</title>
<updated>2019-02-13T23:32:51+00:00</updated>
<author>
<name>Inseob Kim</name>
<email>inseob@google.com</email>
</author>
<published>2019-02-08T12:00:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/build_soong/commit/?id=c0907f191a6c466d077030500f855cdd87ec954a'/>
<id>c0907f191a6c466d077030500f855cdd87ec954a</id>
<content type='text'>
A newly introduced sysprop_library soong module will generate a
java_sdk_library and a cc_library from .sysprop description files.
Both Java modules and C++ modules can link against sysprop_library
module, thus giving consistency for using generated sysprop API.

As Java controls accessibility of Internal / System properties with
@hide and @SystemApi, 2 different header files will be created. And
build system will selectively expose depending on the property owner
and the place where the client libraries go into.

Bug: 80125326
Bug: 122170616
Test: 1) Create sysprop_library module.
Test: 2) Create empty txt files under prebuilts/sdk.
Test: 3) Create api directory, make update-api, and see changes.
Test: 4) Try to link against sysprop_library with various clients.
Test: 5) Soc_specific, Device_specific, Product_specific, recovery flags
work as intended.
Change-Id: I78dc5780ccfbb4b69e5c61dec26b94e92d43c333
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
A newly introduced sysprop_library soong module will generate a
java_sdk_library and a cc_library from .sysprop description files.
Both Java modules and C++ modules can link against sysprop_library
module, thus giving consistency for using generated sysprop API.

As Java controls accessibility of Internal / System properties with
@hide and @SystemApi, 2 different header files will be created. And
build system will selectively expose depending on the property owner
and the place where the client libraries go into.

Bug: 80125326
Bug: 122170616
Test: 1) Create sysprop_library module.
Test: 2) Create empty txt files under prebuilts/sdk.
Test: 3) Create api directory, make update-api, and see changes.
Test: 4) Try to link against sysprop_library with various clients.
Test: 5) Soc_specific, Device_specific, Product_specific, recovery flags
work as intended.
Change-Id: I78dc5780ccfbb4b69e5c61dec26b94e92d43c333
</pre>
</div>
</content>
</entry>
</feed>
