|
Created BUILD.gn for libsecret
Moved the libsecret headers to a subdirectory and added a config rule to include this directory during compilation of dependents.
Also updated chrome/browser/BUILD.gn to use this dependency in the new way.
Q: Why move the headers in a subdirectory?
A: Dependents of libsecret expect the headers as <libsecret/secret.h> (libsecret files also reference each other this way). The previous way this worked was by including the entire //third_party/. This is too broad and it is also not configured by libsecret itself. Rather, libsecret piggybacks on other components doing it.
Moving the headers into "//third_party/libsecret/libsecret/" allows us to include "//third_party/libsecret/" and keep referencing the headers like previously. It also removes the situation where libsecret piggybacks on other libraries, or that other libraries will piggyback on libsecret.
BUG= 606303
Committed: https://crrev.com/7267be8dae266d389392b211c5746fd1192a0ee5
Cr-Commit-Position: refs/heads/master@{#390062}
Total comments: 1
Total comments: 11
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+23 lines, -1532 lines) |
Patch |
 |
M |
chrome/browser/BUILD.gn
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/chrome_browser.gypi
|
View
|
1
2
3
4
5
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/chrome_tests_unit.gypi
|
View
|
1
2
3
4
5
6
|
1 chunk |
+4 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/test/BUILD.gn
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
A |
third_party/libsecret/BUILD.gn
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+27 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
third_party/libsecret/libsecret/secret.h
|
View
|
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
 |
A + |
third_party/libsecret/libsecret/secret-attributes.h
|
View
|
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
 |
A + |
third_party/libsecret/libsecret/secret-collection.h
|
View
|
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
 |
A + |
third_party/libsecret/libsecret/secret-enum-types.h
|
View
|
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
 |
A + |
third_party/libsecret/libsecret/secret-item.h
|
View
|
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
 |
A + |
third_party/libsecret/libsecret/secret-password.h
|
View
|
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
 |
A + |
third_party/libsecret/libsecret/secret-paths.h
|
View
|
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
 |
A + |
third_party/libsecret/libsecret/secret-prompt.h
|
View
|
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
 |
A + |
third_party/libsecret/libsecret/secret-schema.h
|
View
|
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
 |
A + |
third_party/libsecret/libsecret/secret-schemas.h
|
View
|
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
 |
A + |
third_party/libsecret/libsecret/secret-service.h
|
View
|
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
 |
A + |
third_party/libsecret/libsecret/secret-types.h
|
View
|
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
 |
A + |
third_party/libsecret/libsecret/secret-value.h
|
View
|
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
 |
D |
third_party/libsecret/secret.h
|
View
|
|
1 chunk |
+0 lines, -47 lines |
0 comments
|
Download
|
 |
D |
third_party/libsecret/secret-attributes.h
|
View
|
|
1 chunk |
+0 lines, -38 lines |
0 comments
|
Download
|
 |
D |
third_party/libsecret/secret-collection.h
|
View
|
|
1 chunk |
+0 lines, -178 lines |
0 comments
|
Download
|
 |
D |
third_party/libsecret/secret-enum-types.h
|
View
|
|
1 chunk |
+0 lines, -60 lines |
0 comments
|
Download
|
 |
D |
third_party/libsecret/secret-item.h
|
View
|
|
1 chunk |
+0 lines, -196 lines |
0 comments
|
Download
|
 |
D |
third_party/libsecret/secret-password.h
|
View
|
|
1 chunk |
+0 lines, -135 lines |
0 comments
|
Download
|
 |
D |
third_party/libsecret/secret-paths.h
|
View
|
|
1 chunk |
+0 lines, -283 lines |
0 comments
|
Download
|
 |
D |
third_party/libsecret/secret-prompt.h
|
View
|
|
1 chunk |
+0 lines, -80 lines |
0 comments
|
Download
|
 |
D |
third_party/libsecret/secret-schema.h
|
View
|
|
1 chunk |
+0 lines, -77 lines |
0 comments
|
Download
|
 |
D |
third_party/libsecret/secret-schemas.h
|
View
|
|
1 chunk |
+0 lines, -42 lines |
0 comments
|
Download
|
 |
D |
third_party/libsecret/secret-service.h
|
View
|
|
1 chunk |
+0 lines, -309 lines |
0 comments
|
Download
|
 |
D |
third_party/libsecret/secret-types.h
|
View
|
|
1 chunk |
+0 lines, -43 lines |
0 comments
|
Download
|
 |
D |
third_party/libsecret/secret-value.h
|
View
|
|
1 chunk |
+0 lines, -56 lines |
0 comments
|
Download
|
Total messages: 29 (11 generated)
|