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

Side by Side Diff: mojo/services/files/public/cpp/BUILD.gn

Issue 1363183004: Files services library: Add an "output stream" file impl helper class. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: files_impl Created 5 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 | « mojo/BUILD.gn ('k') | mojo/services/files/public/cpp/lib/output_stream_file.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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 import("//build/module_args/mojo.gni")
6 import("$mojo_sdk_root/mojo/public/mojo_application.gni")
7 import("$mojo_sdk_root/mojo/public/mojo_sdk.gni")
8
9 # files_impl is a helper library for *implementing* various interfaces in
10 # |mojo.files|.
11 mojo_sdk_source_set("files_impl") {
12 # TODO(vtl): This is needed because mojo_sdk.gni doesn't understand relative
13 # dependencies (so without this we can't depend on our interfaces!). Should
14 # this target even be a mojo_sdk_source_set?
15 restrict_external_deps = false
16
17 public_configs = [ "../../../public/build/config:mojo_services" ]
18
19 sources = [
20 "lib/output_stream_file.cc",
21 "output_stream_file.h",
22 ]
23
24 deps = [
25 "../interfaces",
26 ]
27
28 mojo_sdk_deps = [
29 "mojo/public/cpp/bindings",
30 "mojo/public/cpp/environment",
31 "mojo/public/cpp/system",
32 ]
33 }
34
35 mojo_native_application("files_impl_apptests") {
36 output_name = "files_impl_apptests"
37
38 testonly = true
39
40 sources = [
41 "tests/output_stream_file_unittest.cc",
42 ]
43
44 deps = [
45 ":files_impl",
46 "../interfaces",
47 "$mojo_sdk_root/mojo/public/cpp/application:standalone",
48 "$mojo_sdk_root/mojo/public/cpp/application:test_support_standalone",
49 "$mojo_sdk_root/mojo/public/cpp/bindings",
50 "$mojo_sdk_root/mojo/public/cpp/environment",
51 "$mojo_sdk_root/mojo/public/cpp/system",
52 "$mojo_sdk_root/mojo/public/cpp/utility",
53 "//testing/gtest",
54 ]
55 }
OLDNEW
« no previous file with comments | « mojo/BUILD.gn ('k') | mojo/services/files/public/cpp/lib/output_stream_file.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698