# Copyright 2015 The Chromium Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
static_library("profile_metrics") {
sources = [
"browser_profile_type.cc",
"browser_profile_type.h",
"counts.cc",
"counts.h",
"state.cc",
"state.h",
]
deps = [ "//base" ]
}
source_set("unit_tests") {
testonly = true
sources = [ "browser_profile_type_unittest.cc" ]
deps = [
":profile_metrics",
"//base",
"//testing/gtest",
]
}
if (is_android) {
import("//build/config/android/rules.gni")
android_library("browser_profile_type_enum_java") {
srcjar_deps = [ ":browser_profile_type_enum_javagen" ]
deps = [ "//third_party/androidx:androidx_annotation_annotation_java" ]
}
java_cpp_enum("browser_profile_type_enum_javagen") {
sources = [ "browser_profile_type.h" ]
}
}