Roll src/third_party/WebKit 0c3f21f:4f9ce20 (svn 202223:202224)
[chromium-blink-merge.git] / mojo / platform_handle / BUILD.gn
blob88542b927574554787c0f93eb7649c9f6f19214f
1 # Copyright 2015 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.
5 source_set("platform_handle") {
6   sources = [
7     "platform_handle_private_thunks.cc",
8     "platform_handle_private_thunks.h",
9   ]
11   deps = [
12     "//third_party/mojo/src/mojo/public/c/system",
13   ]
15   public_deps = [
16     ":defs",
17   ]
19   defines = [ "PLATFORM_HANDLE_IMPLEMENTATION" ]
22 # Only targets that are registering the thunks or get linked into the runner
23 # depend upon this target. The rest should use the |platform_handle| target
24 # above.
25 source_set("defs") {
26   visibility = [
27     ":platform_handle",
28     "//components/view_manager/gles2",
29     "//mojo/gles2",
30     "//mojo/runner:native_application_support",
31   ]
33   sources = [
34     "platform_handle.h",
35     "platform_handle_exports.h",
36     "platform_handle_functions.h",
37   ]
39   deps = [
40     "//third_party/mojo/src/mojo/public/c/system",
41   ]