Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(319)

Side by Side Diff: components/offline_pages/core/BUILD.gn

Issue 2359933007: [Offline pages] Introduces TaskQueue to serialize tasks that asynchronously access SQLStore (Closed)
Patch Set: Addressing feedback from Dmitry Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « components/BUILD.gn ('k') | components/offline_pages/core/task.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 if (is_android) { 5 if (is_android) {
6 import("//build/config/android/rules.gni") 6 import("//build/config/android/rules.gni")
7 } 7 }
8 8
9 static_library("request_header") { 9 static_library("core") {
10 sources = [ 10 sources = [
11 "offline_page_header.cc", 11 "task.cc",
12 "offline_page_header.h", 12 "task.h",
13 "task_queue.cc",
14 "task_queue.h",
13 ] 15 ]
14 16
15 deps = [ 17 deps = [
16 "//base", 18 "//base",
17 ] 19 ]
18 } 20 }
19 21
22 static_library("test_support") {
23 testonly = true
24 sources = [
25 "test_task.cc",
26 "test_task.h",
27 ]
28
29 deps = [
30 ":core",
31 "//base",
32 ]
33 }
34
20 source_set("unit_tests") { 35 source_set("unit_tests") {
21 testonly = true 36 testonly = true
22 sources = [ 37 sources = [
23 "offline_page_header_unittest.cc", 38 "task_queue_unittest.cc",
39 "task_unittest.cc",
24 ] 40 ]
25 41
26 deps = [ 42 deps = [
27 ":request_header", 43 ":core",
44 ":test_support",
28 "//base", 45 "//base",
29 "//base/test:test_support", 46 "//base/test:test_support",
30 "//testing/gtest", 47 "//testing/gtest:gtest",
31 ] 48 ]
32 } 49 }
OLDNEW
« no previous file with comments | « components/BUILD.gn ('k') | components/offline_pages/core/task.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698