OLD | NEW |
1 # Copyright (c) 2014 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2014 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 'includes': [ | 6 'includes': [ |
7 'mojo_variables.gypi', | 7 'mojo_variables.gypi', |
8 ], | 8 ], |
9 'targets': [ | 9 'targets': [ |
10 { | 10 { |
11 # GN version: //mojo/converters/geometry | 11 # GN version: //mojo/converters/geometry |
12 'target_name': 'mojo_geometry_lib', | 12 'target_name': 'mojo_geometry_lib', |
13 'type': '<(component)', | 13 'type': '<(component)', |
14 'defines': [ | 14 'defines': [ |
15 'MOJO_GEOMETRY_IMPLEMENTATION', | 15 'MOJO_GEOMETRY_IMPLEMENTATION', |
16 ], | 16 ], |
17 'dependencies': [ | 17 'dependencies': [ |
18 '../skia/skia.gyp:skia', | 18 '../skia/skia.gyp:skia', |
19 '../ui/gfx/gfx.gyp:gfx', | 19 '../ui/gfx/gfx.gyp:gfx', |
20 '../ui/gfx/gfx.gyp:gfx_geometry', | 20 '../ui/gfx/gfx.gyp:gfx_geometry', |
21 'services/public/mojo_services_public.gyp:mojo_geometry_bindings', | 21 'mojo_services_public.gyp:mojo_geometry_bindings', |
22 '<(mojo_system_for_component)', | 22 '<(mojo_system_for_component)', |
23 ], | 23 ], |
24 'export_dependent_settings': [ | 24 'export_dependent_settings': [ |
25 '../ui/gfx/gfx.gyp:gfx', | 25 '../ui/gfx/gfx.gyp:gfx', |
26 ], | 26 ], |
27 'sources': [ | 27 'sources': [ |
28 'converters/geometry/geometry_type_converters.cc', | 28 'converters/geometry/geometry_type_converters.cc', |
29 'converters/geometry/geometry_type_converters.h', | 29 'converters/geometry/geometry_type_converters.h', |
30 'converters/geometry/mojo_geometry_export.h', | 30 'converters/geometry/mojo_geometry_export.h', |
31 ], | 31 ], |
32 'conditions': [ | 32 'conditions': [ |
33 ['component=="shared_library"', { | 33 ['component=="shared_library"', { |
34 'dependencies': [ | 34 'dependencies': [ |
35 'mojo_base.gyp:mojo_environment_chromium', | 35 'mojo_base.gyp:mojo_environment_chromium', |
36 ], | 36 ], |
37 }], | 37 }], |
38 ], | 38 ], |
39 }, | 39 }, |
40 ], | 40 ], |
41 } | 41 } |
OLD | NEW |