| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 import("//tools/grit/grit_rule.gni") | 5 import("//tools/grit/grit_rule.gni") |
| 6 import("//third_party/brotli/brotli.gni") | 6 import("//third_party/brotli/brotli.gni") |
| 7 | 7 |
| 8 about_credits_file = "$target_gen_dir/about_credits.html" | 8 about_credits_file = "$target_gen_dir/about_credits.html" |
| 9 about_credits_file_bro = "$target_gen_dir/about_credits.bro" | 9 about_credits_file_bro = "$target_gen_dir/about_credits.bro" |
| 10 | 10 |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 output_name = "components_resources_new" | 25 output_name = "components_resources_new" |
| 26 outputs = [ | 26 outputs = [ |
| 27 "grit/components_resources.h", | 27 "grit/components_resources.h", |
| 28 "components_resources.pak", | 28 "components_resources.pak", |
| 29 ] | 29 ] |
| 30 output_dir = "$root_gen_dir/components" | 30 output_dir = "$root_gen_dir/components" |
| 31 | 31 |
| 32 grit_flags = [ | 32 grit_flags = [ |
| 33 "-E", | 33 "-E", |
| 34 "about_credits_file=" + rebase_path(about_credits_file_bro, root_build_dir), | 34 "about_credits_file=" + rebase_path(about_credits_file_bro, root_build_dir), |
| 35 "-E", |
| 36 "output_dir=" + rebase_path(output_dir, root_build_dir), |
| 35 ] | 37 ] |
| 36 | 38 |
| 37 deps = [ | 39 deps = [ |
| 38 ":compressed_about_credits", | 40 ":compressed_about_credits", |
| 39 ] | 41 ] |
| 40 } | 42 } |
| 41 | 43 |
| 42 # GYP version: components/components_resources.gyp | 44 # GYP version: components/components_resources.gyp |
| 43 # (generate_scaled_components_resources action) | 45 # (generate_scaled_components_resources action) |
| 44 grit("components_scaled_resources") { | 46 grit("components_scaled_resources") { |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 81 outputs = [ | 83 outputs = [ |
| 82 about_credits_file, | 84 about_credits_file, |
| 83 ] | 85 ] |
| 84 | 86 |
| 85 args = [ | 87 args = [ |
| 86 "--target-os=$target_os", | 88 "--target-os=$target_os", |
| 87 "credits", | 89 "credits", |
| 88 rebase_path(about_credits_file, root_build_dir), | 90 rebase_path(about_credits_file, root_build_dir), |
| 89 ] | 91 ] |
| 90 } | 92 } |
| OLD | NEW |