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

Side by Side Diff: mojo/edk/system/BUILD.gn

Issue 2047813003: Revert of Mojo: Eliminate duplicate C API symbols (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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 | « mojo/edk/embedder/entrypoints.cc ('k') | mojo/mojo.gyp » ('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("//build/config/nacl/config.gni") 5 import("//build/config/nacl/config.gni")
6 import("//testing/test.gni") 6 import("//testing/test.gni")
7 import("../../../mojo/public/tools/bindings/mojom.gni") 7 import("../../../mojo/public/tools/bindings/mojom.gni")
8 8
9 if (is_android) { 9 if (is_android) {
10 import("//build/config/android/config.gni") 10 import("//build/config/android/config.gni")
11 import("//build/config/android/rules.gni") 11 import("//build/config/android/rules.gni")
12 } 12 }
13 13
14 config("system_config") {
15 defines = [
16 # Ensures that dependent projects import the core functions on Windows.
17 "MOJO_USE_SYSTEM_IMPL",
18 ]
19 }
20
14 component("system") { 21 component("system") {
15 output_name = "mojo_system_impl" 22 output_name = "mojo_system_impl"
16 23
17 sources = [ 24 sources = [
18 "async_waiter.cc", 25 "async_waiter.cc",
19 "async_waiter.h", 26 "async_waiter.h",
20 "atomic_flag.h", 27 "atomic_flag.h",
21 "awakable.h", 28 "awakable.h",
22 "awakable_list.cc", 29 "awakable_list.cc",
23 "awakable_list.h", 30 "awakable_list.h",
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 "wait_set_dispatcher.cc", 75 "wait_set_dispatcher.cc",
69 "wait_set_dispatcher.h", 76 "wait_set_dispatcher.h",
70 "waiter.cc", 77 "waiter.cc",
71 "waiter.h", 78 "waiter.h",
72 "watcher.cc", 79 "watcher.cc",
73 "watcher.h", 80 "watcher.h",
74 "watcher_set.cc", 81 "watcher_set.cc",
75 "watcher_set.h", 82 "watcher_set.h",
76 ] 83 ]
77 84
78 defines = [ "MOJO_SYSTEM_IMPL_IMPLEMENTATION" ] 85 defines = [
86 "MOJO_SYSTEM_IMPL_IMPLEMENTATION",
87 "MOJO_SYSTEM_IMPLEMENTATION",
88 ]
89
90 all_dependent_configs = [ ":system_config" ]
79 91
80 public_deps = [ 92 public_deps = [
81 "//mojo/edk/embedder", 93 "//mojo/edk/embedder",
82 "//mojo/edk/embedder:delegates", 94 "//mojo/edk/embedder:delegates",
83 "//mojo/edk/embedder:platform", 95 "//mojo/edk/embedder:platform",
84 "//mojo/edk/system/ports", 96 "//mojo/edk/system/ports",
85 "//mojo/public/c/system", 97 "//mojo/public/c/system",
86 "//mojo/public/cpp/system", 98 "//mojo/public/cpp/system",
87 ] 99 ]
88 100
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
201 ":test_utils", 213 ":test_utils",
202 "//base", 214 "//base",
203 "//base/test:test_support", 215 "//base/test:test_support",
204 "//mojo/edk/system", 216 "//mojo/edk/system",
205 "//mojo/edk/test:run_all_perftests", 217 "//mojo/edk/test:run_all_perftests",
206 "//mojo/edk/test:test_support", 218 "//mojo/edk/test:test_support",
207 "//testing/gtest", 219 "//testing/gtest",
208 ] 220 ]
209 } 221 }
210 } 222 }
OLDNEW
« no previous file with comments | « mojo/edk/embedder/entrypoints.cc ('k') | mojo/mojo.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698