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

Side by Side Diff: mojo/data_pipe_utils/BUILD.gn

Issue 1996463003: Converted Mojo Common Unittests to run as Apptests. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Added apptests for data_pipe_utils and message_pump Created 4 years, 7 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 | « mojo/common/BUILD.gn ('k') | mojo/message_pump/BUILD.gn » ('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 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 import("//mojo/public/mojo_application.gni")
6
5 source_set("data_pipe_utils") { 7 source_set("data_pipe_utils") {
6 sources = [ 8 sources = [
7 "data_pipe_drainer.cc", 9 "data_pipe_drainer.cc",
8 "data_pipe_drainer.h", 10 "data_pipe_drainer.h",
9 "data_pipe_file_utils.cc", 11 "data_pipe_file_utils.cc",
10 "data_pipe_utils.cc", 12 "data_pipe_utils.cc",
11 "data_pipe_utils.h", 13 "data_pipe_utils.h",
12 "data_pipe_utils_internal.h", 14 "data_pipe_utils_internal.h",
13 ] 15 ]
14 16
15 if (is_nacl) { 17 if (is_nacl) {
16 sources -= [ "data_pipe_file_utils.cc" ] 18 sources -= [ "data_pipe_file_utils.cc" ]
17 } 19 }
18 20
19 deps = [ 21 deps = [
20 "//base", 22 "//base",
21 "//mojo/message_pump", 23 "//mojo/message_pump",
22 "//mojo/public/cpp/environment:environment", 24 "//mojo/public/cpp/environment:environment",
23 ] 25 ]
24 26
25 public_deps = [ 27 public_deps = [
26 "//mojo/public/cpp/system", 28 "//mojo/public/cpp/system",
27 ] 29 ]
28 } 30 }
29 31
30 source_set("tests") { 32 mojo_native_application("mojo_data_pipe_utils_apptests") {
31 testonly = true 33 testonly = true
32 34
33 sources = [ 35 sources = [
34 "data_pipe_utils_unittest.cc", 36 "data_pipe_utils_unittest.cc",
35 ] 37 ]
36 38
37 deps = [ 39 deps = [
38 ":data_pipe_utils", 40 ":data_pipe_utils",
39 "//base", 41 "//base",
42 "//mojo/application",
43 "//mojo/application:test_support",
40 "//testing/gtest", 44 "//testing/gtest",
41 ] 45 ]
42 } 46 }
OLDNEW
« no previous file with comments | « mojo/common/BUILD.gn ('k') | mojo/message_pump/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698