blob: 1b55e53f3f9b68a4aab6578be3857c8d021dbac2 [file]
# Copyright 2025 The Chromium Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//services/on_device_model/on_device_model.gni")
source_set("on_device_model_sandbox_init") {
sources = [
"on_device_model_sandbox_init.cc",
"on_device_model_sandbox_init.h",
]
deps = [
"//base",
"//services/on_device_model:on_device_model_service",
]
defines = []
if (enable_ml_internal) {
deps += [ "//services/on_device_model/ml" ]
defines += [ "ENABLE_ML_INTERNAL" ]
}
if (is_linux || is_chromeos) {
deps += [
"//content/common",
"//gpu/config",
"//sandbox/policy",
]
}
if (!is_fuchsia) {
deps += [
"//third_party/dawn/include/dawn:cpp_headers",
"//third_party/dawn/src/dawn:proc",
"//third_party/dawn/src/dawn/native",
]
}
}