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

Unified Diff: chrome/third_party/chromevox/BUILD.gn

Issue 2237233002: Clean up GN template code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: chromevox Created 4 years, 4 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 | « chrome/browser/resources/chromeos/chromevox/chromevox.gni ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/third_party/chromevox/BUILD.gn
diff --git a/chrome/third_party/chromevox/BUILD.gn b/chrome/third_party/chromevox/BUILD.gn
index 3e161c65543de85b6e611f1e7b5cf3b2c6f17475..62e6afafa00c3f3d1255f2d6be6aa438e4a7073b 100644
--- a/chrome/third_party/chromevox/BUILD.gn
+++ b/chrome/third_party/chromevox/BUILD.gn
@@ -2,36 +2,34 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-if (is_chromeos) {
- import("//chrome/browser/resources/chromeos/chromevox/chromevox.gni")
+assert(is_chromeos)
- chromevox_out_dir = "$root_out_dir/resources/chromeos/chromevox"
+chromevox_out_dir = "$root_out_dir/resources/chromeos/chromevox"
- group("chromevox_third_party_resources") {
- deps = [
- ":chromevox_third_party_background_resources",
- ":chromevox_third_party_injected_resources",
- ]
- }
+group("chromevox_third_party_resources") {
+ deps = [
+ ":chromevox_third_party_background_resources",
+ ":chromevox_third_party_injected_resources",
+ ]
+}
- copy("chromevox_third_party_background_resources") {
- sources = [
- "chromevox/background/chrome_shared2.css",
- "chromevox/background/options.css",
- "chromevox/background/options_widgets.css",
- ]
- outputs = [
- "$chromevox_out_dir/chromevox/background/{{source_file_part}}",
- ]
- }
+copy("chromevox_third_party_background_resources") {
+ sources = [
+ "chromevox/background/chrome_shared2.css",
+ "chromevox/background/options.css",
+ "chromevox/background/options_widgets.css",
+ ]
+ outputs = [
+ "$chromevox_out_dir/chromevox/background/{{source_file_part}}",
+ ]
+}
- copy("chromevox_third_party_injected_resources") {
- sources = [
- "chromevox/injected/mathjax.js",
- "chromevox/injected/mathjax_external_util.js",
- ]
- outputs = [
- "$chromevox_out_dir/chromevox/injected/{{source_file_part}}",
- ]
- }
+copy("chromevox_third_party_injected_resources") {
+ sources = [
+ "chromevox/injected/mathjax.js",
+ "chromevox/injected/mathjax_external_util.js",
+ ]
+ outputs = [
+ "$chromevox_out_dir/chromevox/injected/{{source_file_part}}",
+ ]
}
« no previous file with comments | « chrome/browser/resources/chromeos/chromevox/chromevox.gni ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698