Merge "Docs: Minor fix and restructuring to Vulkan validation-layer doc to prevent devs from corrupting their NDK install." into mnc-mr-docs am: 19d1e73e41 am: 68af8d0

am: 1d52e49

* commit '1d52e49be27be077fafb16fcf700da80d7abc87b':
  Docs: Minor fix and restructuring to Vulkan validation-layer doc to prevent devs from corrupting their NDK install.

Change-Id: I6c0cb2412f8a84d90718bbcc99773328a2ca7389
This commit is contained in:
David Friedman
2016-04-27 21:21:31 +00:00
committed by android-build-merger

View File

@@ -109,10 +109,37 @@ $ git checkout android_layers
</li>
<li>
Prepare to build by following the preparation instructions for your platform. These instructions
are in the {@code BUILD.md} file contained in the local instance of the repository you cloned.
Begin preparation for building by entering the following commands on the command line:
<ul>
<li>For Linux or OS X:
<ul>
<li>
<pre class="no-pretty-print">
$ cd build-android
$ ./android-generate</pre>
</li>
</ul>
</li>
<li>For Windows:
<ul>
<li>
<pre class="no-pretty-print">
&gt; cd build-android
&gt; android-generate.bat</pre>
</li>
</ul>
</li>
</ul>
</li>
<li>
Continue by following the build instructions for your platform.
These instructions are in the {@code BUILD.md} file contained in the local instance of the
repository you cloned.
</li>
</ul>
</ol>
<h3 id="ias">Android Studio Integration</h3>
@@ -205,12 +232,10 @@ Android Studio.
<p>
To build validation layers on Linux or OS X, enter these commands on the command line:
</p>
<ol>
<ul>
<li>
Using Gradle:
<pre class="no-pretty-print">
$ cd build-android
$ ./android-generate
$ cd generated/gradle-build
$ # configure SDK and NDK path in local.properties
$ gradlew assembleAllDebug
@@ -219,22 +244,17 @@ $ gradlew assembleAllDebug
<li>
Using Android makefiles:
<pre class="no-pretty-print">
$ cd build-android
$ ./android-generate
$ ndk-build
</pre>
$ ndk-build</pre>
</li>
</ol>
</ul>
<p>
To build validation layers on Windows, enter these commands on the command line:
</p>
<ol>
<ul>
<li>
Using Gradle:
<pre class="no-pretty-print">
&gt; cd build-android
&gt; android-generate.bat
&gt; cd generated\gradle-build
&gt; REM configure SDK and NDK path in local.properties
&gt; gradlew.bat assembleAllDebug
@@ -243,12 +263,10 @@ Using Gradle:
<li>
Using Android makefiles:
<pre class="no-pretty-print">
&gt; cd build-android
&gt; android-generate.bat
&gt; ndk-build.cmd
</pre>
</li>
</ol>
</ul>