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

Side by Side Diff: mojo/public/cpp/environment/BUILD.gn

Issue 1426843004: Remove the task tracking stuff in the bindings. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 1 month 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/environment/environment.cc ('k') | mojo/public/cpp/environment/environment.h » ('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 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 import("../../mojo_sdk.gni") 5 import("../../mojo_sdk.gni")
6 6
7 mojo_sdk_source_set("environment") { 7 mojo_sdk_source_set("environment") {
8 sources = [ 8 sources = [
9 "async_waiter.h", 9 "async_waiter.h",
10 "environment.h", 10 "environment.h",
11 "logging.h", 11 "logging.h",
12 "task_tracker.h",
13 ] 12 ]
14 13
15 mojo_sdk_public_deps = [ "mojo/public/c/environment" ] 14 mojo_sdk_public_deps = [ "mojo/public/c/environment" ]
16 15
17 mojo_sdk_deps = [ 16 mojo_sdk_deps = [
18 "mojo/public/cpp/bindings:callback", 17 "mojo/public/cpp/bindings:callback",
19 "mojo/public/cpp/system", 18 "mojo/public/cpp/system",
20 ] 19 ]
21 } 20 }
22 21
23 mojo_sdk_source_set("standalone") { 22 mojo_sdk_source_set("standalone") {
24 sources = [ 23 sources = [
25 "lib/async_waiter.cc", 24 "lib/async_waiter.cc",
26 "lib/default_async_waiter.cc", 25 "lib/default_async_waiter.cc",
27 "lib/default_async_waiter.h", 26 "lib/default_async_waiter.h",
28 "lib/default_logger.cc", 27 "lib/default_logger.cc",
29 "lib/default_logger.h", 28 "lib/default_logger.h",
30 "lib/default_task_tracker.cc",
31 "lib/default_task_tracker.h",
32 "lib/environment.cc", 29 "lib/environment.cc",
33 "lib/logging.cc", 30 "lib/logging.cc",
34 "lib/scoped_task_tracking.cc",
35 "lib/scoped_task_tracking.h",
36 ] 31 ]
37 32
38 public_deps = [ 33 public_deps = [
39 ":environment", 34 ":environment",
40 ] 35 ]
41 36
42 mojo_sdk_deps = [ 37 mojo_sdk_deps = [
43 "mojo/public/c/environment", 38 "mojo/public/c/environment",
44 "mojo/public/cpp/system", 39 "mojo/public/cpp/system",
45 "mojo/public/cpp/utility", 40 "mojo/public/cpp/utility",
46 ] 41 ]
47 } 42 }
48 43
49 # This is an implementation of Environment, which can be used instead of 44 # This is an implementation of Environment, which can be used instead of
50 # :standalone, that provides only logging and has no external dependencies. 45 # :standalone, that provides only logging and has no external dependencies.
51 mojo_sdk_source_set("logging_only") { 46 mojo_sdk_source_set("logging_only") {
52 sources = [ 47 sources = [
53 "lib/default_logger.cc", 48 "lib/default_logger.cc",
54 "lib/default_logger.h", 49 "lib/default_logger.h",
55 "lib/logging.cc", 50 "lib/logging.cc",
56 "lib/logging_only_environment.cc", 51 "lib/logging_only_environment.cc",
57 ] 52 ]
58 53
59 public_deps = [ 54 public_deps = [
60 ":environment", 55 ":environment",
61 ] 56 ]
62 } 57 }
OLDNEW
« no previous file with comments | « mojo/environment/environment.cc ('k') | mojo/public/cpp/environment/environment.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698