Merge "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" into nyc-dev
diff --git a/docs/html/ndk/guides/graphics/validation-layer.jd b/docs/html/ndk/guides/graphics/validation-layer.jd
index 3a61f18..beac1c0 100644
--- a/docs/html/ndk/guides/graphics/validation-layer.jd
+++ b/docs/html/ndk/guides/graphics/validation-layer.jd
@@ -109,10 +109,37 @@
</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">
+> cd build-android
+> 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 @@
<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 @@
<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">
-> cd build-android
-> android-generate.bat
> cd generated\gradle-build
> REM configure SDK and NDK path in local.properties
> gradlew.bat assembleAllDebug
@@ -243,12 +263,10 @@
<li>
Using Android makefiles:
<pre class="no-pretty-print">
-> cd build-android
-> android-generate.bat
> ndk-build.cmd
</pre>
</li>
-</ol>
+</ul>