blob: f38c33f28509a11081bd3ba818e8984bbf5cb070 [file] [log] [blame]
# 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/config/jumbo.gni")
import("//testing/test.gni")
jumbo_component("color") {
sources = [
"color_id.h",
"color_mixer.cc",
"color_mixer.h",
"color_provider.cc",
"color_provider.h",
"color_recipe.cc",
"color_recipe.h",
"color_set.cc",
"color_set.h",
"color_transform.cc",
"color_transform.h",
"color_variant.h",
]
defines = [ "IS_COLOR_IMPL" ]
public_deps = [
"//base",
"//skia",
"//ui/gfx:color_utils",
]
}
test("color_unittests") {
sources = [
"color_mixer_unittest.cc",
"color_provider_unittest.cc",
"color_recipe_unittest.cc",
"color_transform_unittest.cc",
"color_unittest_utils.h",
"run_all_unittests.cc",
]
deps = [
":color",
"//base/test:test_support",
"//testing/gtest",
]
}