blob: 0b852ba6cded5aba6c3acdeca0855d18554d9e32 [file] [log] [blame]
config("chromium_base_config") {
include_dirs = [ "." ]
}
static_library("cpu") {
sources = [
"cpu.cc",
"cpu.h",
]
public_configs = [ ":chromium_base_config" ]
}
executable("cpu_unittest") {
testonly = true
sources = [
"cpu_unittest.cc",
]
deps = [
":cpu",
"//build/config:exe_and_shlib_deps",
"//third_party:glog",
"//third_party:gtest",
"//third_party:gtest_main",
]
}
static_library("platform_thread") {
sources = [
"platform_thread.cc",
"platform_thread.h",
]
deps = [
"//third_party:glog",
]
public_configs = [ ":chromium_base_config" ]
}
if (os == "mac") {
static_library("mac_version") {
sources = [
"mac_version.cc",
"mac_version.h",
]
deps = [
"//third_party:glog",
"//third_party/abseil",
]
public_configs = [ ":chromium_base_config" ]
}
executable("mac_version_unittest") {
testonly = true
sources = [
"mac_version_unittest.cc",
]
deps = [
":mac_version",
"//third_party:glog",
"//third_party:gtest",
"//third_party:gtest_main",
]
}
}