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

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

Issue 883583005: Copy build changes to compile mojo::AsyncWaiter to the chromium repo. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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 | « no previous file | mojo/environment/default_run_loop_impl.cc » ('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 # GYP version: mojo_base.gyp:mojo_environment_chromium 5 # GYP version: mojo_base.gyp:mojo_environment_chromium
6 source_set("chromium") { 6 source_set("chromium") {
7 output_name = "mojo_environment_chromium" 7 output_name = "mojo_environment_chromium"
8 8
9 sources = [ 9 sources = [
10 "environment.cc", 10 "environment.cc",
11 11
12 # TODO(vtl): This is kind of ugly. (See TODO in logging.h.) 12 # TODO(vtl): This is kind of ugly. (See TODO in logging.h.)
13 "//third_party/mojo/src/mojo/public/cpp/environment/async_waiter.h",
14 "//third_party/mojo/src/mojo/public/cpp/environment/lib/async_waiter.cc",
13 "//third_party/mojo/src/mojo/public/cpp/environment/logging.h", 15 "//third_party/mojo/src/mojo/public/cpp/environment/logging.h",
14 "//third_party/mojo/src/mojo/public/cpp/environment/lib/logging.cc", 16 "//third_party/mojo/src/mojo/public/cpp/environment/lib/logging.cc",
15 ] 17 ]
16 18
17 public_deps = [ 19 public_deps = [
18 ":chromium_impl", 20 ":chromium_impl",
19 ] 21 ]
22
23 deps = [
24 "//third_party/mojo/src/mojo/public/c/environment",
25 "//third_party/mojo/src/mojo/public/cpp/bindings:callback",
26 "//third_party/mojo/src/mojo/public/cpp/environment",
27 "//third_party/mojo/src/mojo/public/cpp/system",
28 ]
20 } 29 }
21 30
22 # GYP version: mojo_base.gyp:mojo_environment_chromium_impl 31 # GYP version: mojo_base.gyp:mojo_environment_chromium_impl
23 component("chromium_impl") { 32 component("chromium_impl") {
24 output_name = "mojo_environment_impl" 33 output_name = "mojo_environment_impl"
25 visibility = [ "//mojo/*" ] 34 visibility = [ "//mojo/*" ]
26 35
27 sources = [ 36 sources = [
28 "default_async_waiter_impl.cc", 37 "default_async_waiter_impl.cc",
29 "default_async_waiter_impl.h", 38 "default_async_waiter_impl.h",
30 "default_logger_impl.cc", 39 "default_logger_impl.cc",
31 "default_logger_impl.h", 40 "default_logger_impl.h",
32 "default_run_loop_impl.cc", 41 "default_run_loop_impl.cc",
33 "default_run_loop_impl.h", 42 "default_run_loop_impl.h",
34 ] 43 ]
35 44
36 defines = [ "MOJO_ENVIRONMENT_IMPL_IMPLEMENTATION" ] 45 defines = [ "MOJO_ENVIRONMENT_IMPL_IMPLEMENTATION" ]
37 46
38 public_configs = [ "//third_party/mojo/src/mojo/public/build/config:mojo_sdk" ] 47 public_configs =
48 [ "//third_party/mojo/src/mojo/public/build/config:mojo_sdk" ]
39 49
40 deps = [ 50 deps = [
41 "//base", 51 "//base",
42 "//base/third_party/dynamic_annotations", 52 "//base/third_party/dynamic_annotations",
43 "//mojo/common", 53 "//mojo/common",
54 "//third_party/mojo/src/mojo/public/c/environment",
44 ] 55 ]
45 } 56 }
OLDNEW
« no previous file with comments | « no previous file | mojo/environment/default_run_loop_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698