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

Unified Diff: components/data_reduction_proxy/core/common/version.gni

Issue 949233003: Fix official build in GN (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@random
Patch Set: remove ppapi dep Created 5 years, 10 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 | « components/data_reduction_proxy/core/common/BUILD.gn ('k') | crypto/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/data_reduction_proxy/core/common/version.gni
diff --git a/components/data_reduction_proxy/core/common/version.gni b/components/data_reduction_proxy/core/common/version.gni
deleted file mode 100644
index 48184d79e6cd35ada7d0681468216ed5d6401a6c..0000000000000000000000000000000000000000
--- a/components/data_reduction_proxy/core/common/version.gni
+++ /dev/null
@@ -1,53 +0,0 @@
-# Copyright 2014 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.
-
-# Runs the version processing script over the given template file to produce
-# an output file. This is used for generating various forms of files that
-# incorporate the product name and version.
-#
-# This template automatically includes VERSION,
-#
-# Parameters:
-# source:
-# File name of source template file to read.
-#
-# output:
-# File name of file to write.
-#
-# visibility (optional)
-#
-# Example:
-# process_version("myversion") {
-# source = "myfile.h.in"
-# output = "$target_gen_dir/myfile.h"
-# }
-template("process_version") {
- assert(defined(invoker.source), "Source must be defined for $target_name")
- assert(defined(invoker.output), "Output must be defined for $target_name")
-
- action(target_name) {
- if (defined(invoker.visibility)) {
- visibility = invoker.visibility
- }
- script = "//build/util/version.py"
-
- version_path = "//chrome/VERSION"
-
- inputs = [
- version_path,
- invoker.source,
- ]
-
- outputs = [
- invoker.output,
- ]
-
- args = [
- "-f",
- rebase_path(version_path, root_build_dir),
- rebase_path(invoker.source, root_build_dir),
- rebase_path(invoker.output, root_build_dir),
- ]
- }
-}
« no previous file with comments | « components/data_reduction_proxy/core/common/BUILD.gn ('k') | crypto/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698