Fix ANGLE documentation about Chromium build.

BUG=angleproject:848

Change-Id: If70498c10d50dad3da3852c12c6bd732166c54e4
Reviewed-on: https://chromium-review.googlesource.com/307070
Reviewed-by: Kenneth Russell <kbr@chromium.org>
Tested-by: Jamie Madill <jmadill@chromium.org>
This commit is contained in:
Jamie Madill 2015-10-19 10:24:02 -04:00
Родитель fe7e9ed462
Коммит 114e8ef237
1 изменённых файлов: 13 добавлений и 4 удалений

Просмотреть файл

@ -2,9 +2,16 @@
## Introduction ## Introduction
ANGLE is normally built on Windows but parts of it are cross platform including the shader validator and translator. These parts can be built and tested inside a Chromium checkout. On Windows, Linux, and Mac ANGLE now builds most core components cross platform, including the shader validator and translator as well as the graphics API translator. These parts can be built and tested inside a Chromium checkout.
## Details Steps:
* Checkout and build [Chromium](http://dev.chromium.org/Home).
* You should now be able to use `ninja -C out/Debug angle_end2end_tests`, for example.
## Building Standalone ANGLE insinde Chromium
On Mac, ANGLE doesn't yet include the dEQP tests or the API translation libraries as part of Chromium. ANGLE also includes some sample applications and a few other targets that don't build on Chromium. These steps describe how to build such targets within a Chromium checkout.
Steps: Steps:
@ -37,16 +44,18 @@ ninja -j 10 -k1 -C out/Debug
```bash ```bash
cd src/third_party/angle cd src/third_party/angle
ninja -j 10 -k1 -C out/Debug angle_compiler_tests ninja -j 10 -k1 -C out/Debug angle_gles2_deqp_tests
``` ```
* To run * To run
```bash ```bash
cd src/third_party/angle cd src/third_party/angle
./out/Debug/angle_compiler_tests ./out/Debug/hello_triangle
``` ```
If you decide to go back to the Chromium-managed version, just remove the `.gclient` file.
## Working with Top of Tree ANGLE in Chromium ## Working with Top of Tree ANGLE in Chromium
If you're actively developing within ANGLE in your Chromium workspace you will want to work with top of tree ANGLE. To do this do the following: If you're actively developing within ANGLE in your Chromium workspace you will want to work with top of tree ANGLE. To do this do the following: