Generate resource pak files for top chrome material design assets
[chromium-blink-merge.git] / chrome / app / theme / BUILD.gn
blob6282024005eadb858eab04ba285c2775ee27aa93
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: chrome/chrome_resources.gyp:theme_resources
8 grit("theme_resources") {
9   source = "theme_resources.grd"
10   outputs = [
11     "grit/theme_resources.h",
12     "grit/theme_resources_map.cc",
13     "grit/theme_resources_map.h",
14     "theme_resources_100_percent.pak",
15     "theme_resources_200_percent.pak",
16     "theme_resources_300_percent.pak",
17     "theme_resources_material_100_percent.pak",
18     "theme_resources_material_200_percent.pak",
19   ]
21   deps = [
22     ":chrome_unscaled_resources",
23     "//ui/resources",
24   ]
26   output_dir = "$root_gen_dir/chrome"
29 # GYP version: chrome/chrome_resources.gyp:chrome_unscaled_resources
30 grit("chrome_unscaled_resources") {
31   source = "chrome_unscaled_resources.grd"
32   outputs = [
33     "grit/chrome_unscaled_resources.h",
34     "chrome_unscaled_resources.pak",
35   ]
37   output_dir = "$root_gen_dir/chrome"