Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / components / resources / BUILD.gn
blobd6544f9c35c60fdb9a4d965ba7d5a66e4229e969
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
3 # found in the LICENSE file.
5 import("//tools/grit/grit_rule.gni")
7 # GYP version: components/components_resources.gyp:components_resources
8 group("resources") {
9   public_deps = [
10     ":components_resources",
11     ":components_scaled_resources",
12   ]
15 # GYP version: components/components_resources.gyp
16 #              (generate_components_resources action)
17 grit("components_resources") {
18   source = "components_resources.grd"
20   # TODO(hashimoto): Remove this line.
21   output_name = "components_resources_new"
22   outputs = [
23     "grit/components_resources.h",
24     "components_resources.pak",
25   ]
26   output_dir = "$root_gen_dir/components"
29 # GYP version: components/components_resources.gyp
30 #              (generate_scaled_components_resources action)
31 grit("components_scaled_resources") {
32   source = "components_scaled_resources.grd"
34   # TODO(hashimoto): Remove this line.
35   output_name = "components_scaled_resources_new"
36   outputs = [
37     "grit/components_scaled_resources.h",
38     "components_resources_100_percent.pak",
39     "components_resources_200_percent.pak",
40     "components_resources_300_percent.pak",
41     "components_resources_material_100_percent.pak",
42     "components_resources_material_200_percent.pak",
43   ]
44   output_dir = "$root_gen_dir/components"