Browse Source

build: gn: commit patches after they have been applied (#14147)

* chore: bump libcc

* build: gn: commit patches after they have been applied

It prevents a hooks run failure when `gclient sync` is called
for a second time. Error message:

```
error: ui/latency/ui_latency_export.h: already exists in working directory
latency_info.patch failed to apply
```
Alexey Kuzmin 6 years ago
parent
commit
aca2293fa9
2 changed files with 5 additions and 3 deletions
  1. 4 2
      DEPS
  2. 1 1
      vendor/libchromiumcontent

+ 4 - 2
DEPS

@@ -2,7 +2,7 @@ vars = {
   'chromium_version':
     '66.0.3359.181',
   'libchromiumcontent_revision':
-    'd6411e421b0b2f0105d274ac4e5c90dc979463ca',
+    '5ff3486fc02a6a7b4b9e31d81034c4583c21114a',
   'node_version':
     'ece0a06ac8147efb5b5af431c21f312f1884616e',
 
@@ -33,7 +33,9 @@ hooks = [
   {
     'action': [
       'python',
-      'src/libchromiumcontent/script/apply-patches'
+      'src/libchromiumcontent/script/apply-patches',
+      '--project-root=.',
+      '--commit'
     ],
     'pattern':
       'src/libchromiumcontent',

+ 1 - 1
vendor/libchromiumcontent

@@ -1 +1 @@
-Subproject commit d6411e421b0b2f0105d274ac4e5c90dc979463ca
+Subproject commit 5ff3486fc02a6a7b4b9e31d81034c4583c21114a