summaryrefslogtreecommitdiffstats
path: root/mojo/platform_handle/BUILD.gn
blob: a9d98a06680b1f93783b2a2b7ef44c7ff8ce9db2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Copyright 2015 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

source_set("platform_handle") {
  sources = [
    "platform_handle_private_thunks.cc",
    "platform_handle_private_thunks.h",
  ]

  deps = [
    ":defs",
    "//third_party/mojo/src/mojo/public/c/system",
  ]

  defines = [ "PLATFORM_HANDLE_IMPLEMENTATION" ]
}

# Only targets that are registering the thunks should depend upon this.
source_set("defs") {
  visibility = [
    ":platform_handle",
    "//mojo/runner:native_application_support",
  ]
  sources = [
    "native_exports.h",
    "platform_handle_functions.h",
  ]
}