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
31
32
33
34
35
36
37
38
39
40
|
# Copyright 2018 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("//chromeos/assistant/assistant.gni")
import("//tools/grit/grit_rule.gni")
assert(is_chromeos, "Non-ChromeOS builds cannot depend on //chromeos")
grit("resources") {
source = "chromeos_resources.grd"
outputs = [
"grit/chromeos_resources.h",
"grit/chromeos_resources_map.cc",
"grit/chromeos_resources_map.h",
"chromeos_resources.pak",
]
output_dir = "$root_gen_dir/chromeos"
defines = [ "enable_cros_libassistant=$enable_cros_libassistant" ]
grit_flags = [
"-E",
"mojom_root=" + rebase_path(root_gen_dir, root_build_dir),
]
deps = [
"//chromeos/components/hps:hps_internals_ts",
"//chromeos/language/public/mojom:mojom_js",
"//chromeos/services/bluetooth_config/public/mojom:mojom_js",
# Generated ml service js bindings are required by external clients, the
# clients are not found within Chromium. The clients pull the generated
# js bindings as part of their build process.
"//chromeos/services/machine_learning/public/mojom:mojom_js",
"//chromeos/services/network_config/public/mojom:mojom_js",
"//chromeos/services/network_health/public/mojom:mojom_js",
]
}
|