OLD | NEW |
1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 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 { | 5 { |
6 'variables': { | 6 'variables': { |
7 # This turns on e.g. the filename-based detection of which | 7 # This turns on e.g. the filename-based detection of which |
8 # platforms to include source files on (e.g. files ending in | 8 # platforms to include source files on (e.g. files ending in |
9 # _mac.h or _mac.cc are only compiled on MacOSX). | 9 # _mac.h or _mac.cc are only compiled on MacOSX). |
10 'chromium_code': 1, | 10 'chromium_code': 1, |
11 }, | 11 }, |
12 'targets': [ | 12 'targets': [ |
13 { | 13 { |
14 # GN version: //mojo/platform_handle:platform_handle/platform_handle_impl | 14 # GN version: //mojo/platform_handle:platform_handle/platform_handle_impl |
15 'target_name': 'platform_handle', | 15 'target_name': 'platform_handle', |
16 'type': '<(component)', | 16 'type': 'none', |
17 'include_dirs': [ | |
18 '../..', | |
19 ], | |
20 'defines': [ | |
21 'PLATFORM_HANDLE_IMPLEMENTATION' | |
22 ], | |
23 'sources': [ | |
24 'platform_handle/platform_handle.h', | |
25 'platform_handle/platform_handle_functions.h', | |
26 'platform_handle/platform_handle_functions.cc', | |
27 ], | |
28 'dependencies': [ | |
29 'mojo_edk.gyp:mojo_system_impl', | |
30 'mojo_public.gyp:mojo_cpp_bindings', | |
31 ] | |
32 } | 17 } |
33 ] | 18 ] |
34 } | 19 } |
OLD | NEW |