OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 source_set("environment") { | 5 import("../../mojo_sdk.gni") |
| 6 |
| 7 mojo_sdk_source_set("environment") { |
6 sources = [ | 8 sources = [ |
7 "async_waiter.h", | 9 "async_waiter.h", |
8 "logging.h", | 10 "logging.h", |
9 "environment.h", | 11 "environment.h", |
10 ] | 12 ] |
11 | 13 |
12 public_deps = [ | 14 mojo_sdk_public_deps = [ "mojo/public/c/environment" ] |
13 "//mojo/public/c/environment", | |
14 ] | |
15 | 15 |
16 deps = [ | 16 mojo_sdk_deps = [ |
17 "//mojo/public/cpp/bindings:callback", | 17 "mojo/public/cpp/bindings:callback", |
18 "//mojo/public/cpp/system", | 18 "mojo/public/cpp/system", |
19 ] | 19 ] |
20 } | 20 } |
21 | 21 |
22 source_set("standalone") { | 22 mojo_sdk_source_set("standalone") { |
23 sources = [ | 23 sources = [ |
24 "lib/async_waiter.cc", | 24 "lib/async_waiter.cc", |
25 "lib/default_async_waiter.cc", | 25 "lib/default_async_waiter.cc", |
26 "lib/default_async_waiter.h", | 26 "lib/default_async_waiter.h", |
27 "lib/default_logger.cc", | 27 "lib/default_logger.cc", |
28 "lib/default_logger.h", | 28 "lib/default_logger.h", |
29 "lib/environment.cc", | 29 "lib/environment.cc", |
30 "lib/logging.cc", | 30 "lib/logging.cc", |
31 ] | 31 ] |
32 | 32 |
33 public_deps = [ | 33 public_deps = [ |
34 ":environment", | 34 ":environment", |
35 ] | 35 ] |
36 | 36 |
37 deps = [ | 37 mojo_sdk_deps = [ |
38 "//mojo/public/c/environment", | 38 "mojo/public/c/environment", |
39 "//mojo/public/cpp/utility", | 39 "mojo/public/cpp/utility", |
40 ] | 40 ] |
41 } | 41 } |
OLD | NEW |