| OLD | NEW |
| 1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 # Generate the binary proto form of "tls_error_assistant" from the ascii proto. | 5 # Generate the binary proto form of "ssl_error_assistant" from the ascii proto. |
| 6 action("make_tls_error_assistant_protobuf") { | 6 action("make_ssl_error_assistant_protobuf") { |
| 7 script = "gen_tls_error_assistant_proto.py" | 7 script = "gen_ssl_error_assistant_proto.py" |
| 8 | 8 |
| 9 # The output goes in $target_gen_dir since that's where | 9 # The output goes in $target_gen_dir since that's where |
| 10 # chrome/browser/browser_resources.grd will look for it. | 10 # chrome/browser/browser_resources.grd will look for it. |
| 11 | 11 |
| 12 input_filename = "tls_error_assistant.asciipb" | 12 input_filename = "ssl_error_assistant.asciipb" |
| 13 output_dir = target_gen_dir | 13 output_dir = target_gen_dir |
| 14 output_basename = "tls_error_assistant.pb" | 14 output_basename = "ssl_error_assistant.pb" |
| 15 python_path_root = "$root_out_dir/pyproto" | 15 python_path_root = "$root_out_dir/pyproto" |
| 16 python_path_ssl = "$python_path_root/chrome/browser/ssl/" | 16 python_path_ssl = "$python_path_root/chrome/browser/ssl/" |
| 17 | 17 |
| 18 inputs = [ | 18 inputs = [ |
| 19 input_filename, | 19 input_filename, |
| 20 ] | 20 ] |
| 21 | 21 |
| 22 deps = [ | 22 deps = [ |
| 23 "//chrome/browser/ssl:proto", | 23 "//chrome/browser/ssl:proto", |
| 24 "//third_party/protobuf:py_proto", | 24 "//third_party/protobuf:py_proto", |
| (...skipping 10 matching lines...) Expand all Loading... |
| 35 "-d", | 35 "-d", |
| 36 rebase_path(output_dir, root_build_dir), | 36 rebase_path(output_dir, root_build_dir), |
| 37 "-o", | 37 "-o", |
| 38 output_basename, | 38 output_basename, |
| 39 "-p", | 39 "-p", |
| 40 rebase_path(python_path_root, root_build_dir), | 40 rebase_path(python_path_root, root_build_dir), |
| 41 "-p", | 41 "-p", |
| 42 rebase_path(python_path_ssl, root_build_dir), | 42 rebase_path(python_path_ssl, root_build_dir), |
| 43 ] | 43 ] |
| 44 } | 44 } |
| OLD | NEW |