| OLD | NEW |
| (Empty) | |
| 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. |
| 4 import("//mojo/public/mojo_application.gni") |
| 5 |
| 6 source_set("platform_handle") { |
| 7 sources = [ |
| 8 "platform_handle_private_thunks.cc", |
| 9 "platform_handle_private_thunks.h", |
| 10 ] |
| 11 |
| 12 deps = [ |
| 13 ":defs", |
| 14 "//mojo/public/c/system", |
| 15 ] |
| 16 |
| 17 defines = [ "PLATFORM_HANDLE_IMPLEMENTATION" ] |
| 18 } |
| 19 |
| 20 # Only targets that are registering the thunks should depend upon this. |
| 21 source_set("defs") { |
| 22 sources = [ |
| 23 "platform_handle_functions.h", |
| 24 ] |
| 25 deps = [ |
| 26 "//mojo/public/c/system:system", |
| 27 ] |
| 28 } |
| 29 |
| 30 mojo_native_application("platform_handle_apptest") { |
| 31 output_name = "platform_handle_apptests" |
| 32 |
| 33 testonly = true |
| 34 |
| 35 sources = [ |
| 36 "platform_handle_apptest.cc", |
| 37 ] |
| 38 |
| 39 deps = [ |
| 40 ":defs", |
| 41 ":platform_handle", |
| 42 "//mojo/public/cpp/application:standalone", |
| 43 "//mojo/public/cpp/application:test_support_standalone", |
| 44 "//mojo/public/cpp/environment", |
| 45 "//mojo/public/cpp/system", |
| 46 ] |
| 47 } |
| OLD | NEW |