• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
3# found in the LICENSE file.
4
5component("system") {
6  output_name = "mojo_public_system"
7
8  sources = [
9    "buffer.h",
10    "core.h",
11    "data_pipe.h",
12    "functions.h",
13    "macros.h",
14    "message_pipe.h",
15    "platform_handle.h",
16    "system_export.h",
17    "thunks.cc",
18    "thunks.h",
19    "types.h",
20    "wait_set.h",
21  ]
22
23  defines = [ "MOJO_SYSTEM_IMPLEMENTATION" ]
24}
25
26# This should ONLY be depended upon directly by shared_library targets which
27# need to export the MojoSetSystemThunks symbol, like targets generated by the
28# mojo_native_application template in //mojo/public/mojo_application.gni.
29source_set("set_thunks_for_app") {
30  sources = [
31    "set_thunks_for_app.cc",
32  ]
33
34  public_deps = [
35    ":system",
36  ]
37}
38