| 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 | 6 |
| 7 assert(enable_extensions) |
| 8 |
| 7 grit("resources") { | 9 grit("resources") { |
| 8 source = "app_shell_resources.grd" | 10 source = "app_shell_resources.grd" |
| 9 outputs = [ | 11 outputs = [ |
| 10 "grit/app_shell_resources.h", | 12 "grit/app_shell_resources.h", |
| 11 "app_shell_resources.pak", | 13 "app_shell_resources.pak", |
| 12 ] | 14 ] |
| 13 } | 15 } |
| 14 | 16 |
| 15 source_set("app_shell_lib") { | 17 source_set("app_shell_lib") { |
| 16 # This library is testonly because it depends on testonly libarries, | 18 # This library is testonly because it depends on testonly libarries, |
| (...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 150 version_h | 152 version_h |
| 151 ] | 153 ] |
| 152 outputs = [ "$target_gen_dir/common/version.h" ] | 154 outputs = [ "$target_gen_dir/common/version.h" ] |
| 153 args = [ | 155 args = [ |
| 154 "-f", rebase_path(lastchange_path, root_build_dir), | 156 "-f", rebase_path(lastchange_path, root_build_dir), |
| 155 "-e", "VERSION_FULL=\"$version_full\"", | 157 "-e", "VERSION_FULL=\"$version_full\"", |
| 156 rebase_path(version_h, root_build_dir), | 158 rebase_path(version_h, root_build_dir), |
| 157 rebase_path("$target_gen_dir/common/version.h") | 159 rebase_path("$target_gen_dir/common/version.h") |
| 158 ] | 160 ] |
| 159 } | 161 } |
| OLD | NEW |