blob: 16c1602d2890236837395dfd33b15c6e8ac0238b [file] [log] [blame]
# Copyright 2016 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("//extensions/buildflags/buildflags.gni")
assert(enable_extensions,
"Cannot depend on extensions because enable_extensions=false.")
source_set("system_cpu") {
sources = [
"cpu_info_provider.cc",
"cpu_info_provider.h",
"cpu_info_provider_linux.cc",
"cpu_info_provider_mac.cc",
"cpu_info_provider_win.cc",
"system_cpu_api.cc",
"system_cpu_api.h",
]
deps = [
"//extensions/common/api",
]
if (is_chromeos) {
deps += [ "//chromeos/system" ]
}
public_deps = [
"//extensions/browser:browser_sources",
]
}