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

Unified Diff: chrome/browser/resources/safe_browsing/BUILD.gn

Issue 1911883002: Revert "Re-land: Add download_file_types.proto with ascii->binary conversion, as a resource." (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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/browser_resources.grd ('k') | chrome/browser/resources/safe_browsing/README.md » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/safe_browsing/BUILD.gn
diff --git a/chrome/browser/resources/safe_browsing/BUILD.gn b/chrome/browser/resources/safe_browsing/BUILD.gn
deleted file mode 100644
index 330717ce73bf1b5e29719f8efddc6e2bb9c77aba..0000000000000000000000000000000000000000
--- a/chrome/browser/resources/safe_browsing/BUILD.gn
+++ /dev/null
@@ -1,42 +0,0 @@
-# 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.
-
-# Generate the binary proto form of "file_types" from the ascii proto.
-action("make_file_types_protobuf") {
- script = "gen_file_type_proto.py"
-
- # The output goes in $target_gen_dir since that's where
- # chrome/browser/browser_resources.grd will look for it.
-
- input_filename = "download_file_types.asciipb"
- output_filename = "$target_gen_dir/download_file_types.pb"
- python_path_root = "$root_build_dir/pyproto"
- python_path_safe_browsing = "$python_path_root/chrome/common/safe_browsing"
-
- inputs = [
- script,
- input_filename,
- ]
-
- # This script requires the generated python proto code
- deps = [
- "//chrome/common/safe_browsing:proto",
- "//third_party/protobuf:py_proto",
- ]
-
- outputs = [
- output_filename,
- ]
-
- args = [
- "-i",
- rebase_path(input_filename, root_build_dir),
- "-o",
- rebase_path(output_filename, root_build_dir),
- "-p",
- rebase_path(python_path_root, root_build_dir),
- "-p",
- rebase_path(python_path_safe_browsing, root_build_dir),
- ]
-}
« no previous file with comments | « chrome/browser/browser_resources.grd ('k') | chrome/browser/resources/safe_browsing/README.md » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698