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

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

Issue 2048053003: Reland 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
21 component("system") { 14 component("system") {
22 output_name = "mojo_system_impl" 15 output_name = "mojo_system_impl"
23 16
24 sources = [ 17 sources = [
25 "async_waiter.cc", 18 "async_waiter.cc",
26 "async_waiter.h", 19 "async_waiter.h",
27 "atomic_flag.h", 20 "atomic_flag.h",
28 "awakable.h", 21 "awakable.h",
29 "awakable_list.cc", 22 "awakable_list.cc",
30 "awakable_list.h", 23 "awakable_list.h",
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 "wait_set_dispatcher.cc", 68 "wait_set_dispatcher.cc",
76 "wait_set_dispatcher.h", 69 "wait_set_dispatcher.h",
77 "waiter.cc", 70 "waiter.cc",
78 "waiter.h", 71 "waiter.h",
79 "watcher.cc", 72 "watcher.cc",
80 "watcher.h", 73 "watcher.h",
81 "watcher_set.cc", 74 "watcher_set.cc",
82 "watcher_set.h", 75 "watcher_set.h",
83 ] 76 ]
84 77
85 defines = [ 78 defines = [ "MOJO_SYSTEM_IMPL_IMPLEMENTATION" ]
86 "MOJO_SYSTEM_IMPL_IMPLEMENTATION",
87 "MOJO_SYSTEM_IMPLEMENTATION",
88 ]
89
90 all_dependent_configs = [ ":system_config" ]
91 79
92 public_deps = [ 80 public_deps = [
93 "//mojo/edk/embedder", 81 "//mojo/edk/embedder",
94 "//mojo/edk/embedder:delegates", 82 "//mojo/edk/embedder:delegates",
95 "//mojo/edk/embedder:platform", 83 "//mojo/edk/embedder:platform",
96 "//mojo/edk/system/ports", 84 "//mojo/edk/system/ports",
97 "//mojo/public/c/system", 85 "//mojo/public/c/system",
98 "//mojo/public/cpp/system", 86 "//mojo/public/cpp/system",
99 ] 87 ]
100 88
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
213 ":test_utils", 201 ":test_utils",
214 "//base", 202 "//base",
215 "//base/test:test_support", 203 "//base/test:test_support",
216 "//mojo/edk/system", 204 "//mojo/edk/system",
217 "//mojo/edk/test:run_all_perftests", 205 "//mojo/edk/test:run_all_perftests",
218 "//mojo/edk/test:test_support", 206 "//mojo/edk/test:test_support",
219 "//testing/gtest", 207 "//testing/gtest",
220 ] 208 ]
221 } 209 }
222 } 210 }
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