BUILD.gn 792 B

1234567891011121314151617181920212223242526272829303132
  1. # Copyright 2018 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("//tools/grit/preprocess_if_expr.gni")
  5. import("//tools/typescript/ts_library.gni")
  6. source_set("util") {
  7. sources = [
  8. "ukm_debug_data_extractor.cc",
  9. "ukm_debug_data_extractor.h",
  10. ]
  11. deps = [
  12. "//base",
  13. "//components/ukm",
  14. "//services/metrics/public/cpp:ukm_builders",
  15. ]
  16. }
  17. preprocess_if_expr("preprocess") {
  18. in_folder = "."
  19. out_folder = target_gen_dir
  20. in_files = [ "ukm_internals.ts" ]
  21. }
  22. ts_library("build_ts") {
  23. root_dir = target_gen_dir
  24. out_dir = "$target_gen_dir/tsc"
  25. in_files = [ "ukm_internals.ts" ]
  26. deps = [ "//ui/webui/resources:library" ]
  27. extra_deps = [ ":preprocess" ]
  28. }