Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7)

Unified Diff: third_party/brotli/BUILD.gn

Issue 2854603002: Fix missing headers in brotli (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « .gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/brotli/BUILD.gn
diff --git a/third_party/brotli/BUILD.gn b/third_party/brotli/BUILD.gn
index 43911338745b0e1200892133fe3b479403b73e1f..d8551679b03391edb4d7405b7943cbea1954e703 100644
--- a/third_party/brotli/BUILD.gn
+++ b/third_party/brotli/BUILD.gn
@@ -12,6 +12,15 @@ config("includes") {
include_dirs = [ "include" ]
}
+source_set("headers") {
+ sources = [
+ "include/brotli/decode.h",
+ "include/brotli/encode.h",
+ "include/brotli/port.h",
+ "include/brotli/types.h",
+ ]
+}
+
static_library("common") {
sources = [
"common/constants.h",
@@ -20,6 +29,9 @@ static_library("common") {
"common/version.h",
]
public_configs = [ ":includes" ]
+ deps = [
+ ":headers",
+ ]
}
static_library("dec") {
@@ -38,6 +50,10 @@ static_library("dec") {
]
public_configs = [ ":includes" ]
+ public_deps = [
+ ":headers",
+ ]
+
deps = [
":common",
]
@@ -113,6 +129,7 @@ if (current_toolchain == host_toolchain) {
deps = [
":common",
":dec",
+ ":headers",
"//build/config/sanitizers:deps",
"//build/win:default_exe_manifest",
]
« no previous file with comments | « .gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698