<feed xmlns='http://www.w3.org/2005/Atom'>
<title>platform_build_kati/testcase, branch oreo-mr1-wear-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_build_kati/'/>
<entry>
<title>Add --werror_find_emulator, --werror_overriding_commands</title>
<updated>2017-05-23T04:22:46+00:00</updated>
<author>
<name>Dan Willemsen</name>
<email>dwillemsen@google.com</email>
</author>
<published>2017-04-28T06:39:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_build_kati/commit/?id=f63a3fd971eb9d2a8440237a9191cf2ed22697f5'/>
<id>f63a3fd971eb9d2a8440237a9191cf2ed22697f5</id>
<content type='text'>
For Android builds, we'd like to start removing some of the default
warnings and turn them into errors so that they can't come back.

For find emulator, we could attempt to check for errors, or silence
every find command in the tree, but that doesn't particularly scale,
especially when new code gets added with warnings. We've gone through
and fixed many of these, but they keep coming back, so add
--werror_find_emulator so that when we fix them all we can prevent them
from coming back.

Overriding commands is similar -- we really don't want multiple rules
defining a single output file. In ninja we've turned on -w dupbuild=err,
but if the paths happen to be identical the makefile overriding logic
kicks in first and presents a warning instead of an error. So add
--werror_overriding_commands in order to turn the make warning into an
error.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
For Android builds, we'd like to start removing some of the default
warnings and turn them into errors so that they can't come back.

For find emulator, we could attempt to check for errors, or silence
every find command in the tree, but that doesn't particularly scale,
especially when new code gets added with warnings. We've gone through
and fixed many of these, but they keep coming back, so add
--werror_find_emulator so that when we fix them all we can prevent them
from coming back.

Overriding commands is similar -- we really don't want multiple rules
defining a single output file. In ninja we've turned on -w dupbuild=err,
but if the paths happen to be identical the makefile overriding logic
kicks in first and presents a warning instead of an error. So add
--werror_overriding_commands in order to turn the make warning into an
error.
</pre>
</div>
</content>
</entry>
<entry>
<title>Allow rules to specify custom ninja pools</title>
<updated>2016-11-05T20:05:48+00:00</updated>
<author>
<name>Dan Willemsen</name>
<email>dwillemsen@google.com</email>
</author>
<published>2016-11-04T23:57:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_build_kati/commit/?id=2f75ffadfbd550b2efd68816c33918c86554ed4b'/>
<id>2f75ffadfbd550b2efd68816c33918c86554ed4b</id>
<content type='text'>
Setting .KATI_NINJA_POOL as a rule variable will set the corresponding
pool variable in the ninja file.

There's no way to define custom pools in Kati, Android is planning on
scaling the pool depth in a parent ninja file without re-running Kati.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Setting .KATI_NINJA_POOL as a rule variable will set the corresponding
pool variable in the ninja file.

There's no way to define custom pools in Kati, Android is planning on
scaling the pool depth in a parent ninja file without re-running Kati.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #97 from danw/file_func</title>
<updated>2016-10-04T21:19:47+00:00</updated>
<author>
<name>Dan Willemsen</name>
<email>dan@danw.org</email>
</author>
<published>2016-10-04T21:19:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_build_kati/commit/?id=2547af08ce2727327c2a5d8a3b62078d8e3bb04c'/>
<id>2547af08ce2727327c2a5d8a3b62078d8e3bb04c</id>
<content type='text'>
Implement the `file` function to read and write files</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Implement the `file` function to read and write files</pre>
</div>
</content>
</entry>
<entry>
<title>Implement the `file` function to read and write files</title>
<updated>2016-10-04T04:57:39+00:00</updated>
<author>
<name>Dan Willemsen</name>
<email>dwillemsen@google.com</email>
</author>
<published>2016-10-03T07:16:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_build_kati/commit/?id=f06d8019e99ae6aee1d2881f30315aee7b544cfb'/>
<id>f06d8019e99ae6aee1d2881f30315aee7b544cfb</id>
<content type='text'>
This allows us to do file reading and writing without $(shell). Besides
being simpler, this also allows faster regen times, since we can just
stat the files to be read, or directly write to the files that need to
be written.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This allows us to do file reading and writing without $(shell). Besides
being simpler, this also allows faster regen times, since we can just
stat the files to be read, or directly write to the files that need to
be written.
</pre>
</div>
</content>
</entry>
<entry>
<title>Support marking variables as readonly</title>
<updated>2016-09-30T05:21:10+00:00</updated>
<author>
<name>Dan Willemsen</name>
<email>dwillemsen@google.com</email>
</author>
<published>2016-09-30T03:09:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_build_kati/commit/?id=f87d49e41a5dd57733d02f3990c91dc38e557dad'/>
<id>f87d49e41a5dd57733d02f3990c91dc38e557dad</id>
<content type='text'>
When the magic variable .KATI_READONLY is set to a variable name, any
further attempts to modify the named variable will result in an error.

  FOO := bar
  .KATI_READONLY := FOO
  FOO := baz  # Error!

This is useful to make some global configuration readonly so that
another makefile cannot change it. In Android, we emulated this by
backing up some global configuration before including the Android.mk
files, then comparing the current values to the backed up values after
they've been included. But this means we don't know the location that
modified the variable, just that something did. And it's not perfect,
since the backup can also be changed.

Something similar to this could be implemented with `override`, but then
setting the variable silently fails, and it still could be overriden
with another override.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When the magic variable .KATI_READONLY is set to a variable name, any
further attempts to modify the named variable will result in an error.

  FOO := bar
  .KATI_READONLY := FOO
  FOO := baz  # Error!

This is useful to make some global configuration readonly so that
another makefile cannot change it. In Android, we emulated this by
backing up some global configuration before including the Android.mk
files, then comparing the current values to the backed up values after
they've been included. But this means we don't know the location that
modified the variable, just that something did. And it's not perfect,
since the backup can also be changed.

Something similar to this could be implemented with `override`, but then
setting the variable silently fails, and it still could be overriden
with another override.
</pre>
</div>
</content>
</entry>
<entry>
<title>Stop using .PHONY as a build target in phony.mk</title>
<updated>2016-09-20T04:02:28+00:00</updated>
<author>
<name>hamaji</name>
<email>shinichiro.hamaji@gmail.com</email>
</author>
<published>2016-09-20T04:02:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_build_kati/commit/?id=1abedffc5a9c0d7961d1b7cc79be241bc4313756'/>
<id>1abedffc5a9c0d7961d1b7cc79be241bc4313756</id>
<content type='text'>
This testcase makes little sense.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This testcase makes little sense.
</pre>
</div>
</content>
</entry>
<entry>
<title>[C++] Allow targets which start with `='.</title>
<updated>2016-06-30T05:47:39+00:00</updated>
<author>
<name>Shinichiro Hamaji</name>
<email>shinichiro.hamaji@gmail.com</email>
</author>
<published>2016-06-30T04:05:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_build_kati/commit/?id=c4f7662b112a232e313b69706f148de4e69b9f21'/>
<id>c4f7662b112a232e313b69706f148de4e69b9f21</id>
<content type='text'>
but with a kati-specific warning message. This fixes #83.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
but with a kati-specific warning message. This fixes #83.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add testcases for commandline variables</title>
<updated>2016-06-25T02:24:11+00:00</updated>
<author>
<name>Shinichiro Hamaji</name>
<email>shinichiro.hamaji@gmail.com</email>
</author>
<published>2016-06-25T02:24:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_build_kati/commit/?id=5e6b2e4c094eb2b034e524884c72aab060af9999'/>
<id>5e6b2e4c094eb2b034e524884c72aab060af9999</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[C++] Do not evaluate recursive variable in ifdef</title>
<updated>2016-06-09T07:14:51+00:00</updated>
<author>
<name>Shinichiro Hamaji</name>
<email>shinichiro.hamaji@gmail.com</email>
</author>
<published>2016-06-09T07:14:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_build_kati/commit/?id=52fe6fcb7e0143e48b8f82f92283dea89e5c3741'/>
<id>52fe6fcb7e0143e48b8f82f92283dea89e5c3741</id>
<content type='text'>
This fixes #79
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This fixes #79
</pre>
</div>
</content>
</entry>
<entry>
<title>[C++] Fix handling CRLF after a backslash</title>
<updated>2016-06-07T05:35:41+00:00</updated>
<author>
<name>Shinichiro Hamaji</name>
<email>shinichiro.hamaji@gmail.com</email>
</author>
<published>2016-06-07T05:35:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_build_kati/commit/?id=3e98b6b9f822c6a142eea55a9d387be88b6f02d9'/>
<id>3e98b6b9f822c6a142eea55a9d387be88b6f02d9</id>
<content type='text'>
This fixes #77
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This fixes #77
</pre>
</div>
</content>
</entry>
</feed>
