| 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("//tools/grit/repack.gni") | 6 import("//tools/grit/repack.gni") |
| 7 import("//ui/base/ui_features.gni") | 7 import("//ui/base/ui_features.gni") |
| 8 | 8 |
| 9 assert(is_chromeos) | 9 assert(is_chromeos) |
| 10 assert(enable_hidpi) | 10 assert(enable_hidpi) |
| 11 | 11 |
| 12 grit("resources") { | 12 grit("resources") { |
| 13 source = "ash_resources.grd" | 13 source = "ash_resources.grd" |
| 14 use_qualified_include = true | |
| 15 outputs = [ | 14 outputs = [ |
| 16 "grit/ash_resources.h", | 15 "grit/ash_resources.h", |
| 17 "ash_resources_100_percent.pak", | 16 "ash_resources_100_percent.pak", |
| 18 "ash_resources_200_percent.pak", | 17 "ash_resources_200_percent.pak", |
| 19 ] | 18 ] |
| 20 } | 19 } |
| 21 | 20 |
| 22 # Repacks resources needed for ash_unittests, etc. at a given scale. | 21 # Repacks resources needed for ash_unittests, etc. at a given scale. |
| 23 # TODO(msw): Use ui_test.pak instead of its pieces? (no 200% support?) | 22 # TODO(msw): Use ui_test.pak instead of its pieces? (no 200% support?) |
| 24 template("ash_test_resources") { | 23 template("ash_test_resources") { |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 # at 100%. | 74 # at 100%. |
| 76 ash_test_resources("with_content_100_percent") { | 75 ash_test_resources("with_content_100_percent") { |
| 77 percent = "100" | 76 percent = "100" |
| 78 sources = [ | 77 sources = [ |
| 79 "$root_gen_dir/content/content_resources.pak", | 78 "$root_gen_dir/content/content_resources.pak", |
| 80 ] | 79 ] |
| 81 deps = [ | 80 deps = [ |
| 82 "//content:resources", | 81 "//content:resources", |
| 83 ] | 82 ] |
| 84 } | 83 } |
| OLD | NEW |