Commit a10837eb authored by wychen's avatar wychen Committed by Commit bot

Fix missing headers in brotli

Decreased the number of missing header files by 4.

BUG=661774

Review-Url: https://codereview.chromium.org/2854603002
Cr-Commit-Position: refs/heads/master@{#468319}
parent 72170dc2
...@@ -141,6 +141,7 @@ check_targets = [ ...@@ -141,6 +141,7 @@ check_targets = [
"//testing/*", "//testing/*",
#"//third_party/*", # May not ever want this. #"//third_party/*", # May not ever want this.
"//third_party/brotli/*",
"//third_party/hunspell/*", "//third_party/hunspell/*",
"//third_party/libaddressinput/*", "//third_party/libaddressinput/*",
"//third_party/libphonenumber/*", "//third_party/libphonenumber/*",
......
...@@ -12,6 +12,15 @@ config("includes") { ...@@ -12,6 +12,15 @@ config("includes") {
include_dirs = [ "include" ] 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") { static_library("common") {
sources = [ sources = [
"common/constants.h", "common/constants.h",
...@@ -20,6 +29,9 @@ static_library("common") { ...@@ -20,6 +29,9 @@ static_library("common") {
"common/version.h", "common/version.h",
] ]
public_configs = [ ":includes" ] public_configs = [ ":includes" ]
deps = [
":headers",
]
} }
static_library("dec") { static_library("dec") {
...@@ -38,6 +50,10 @@ static_library("dec") { ...@@ -38,6 +50,10 @@ static_library("dec") {
] ]
public_configs = [ ":includes" ] public_configs = [ ":includes" ]
public_deps = [
":headers",
]
deps = [ deps = [
":common", ":common",
] ]
...@@ -113,6 +129,7 @@ if (current_toolchain == host_toolchain) { ...@@ -113,6 +129,7 @@ if (current_toolchain == host_toolchain) {
deps = [ deps = [
":common", ":common",
":dec", ":dec",
":headers",
"//build/config/sanitizers:deps", "//build/config/sanitizers:deps",
"//build/win:default_exe_manifest", "//build/win:default_exe_manifest",
] ]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment