OLD | NEW |
(Empty) | |
| 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 |
| 3 # found in the LICENSE file. |
| 4 |
| 5 source_set("data_pipe_utils") { |
| 6 sources = [ |
| 7 "data_pipe_drainer.cc", |
| 8 "data_pipe_drainer.h", |
| 9 "data_pipe_file_utils.cc", |
| 10 "data_pipe_utils.cc", |
| 11 "data_pipe_utils.h", |
| 12 "data_pipe_utils_internal.h", |
| 13 ] |
| 14 |
| 15 if (is_nacl) { |
| 16 sources -= [ "data_pipe_file_utils.cc" ] |
| 17 } |
| 18 |
| 19 deps = [ |
| 20 "//base", |
| 21 "//mojo/message_pump", |
| 22 "//third_party/mojo/src/mojo/public/cpp/environment:environment", |
| 23 "//third_party/mojo/src/mojo/public/cpp/system", |
| 24 ] |
| 25 } |
| 26 |
| 27 source_set("tests") { |
| 28 testonly = true |
| 29 |
| 30 sources = [ |
| 31 "data_pipe_utils_unittest.cc", |
| 32 ] |
| 33 |
| 34 deps = [ |
| 35 ":data_pipe_utils", |
| 36 "//base", |
| 37 "//testing/gtest", |
| 38 "//third_party/mojo/src/mojo/public/cpp/system", |
| 39 ] |
| 40 } |
OLD | NEW |