Add RemoteDeviceLifeCycle to manage the life cycle of a remote Smart Lock phone.
[chromium-blink-merge.git] / docs / angle_in_chromium.md
bloba955ff015b07aa68ee599307d5ae0964e10f4cf2
1 # Hacking on ANGLE in Chromium
3 In DEPS, comment out the part that looks like this.
5 ```
6 #  "src/third_party/angle":
7 #    Var("chromium_git") + "/angle/angle.git@" + Var("angle_revision"),
8 ```
10 Delete or rename third\_party/angle.
12 (Optional) sync and make sure the third\_party/angle directory doesn't come
13 back. It shouldn’t because it is no longer referenced from DEPS.
15 ```shell
16 gclient sync -r CURRENT_REVISION
17 ```
19 Clone the ANGLE git repository.
21 ```
22 > git clone https://chromium.googlesource.com/angle/angle third_party/angle
23 > gclient runhooks
24 ```
26 To check ANGLE builds (assumes you ran hooks with GYP\_GENERATORS=ninja) without
27 building all of Chromium.
29 ```shell
30 ninja -C out\Release libEGL.dll
31 ```
33 Change files then commit locally.
35 Upload to gerrit for review. You will need to have installed the git hook as
36 described in the "Getting started with Gerrit for ANGLE" section of the
37 ContributingCode doc before committing them locally.
39 ```shell
40 git cl upload
41 ```
43 As with subversion and rietveld: visit the upload link for the review site,
44 check the diff and the commit message then add reviewer(s) and publish.
46 Land your changes to the upstream repository from the gerrit web interface.
48 If there are upstream changes, you may need to rebase your patches and reupload
49 them.
51 ```shell
52 git pull
53 git cl upload
54 ```
56 # Rolling ANGLE into Chrome
58 To roll DEPS, make sure this is not commented out and update the hash associated
59 with "angle\_revision". (Your hash will be different than the one below.)
61 ```
62   "angle_revision": "0ee126c670edae8dd1822980047450a9a530c032",
63 ```
65 Then sync.
67 ```shell
68 gclient sync
69 ```
71 Your changes should now be in third\_party/angle.