| OLD | NEW |
| 1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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 static_library("mime_util") { | 5 static_library("shared_memory_seqlock") { |
| 6 output_name = "shared_memory_seqlock" |
| 6 sources = [ | 7 sources = [ |
| 7 "mime_util.cc", | 8 "one_writer_seqlock.cc", |
| 8 "mime_util.h", | 9 "one_writer_seqlock.h", |
| 10 "shared_memory_seqlock_buffer.h", |
| 11 "shared_memory_seqlock_reader.cc", |
| 12 "shared_memory_seqlock_reader.h", |
| 9 ] | 13 ] |
| 10 | 14 |
| 11 deps = [ | 15 deps = [ |
| 12 "//base", | 16 "//base", |
| 13 "//net", | |
| 14 ] | 17 ] |
| 15 } | 18 } |
| 16 | 19 |
| 17 source_set("unit_tests") { | 20 source_set("unit_tests") { |
| 18 testonly = true | 21 testonly = true |
| 19 sources = [ | 22 sources = [ |
| 20 "mime_util_unittest.cc", | 23 "one_writer_seqlock_unittest.cc", |
| 21 ] | 24 ] |
| 22 | 25 |
| 23 deps = [ | 26 deps = [ |
| 24 ":mime_util", | 27 ":shared_memory_seqlock", |
| 25 "//base", | 28 "//base", |
| 26 "//testing/gtest", | 29 "//testing/gtest", |
| 27 ] | 30 ] |
| 28 } | 31 } |
| OLD | NEW |