<feed xmlns='http://www.w3.org/2005/Atom'>
<title>platform_external_crosvm/tempfile, branch android11-tests-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_external_crosvm/'/>
<entry>
<title>Add crosvm_defaults with only supported platforms.</title>
<updated>2019-11-15T16:16:19+00:00</updated>
<author>
<name>Ivan Lozano</name>
<email>ivanlozano@google.com</email>
</author>
<published>2019-11-15T16:12:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_external_crosvm/commit/?id=324ed130340e591a0ffbc2ef8d2a7b4a2d116be0'/>
<id>324ed130340e591a0ffbc2ef8d2a7b4a2d116be0</id>
<content type='text'>
Adds a rust_defaults module that ensures that our crosvm modules are
only built on supported platforms.

Bug: 144553403
Bug: 140938178
Test: m -j crosvm.experimental
Test: modules disabled for unsupported platforms.
Change-Id: I0baec2b4f8c6839c858678270c1c6d527ba4716d
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Adds a rust_defaults module that ensures that our crosvm modules are
only built on supported platforms.

Bug: 144553403
Bug: 140938178
Test: m -j crosvm.experimental
Test: modules disabled for unsupported platforms.
Change-Id: I0baec2b4f8c6839c858678270c1c6d527ba4716d
</pre>
</div>
</content>
</entry>
<entry>
<title>Generate Android.bp into subdirectories.</title>
<updated>2019-10-15T05:41:39+00:00</updated>
<author>
<name>Chih-Hung Hsieh</name>
<email>chh@google.com</email>
</author>
<published>2019-10-15T05:16:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_external_crosvm/commit/?id=497df9d05d07a791784262596471900a83298793'/>
<id>497df9d05d07a791784262596471900a83298793</id>
<content type='text'>
* Use a script cargo2android.py to generate Android.bp files
  from cargo build -v output. Cargo.toml and some build.rs
  files were temporarily changed to pass cargo build.
* Missing output are copied from old Android.bp file:
  * Rerun cargo2android.py in:
    ./tempfile ./gpu_display ./gpu_buffer ./gpu_renderer
  * Native code modules are not handled by cargo2android.py:
    * Copy modules from old Android.bp to ./gpu_display
    * Copy attributes of crosvm from old Android.bp to ./Android.bp
    * Copy libhost_cpuid to x86_64/Android.bp

Test: mm in crosvm and other rust directories.
Change-Id: I987dd881d088d950e073dc127d19240b6abc57f2
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Use a script cargo2android.py to generate Android.bp files
  from cargo build -v output. Cargo.toml and some build.rs
  files were temporarily changed to pass cargo build.
* Missing output are copied from old Android.bp file:
  * Rerun cargo2android.py in:
    ./tempfile ./gpu_display ./gpu_buffer ./gpu_renderer
  * Native code modules are not handled by cargo2android.py:
    * Copy modules from old Android.bp to ./gpu_display
    * Copy attributes of crosvm from old Android.bp to ./Android.bp
    * Copy libhost_cpuid to x86_64/Android.bp

Test: mm in crosvm and other rust directories.
Change-Id: I987dd881d088d950e073dc127d19240b6abc57f2
</pre>
</div>
</content>
</entry>
<entry>
<title>edition: Remove extern crate lines</title>
<updated>2019-04-15T09:06:08+00:00</updated>
<author>
<name>David Tolnay</name>
<email>dtolnay@chromium.org</email>
</author>
<published>2019-04-11T21:30:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_external_crosvm/commit/?id=aecf9a4dee6c004bceabf268a5b36d24c3744ca6'/>
<id>aecf9a4dee6c004bceabf268a5b36d24c3744ca6</id>
<content type='text'>
In Rust 2018 edition, `extern crate` is no longer required for importing
from other crates. Instead of writing:

    extern crate dep;
    use dep::Thing;

we write:

    use dep::Thing;

In this approach, macros are imported individually from the declaring
crate rather than through #[macro_use]. Before:

    #[macro_use]
    extern crate sys_util;

After:

    use sys_util::{debug, error};

The only place that `extern crate` continues to be required is in
importing the compiler's proc_macro API into a procedural macro crate.
This will hopefully be fixed in a future Rust release.

    extern crate proc_macro;

TEST=cargo check
TEST=cargo check --all-features
TEST=cargo check --target aarch64-unknown-linux-gnu
TEST=local kokoro

Change-Id: I0b43768c0d81f2a250b1959fb97ba35cbac56293
Reviewed-on: https://chromium-review.googlesource.com/1565302
Commit-Ready: David Tolnay &lt;dtolnay@chromium.org&gt;
Commit-Ready: ChromeOS CL Exonerator Bot &lt;chromiumos-cl-exonerator@appspot.gserviceaccount.com&gt;
Tested-by: David Tolnay &lt;dtolnay@chromium.org&gt;
Tested-by: kokoro &lt;noreply+kokoro@google.com&gt;
Reviewed-by: David Tolnay &lt;dtolnay@chromium.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In Rust 2018 edition, `extern crate` is no longer required for importing
from other crates. Instead of writing:

    extern crate dep;
    use dep::Thing;

we write:

    use dep::Thing;

In this approach, macros are imported individually from the declaring
crate rather than through #[macro_use]. Before:

    #[macro_use]
    extern crate sys_util;

After:

    use sys_util::{debug, error};

The only place that `extern crate` continues to be required is in
importing the compiler's proc_macro API into a procedural macro crate.
This will hopefully be fixed in a future Rust release.

    extern crate proc_macro;

TEST=cargo check
TEST=cargo check --all-features
TEST=cargo check --target aarch64-unknown-linux-gnu
TEST=local kokoro

Change-Id: I0b43768c0d81f2a250b1959fb97ba35cbac56293
Reviewed-on: https://chromium-review.googlesource.com/1565302
Commit-Ready: David Tolnay &lt;dtolnay@chromium.org&gt;
Commit-Ready: ChromeOS CL Exonerator Bot &lt;chromiumos-cl-exonerator@appspot.gserviceaccount.com&gt;
Tested-by: David Tolnay &lt;dtolnay@chromium.org&gt;
Tested-by: kokoro &lt;noreply+kokoro@google.com&gt;
Reviewed-by: David Tolnay &lt;dtolnay@chromium.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>protos: Update to protobuf 2.3</title>
<updated>2019-04-12T21:49:56+00:00</updated>
<author>
<name>David Tolnay</name>
<email>dtolnay@chromium.org</email>
</author>
<published>2019-04-11T00:59:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_external_crosvm/commit/?id=fd67ec5ffc84d8726ebcb141ddb93e10a046ee72'/>
<id>fd67ec5ffc84d8726ebcb141ddb93e10a046ee72</id>
<content type='text'>
This matches the version already used by crostini_client.

The newer protobuf version depends on the tempfile crate rather than
tempdir, the latter being now deprecated. So I replaced our immitation
tempdir crate with one that matches the API of tempfile instead. As a
reminder, we use this crate as a patch to avoid pulling in all of the
rand crate and its many dependencies.

TEST=cargo check --features plugin
CQ-DEPEND=CL:1553971

Change-Id: I28eed3ceadb1013f015400b4c582aaf8dc89eee1
Reviewed-on: https://chromium-review.googlesource.com/1562924
Commit-Ready: ChromeOS CL Exonerator Bot &lt;chromiumos-cl-exonerator@appspot.gserviceaccount.com&gt;
Tested-by: David Tolnay &lt;dtolnay@chromium.org&gt;
Tested-by: kokoro &lt;noreply+kokoro@google.com&gt;
Reviewed-by: Zach Reizner &lt;zachr@chromium.org&gt;
Reviewed-by: Daniel Verkamp &lt;dverkamp@chromium.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This matches the version already used by crostini_client.

The newer protobuf version depends on the tempfile crate rather than
tempdir, the latter being now deprecated. So I replaced our immitation
tempdir crate with one that matches the API of tempfile instead. As a
reminder, we use this crate as a patch to avoid pulling in all of the
rand crate and its many dependencies.

TEST=cargo check --features plugin
CQ-DEPEND=CL:1553971

Change-Id: I28eed3ceadb1013f015400b4c582aaf8dc89eee1
Reviewed-on: https://chromium-review.googlesource.com/1562924
Commit-Ready: ChromeOS CL Exonerator Bot &lt;chromiumos-cl-exonerator@appspot.gserviceaccount.com&gt;
Tested-by: David Tolnay &lt;dtolnay@chromium.org&gt;
Tested-by: kokoro &lt;noreply+kokoro@google.com&gt;
Reviewed-by: Zach Reizner &lt;zachr@chromium.org&gt;
Reviewed-by: Daniel Verkamp &lt;dverkamp@chromium.org&gt;
</pre>
</div>
</content>
</entry>
</feed>
