blob: d84ddee40826ebe9c37fdf636b8ab11c77cd8f10 [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.
if (is_android) {
import("//build/config/android/rules.gni")
}
static_library("core") {
sources = [
"task.cc",
"task.h",
"task_queue.cc",
"task_queue.h",
]
deps = [
"//base",
]
}
static_library("test_support") {
testonly = true
sources = [
"test_task.cc",
"test_task.h",
]
deps = [
":core",
"//base",
]
}
source_set("unit_tests") {
testonly = true
sources = [
"task_queue_unittest.cc",
"task_unittest.cc",
]
deps = [
":core",
":test_support",
"//base",
"//base/test:test_support",
"//testing/gtest:gtest",
]
}