| 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 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 mojo_sdk_source_set("output_stream_file") { |
| 10 # TODO(vtl): This is needed because mojo_sdk.gni doesn't understand relative |
| 11 # dependencies (so without this we can't depend on our interfaces!). Should |
| 12 # this target even be a mojo_sdk_source_set? |
| 13 restrict_external_deps = false |
| 14 |
| 15 public_configs = [ "../../../public/build/config:mojo_services" ] |
| 16 |
| 17 sources = [ |
| 18 "lib/output_stream_file.cc", |
| 19 "output_stream_file.h", |
| 20 ] |
| 21 |
| 22 deps = [ |
| 23 "../interfaces", |
| 24 ] |
| 25 |
| 26 mojo_sdk_deps = [ |
| 27 "mojo/public/cpp/bindings", |
| 28 "mojo/public/cpp/environment", |
| 29 "mojo/public/cpp/system", |
| 30 ] |
| 31 } |
| 32 |
| 33 mojo_native_application("apptests") { |
| 34 output_name = "files_cpp_lib_apptests" |
| 35 |
| 36 testonly = true |
| 37 |
| 38 sources = [ |
| 39 "tests/output_stream_file_unittest.cc", |
| 40 ] |
| 41 |
| 42 deps = [ |
| 43 ":output_stream_file", |
| 44 "../interfaces", |
| 45 "$mojo_sdk_root/mojo/public/cpp/application:standalone", |
| 46 "$mojo_sdk_root/mojo/public/cpp/application:test_support_standalone", |
| 47 "$mojo_sdk_root/mojo/public/cpp/bindings", |
| 48 "$mojo_sdk_root/mojo/public/cpp/environment", |
| 49 "$mojo_sdk_root/mojo/public/cpp/system", |
| 50 "$mojo_sdk_root/mojo/public/cpp/utility", |
| 51 "//testing/gtest", |
| 52 ] |
| 53 } |
| OLD | NEW |