BUILD.gn 874 B

123456789101112131415161718192021222324252627282930313233
  1. # Copyright 2022 The Chromium Authors. All rights reserved.
  2. # Use of this source code is governed by a BSD-style license that can be
  3. # found in the LICENSE file.
  4. import("//build/config/chromeos/ui_mode.gni")
  5. import("//chrome/test/base/js2gtest.gni")
  6. import("//third_party/closure_compiler/compile_js.gni")
  7. import("//ui/webui/resources/tools/generate_grd.gni")
  8. assert(is_chromeos_ash, "Color Internals is ash-chrome only")
  9. static_library("color_internals") {
  10. sources = [
  11. "color_internals_ui.cc",
  12. "color_internals_ui.h",
  13. "url_constants.cc",
  14. "url_constants.h",
  15. ]
  16. deps = [
  17. "//ash/webui/resources:color_internals_resources",
  18. "//content/public/browser",
  19. "//ui/webui",
  20. ]
  21. }
  22. js2gtest("browser_tests_js") {
  23. test_type = "mojo_lite_webui"
  24. sources = [ "test/color_internals_browsertest.js" ]
  25. defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ]
  26. }