OLD | NEW |
1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 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_sdk.gni") | 5 import("../mojo_sdk.gni") |
6 | 6 |
7 config("c_config") { | 7 config("c_config") { |
8 include_dirs = [ "include" ] | 8 include_dirs = [ "include" ] |
9 } | 9 } |
10 | 10 |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 sources = [ | 54 sources = [ |
55 "include/mojo/environment/async_waiter.h", | 55 "include/mojo/environment/async_waiter.h", |
56 "include/mojo/environment/logger.h", | 56 "include/mojo/environment/logger.h", |
57 ] | 57 ] |
58 | 58 |
59 public_deps = [ | 59 public_deps = [ |
60 ":system", | 60 ":system", |
61 ] | 61 ] |
62 } | 62 } |
63 | 63 |
| 64 mojo_sdk_source_set("environment_perftest_helpers") { |
| 65 testonly = true |
| 66 |
| 67 sources = [ |
| 68 "tests/environment/async_waiter_perftest_helpers.cc", |
| 69 "tests/environment/async_waiter_perftest_helpers.h", |
| 70 ] |
| 71 |
| 72 public_deps = [ |
| 73 ":environment", |
| 74 ] |
| 75 |
| 76 mojo_sdk_deps = [ "mojo/public/cpp/system" ] |
| 77 } |
| 78 |
64 # system ----------------------------------------------------------------------- | 79 # system ----------------------------------------------------------------------- |
65 | 80 |
66 # Headers in include/mojo/system (to be included as <mojo/system/HEADER.h>). | 81 # Headers in include/mojo/system (to be included as <mojo/system/HEADER.h>). |
67 | 82 |
68 mojo_sdk_source_set("system") { | 83 mojo_sdk_source_set("system") { |
69 public_configs = [ ":c_config" ] | 84 public_configs = [ ":c_config" ] |
70 | 85 |
71 sources = [ | 86 sources = [ |
72 "include/mojo/system/buffer.h", | 87 "include/mojo/system/buffer.h", |
73 "include/mojo/system/data_pipe.h", | 88 "include/mojo/system/data_pipe.h", |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
148 | 163 |
149 cflags = [ "-Wundef" ] | 164 cflags = [ "-Wundef" ] |
150 | 165 |
151 sources = [ | 166 sources = [ |
152 "tests/compile/pure_c.c", | 167 "tests/compile/pure_c.c", |
153 "tests/compile/pure_cpp.cc", | 168 "tests/compile/pure_cpp.cc", |
154 ] | 169 ] |
155 | 170 |
156 mojo_sdk_deps = [ "mojo/public/c:environment" ] | 171 mojo_sdk_deps = [ "mojo/public/c:environment" ] |
157 } | 172 } |
OLD | NEW |