OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 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 | 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 source_set("platform_handle") { | 5 source_set("platform_handle") { |
6 sources = [ | 6 sources = [ |
7 "platform_handle_private_thunks.cc", | 7 "platform_handle_private_thunks.cc", |
8 "platform_handle_private_thunks.h", | 8 "platform_handle_private_thunks.h", |
9 ] | 9 ] |
10 | 10 |
11 deps = [ | 11 deps = [ |
12 "//third_party/mojo/src/mojo/public/c/system", | 12 "//third_party/mojo/src/mojo/public/c/system", |
13 ] | 13 ] |
14 | 14 |
15 public_deps = [ | 15 public_deps = [ |
16 ":defs", | 16 ":defs", |
17 ] | 17 ] |
18 | 18 |
19 defines = [ "PLATFORM_HANDLE_IMPLEMENTATION" ] | 19 defines = [ "PLATFORM_HANDLE_IMPLEMENTATION" ] |
20 } | 20 } |
21 | 21 |
22 # Only targets that are registering the thunks or get linked into the runner | 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 | 23 # depend upon this target. The rest should use the |platform_handle| target |
24 # above. | 24 # above. |
25 source_set("defs") { | 25 source_set("defs") { |
26 visibility = [ | 26 visibility = [ |
27 ":platform_handle", | 27 ":platform_handle", |
28 "//components/view_manager/gles2", | 28 "//components/mus/gles2", |
29 "//mojo/gles2", | 29 "//mojo/gles2", |
30 "//mojo/runner:native_application_support", | 30 "//mojo/runner:native_application_support", |
31 ] | 31 ] |
32 | 32 |
33 sources = [ | 33 sources = [ |
34 "platform_handle.h", | 34 "platform_handle.h", |
35 "platform_handle_exports.h", | 35 "platform_handle_exports.h", |
36 "platform_handle_functions.h", | 36 "platform_handle_functions.h", |
37 ] | 37 ] |
38 | 38 |
39 deps = [ | 39 deps = [ |
40 "//third_party/mojo/src/mojo/public/c/system", | 40 "//third_party/mojo/src/mojo/public/c/system", |
41 ] | 41 ] |
42 } | 42 } |
OLD | NEW |