| 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",
|
| ]
|
|
|