forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added brotli enc/ and tools/ directories.
BUG=332521 Review-Url: https://codereview.chromium.org/1956893002 Cr-Commit-Position: refs/heads/master@{#393898}
- Loading branch information
smaier
authored and
Commit bot
committed
May 16, 2016
1 parent
f2ec84d
commit cdf50b7
Showing
58 changed files
with
37,761 additions
and
33 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# Copyright 2016 The Chromium Authors. All rights reserved. | ||
# Use of this source code is governed by a BSD-style license that can be | ||
# found in the LICENSE file. | ||
|
||
import("//build/compiled_action.gni") | ||
|
||
# Compresses a file with brotli. | ||
# | ||
# Variables | ||
# input_file: Path to input file. | ||
# output_file: Path to output file. | ||
# | ||
template("compress_file_brotli") { | ||
compiled_action(target_name) { | ||
forward_variables_from(invoker, | ||
[ | ||
"deps", | ||
"testonly", | ||
]) | ||
tool = "//third_party/brotli:bro" | ||
inputs = [ | ||
invoker.input_file, | ||
] | ||
outputs = [ | ||
invoker.output_file, | ||
] | ||
args = [ | ||
"--force", | ||
"--input", | ||
rebase_path(invoker.input_file, root_build_dir), | ||
"--output", | ||
rebase_path(invoker.output_file, root_build_dir), | ||
] | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.