mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-11-24 14:26:09 +03:00
34 lines
877 B
Plaintext
34 lines
877 B
Plaintext
# 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("//tools/grit/grit_rule.gni")
|
|
import("//chromeos/assistant/assistant.gni")
|
|
|
|
assert(is_chromeos, "Non-ChromeOS builds cannot depend on //chromeos")
|
|
|
|
grit("resources") {
|
|
source = "chromeos_resources.grd"
|
|
|
|
source_is_generated = true
|
|
|
|
outputs = [
|
|
"grit/chromeos_resources.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/services/device_sync/public/mojom:mojom_js",
|
|
"//chromeos/services/multidevice_setup/public/mojom:mojom_js",
|
|
"//mojo/public/mojom/base:base_js",
|
|
]
|
|
}
|