<feed xmlns='http://www.w3.org/2005/Atom'>
<title>platform_build_kati/var.cc, 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>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>Fix https://github.com/google/kati/issues/46</title>
<updated>2016-03-10T05:47:34+00:00</updated>
<author>
<name>Shinichiro Hamaji</name>
<email>shinichiro.hamaji@gmail.com</email>
</author>
<published>2016-03-10T05:47:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_build_kati/commit/?id=e6a4d17451e9da51ce6a1c5e48a635a090286106'/>
<id>e6a4d17451e9da51ce6a1c5e48a635a090286106</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[C++] Associate global variables with Symbols directly</title>
<updated>2016-02-22T07:19:42+00:00</updated>
<author>
<name>Shinichiro Hamaji</name>
<email>shinichiro.hamaji@gmail.com</email>
</author>
<published>2016-02-18T09:18:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_build_kati/commit/?id=c9b9e5eea8b477a103cdec951ef2a299f9cd49ba'/>
<id>c9b9e5eea8b477a103cdec951ef2a299f9cd49ba</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[C++] Use emplace instead of insert+make_pair</title>
<updated>2016-02-17T08:50:06+00:00</updated>
<author>
<name>Shinichiro Hamaji</name>
<email>shinichiro.hamaji@gmail.com</email>
</author>
<published>2016-02-17T08:50:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_build_kati/commit/?id=3deff5bf54db9c5d36b775beffadbae33381d1b1'/>
<id>3deff5bf54db9c5d36b775beffadbae33381d1b1</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[C++] Remove unnecessary allocation for SimpleVar</title>
<updated>2016-02-10T04:53:41+00:00</updated>
<author>
<name>Shinichiro Hamaji</name>
<email>shinichiro.hamaji@gmail.com</email>
</author>
<published>2016-02-10T04:53:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_build_kati/commit/?id=90e52cec561a406ad5683cd384148632273719d4'/>
<id>90e52cec561a406ad5683cd384148632273719d4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Rename value.* and ast.* to expr.* and stmt.*, respectively</title>
<updated>2015-09-24T08:04:21+00:00</updated>
<author>
<name>Shinichiro Hamaji</name>
<email>shinichiro.hamaji@gmail.com</email>
</author>
<published>2015-09-24T08:04:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_build_kati/commit/?id=645cca7910dccf4811dbf65d4c83a068a83b48c9'/>
<id>645cca7910dccf4811dbf65d4c83a068a83b48c9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[C++] Stop using shared_ptr&lt;string&gt; in SimpleVar</title>
<updated>2015-08-14T07:49:20+00:00</updated>
<author>
<name>Shinichiro Hamaji</name>
<email>shinichiro.hamaji@gmail.com</email>
</author>
<published>2015-08-14T07:49:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_build_kati/commit/?id=5081c71d90a099a96148c39835a93c8c1eff1756'/>
<id>5081c71d90a099a96148c39835a93c8c1eff1756</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[C++] Record environment variables used</title>
<updated>2015-07-13T18:51:44+00:00</updated>
<author>
<name>Shinichiro Hamaji</name>
<email>shinichiro.hamaji@gmail.com</email>
</author>
<published>2015-07-13T18:51:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_build_kati/commit/?id=5163e040c70522ac18106a25aac16da92a309ec1'/>
<id>5163e040c70522ac18106a25aac16da92a309ec1</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[C++] Remove STRING_PIECE macro</title>
<updated>2015-07-03T08:21:51+00:00</updated>
<author>
<name>Shinichiro Hamaji</name>
<email>shinichiro.hamaji@gmail.com</email>
</author>
<published>2015-07-03T07:51:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_build_kati/commit/?id=388e85886bb13ceeb91cbeb6d94cc9ab83f30f53'/>
<id>388e85886bb13ceeb91cbeb6d94cc9ab83f30f53</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[C++] Introduce Symbol</title>
<updated>2015-06-29T11:49:28+00:00</updated>
<author>
<name>Shinichiro Hamaji</name>
<email>shinichiro.hamaji@gmail.com</email>
</author>
<published>2015-06-29T09:38:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_build_kati/commit/?id=e7992752dbfe23d0a88312b4279531c39512b9a6'/>
<id>e7992752dbfe23d0a88312b4279531c39512b9a6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
