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

Side by Side Diff: third_party/mojo/src/mojo/public/c/system/BUILD.gn

Issue 1429553002: API definition for WaitSet. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update API. 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
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 # Depend on this target to use the types etc defined in the system without 7 # Depend on this target to use the types etc defined in the system without
8 # linking against a specific implementation of the system. To link against a 8 # linking against a specific implementation of the system. To link against a
9 # particular implementation, use the :for_component or 9 # particular implementation, use the :for_component or
10 # :for_shared_library targets, depending on the type of target you are. 10 # :for_shared_library targets, depending on the type of target you are.
11 mojo_sdk_source_set("system") { 11 mojo_sdk_source_set("system") {
12 sources = [ 12 sources = [
13 "buffer.h", 13 "buffer.h",
14 "core.h", 14 "core.h",
15 "data_pipe.h", 15 "data_pipe.h",
16 "functions.h", 16 "functions.h",
17 "macros.h", 17 "macros.h",
18 "message_pipe.h", 18 "message_pipe.h",
19 "system_export.h", 19 "system_export.h",
20 "types.h", 20 "types.h",
21 "wait_set.h",
Ken Rockot(use gerrit already) 2015/11/17 01:50:23 Might as well update GYP too (third_party/mojo/moj
Anand Mistry (off Chromium) 2015/11/17 03:11:32 Done.
21 ] 22 ]
22 } 23 }
23 24
24 # In an is_component_build build, everything can link against //mojo/edk/system 25 # In an is_component_build build, everything can link against //mojo/edk/system
25 # because it is built as a shared library. However, in a static build, 26 # because it is built as a shared library. However, in a static build,
26 # //mojo/edk/system is linked into an executable (e.g., mojo_shell), and must be 27 # //mojo/edk/system is linked into an executable (e.g., mojo_shell), and must be
27 # injected into other shared libraries (i.e., Mojo Apps) that need the mojo 28 # injected into other shared libraries (i.e., Mojo Apps) that need the mojo
28 # system API. 29 # system API.
29 # 30 #
30 # For component targets, add //mojo/public/c/system:for_component to your deps 31 # For component targets, add //mojo/public/c/system:for_component to your deps
(...skipping 20 matching lines...) Expand all
51 group("for_component") { 52 group("for_component") {
52 public_deps = [ 53 public_deps = [
53 ":system", 54 ":system",
54 ] 55 ]
55 if (is_component_build) { 56 if (is_component_build) {
56 deps = [ 57 deps = [
57 "../../../edk/system", 58 "../../../edk/system",
58 ] 59 ]
59 } 60 }
60 } 61 }
OLDNEW
« no previous file with comments | « third_party/mojo/src/mojo/edk/system/core.cc ('k') | third_party/mojo/src/mojo/public/c/system/core.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698