1234567891011121314151617181920212223242526272829303132 |
- # 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/preprocess_if_expr.gni")
- import("//tools/typescript/ts_library.gni")
- source_set("util") {
- sources = [
- "ukm_debug_data_extractor.cc",
- "ukm_debug_data_extractor.h",
- ]
- deps = [
- "//base",
- "//components/ukm",
- "//services/metrics/public/cpp:ukm_builders",
- ]
- }
- preprocess_if_expr("preprocess") {
- in_folder = "."
- out_folder = target_gen_dir
- in_files = [ "ukm_internals.ts" ]
- }
- ts_library("build_ts") {
- root_dir = target_gen_dir
- out_dir = "$target_gen_dir/tsc"
- in_files = [ "ukm_internals.ts" ]
- deps = [ "//ui/webui/resources:library" ]
- extra_deps = [ ":preprocess" ]
- }
|