| 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("//printing/features/features.gni") | 5 import("//printing/features/features.gni") |
| 6 import("//tools/grit/grit_rule.gni") | 6 import("//tools/grit/grit_rule.gni") |
| 7 import("//third_party/brotli/brotli.gni") | 7 import("//third_party/brotli/brotli.gni") |
| 8 | 8 |
| 9 about_credits_file = "$target_gen_dir/about_credits.html" | 9 about_credits_file = "$target_gen_dir/about_credits.html" |
| 10 about_credits_file_bro = "$target_gen_dir/about_credits.bro" | 10 about_credits_file_bro = "$target_gen_dir/about_credits.bro" |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 outputs = [ | 24 outputs = [ |
| 25 "grit/components_resources.h", | 25 "grit/components_resources.h", |
| 26 "components_resources.pak", | 26 "components_resources.pak", |
| 27 ] | 27 ] |
| 28 output_dir = "$root_gen_dir/components" | 28 output_dir = "$root_gen_dir/components" |
| 29 | 29 |
| 30 grit_flags = [ | 30 grit_flags = [ |
| 31 "-E", | 31 "-E", |
| 32 "about_credits_file=" + rebase_path(about_credits_file_bro, root_build_dir), | 32 "about_credits_file=" + rebase_path(about_credits_file_bro, root_build_dir), |
| 33 ] | 33 ] |
| 34 defines = [ "enable_print_preview=$enable_print_preview" ] | 34 defines = [ |
| 35 "enable_basic_printing=$enable_basic_printing", |
| 36 "enable_print_preview=$enable_print_preview", |
| 37 ] |
| 35 | 38 |
| 36 deps = [ | 39 deps = [ |
| 37 ":compressed_about_credits", | 40 ":compressed_about_credits", |
| 38 ] | 41 ] |
| 39 } | 42 } |
| 40 | 43 |
| 41 grit("components_scaled_resources") { | 44 grit("components_scaled_resources") { |
| 42 source = "components_scaled_resources.grd" | 45 source = "components_scaled_resources.grd" |
| 43 | 46 |
| 44 # TODO(hashimoto): Remove this line. | 47 # TODO(hashimoto): Remove this line. |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 76 ] | 79 ] |
| 77 | 80 |
| 78 args = [ | 81 args = [ |
| 79 "--target-os=$target_os", | 82 "--target-os=$target_os", |
| 80 "--depfile", | 83 "--depfile", |
| 81 rebase_path(depfile, root_build_dir), | 84 rebase_path(depfile, root_build_dir), |
| 82 "credits", | 85 "credits", |
| 83 rebase_path(about_credits_file, root_build_dir), | 86 rebase_path(about_credits_file, root_build_dir), |
| 84 ] | 87 ] |
| 85 } | 88 } |
| OLD | NEW |