blob: fd46cd0633c87498c149add9251438dfa246b77c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# Copyright 2019 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//build/compiled_action.gni")
executable("generate_colors_info") {
sources = [
"chrome_colors_icon_template.h",
"generate_colors_info.cc",
"selected_colors_info.h",
]
deps = [
# Avoid adding big generic deps as this target is build for host
# toolchain. For example, see the problem with adding //chrome in
# crbug.com/1000916.
"//base",
"//chrome/app:generated_resources",
"//chrome/common/themes:autogenerated_theme_util",
"//skia",
]
}
compiled_action("generate_chrome_colors_info") {
tool = ":generate_colors_info"
outputs = [
"$target_gen_dir/generated_colors_info.h",
]
args = rebase_path(outputs, root_build_dir)
}
|