Index: mojo/mojo_converters.gypi |
diff --git a/mojo/mojo_converters.gypi b/mojo/mojo_converters.gypi |
new file mode 100644 |
index 0000000000000000000000000000000000000000..7765c9f20c30b4fdf3193ba6b5ea155913cd1946 |
--- /dev/null |
+++ b/mojo/mojo_converters.gypi |
@@ -0,0 +1,86 @@ |
+# Copyright (c) 2014 The Chromium Authors. All rights reserved. |
+# Use of this source code is governed by a BSD-style license that can be |
+# found in the LICENSE file. |
+ |
+{ |
+ 'targets': [ |
+ { |
+ # GN version: //mojo/converters |
+ 'target_name': 'mojo_converters', |
+ 'type': '<(component)', |
+ 'defines': [ |
+ 'MOJO_CONVERTERS_IMPLEMENTATION', |
+ ], |
+ 'dependencies': [ |
+ '../base/base.gyp:base', |
+ '../cc/cc.gyp:cc', |
+ '../cc/cc.gyp:cc_surfaces', |
+ '../gpu/gpu.gyp:gpu', |
+ '../skia/skia.gyp:skia', |
+ '../ui/events/events.gyp:events', |
+ '../ui/gfx/gfx.gyp:gfx', |
+ '../ui/gfx/gfx.gyp:gfx_geometry', |
+ 'services/public/mojo_services_public.gyp:mojo_geometry_bindings', |
+ 'services/public/mojo_services_public.gyp:mojo_gpu_bindings', |
+ 'services/public/mojo_services_public.gyp:mojo_input_events_bindings', |
+ 'services/public/mojo_services_public.gyp:mojo_surfaces_bindings', |
+ '<(mojo_system_for_component)', |
+ ], |
+ 'export_dependent_settings': [ |
+ '../ui/gfx/gfx.gyp:gfx', |
+ 'services/public/mojo_services_public.gyp:mojo_surfaces_bindings', |
+ ], |
+ 'sources': [ |
+ 'converters/geometry_type_converters.cc', |
+ 'converters/geometry_type_converters.h', |
+ 'converters/input_events_type_converters.cc', |
+ 'converters/input_events_type_converters.h', |
+ 'converters/mojo_extended_key_event_data.cc', |
+ 'converters/mojo_extended_key_event_data.h', |
+ 'converters/mojo_converters_export.h', |
+ 'converters/surfaces_type_converters.cc', |
+ 'converters/surfaces_type_converters.h', |
+ 'converters/surfaces_utils.cc', |
+ 'converters/surfaces_utils.h', |
+ ], |
+ 'conditions': [ |
+ ['component=="shared_library"', { |
+ 'dependencies': [ |
+ 'mojo_base.gyp:mojo_environment_chromium', |
+ ], |
+ }], |
+ ], |
+ }, |
+ { |
+ # GN version: //mojo/converters |
+ 'target_name': 'mojo_converters_unittests', |
+ 'type': 'executable', |
+ 'dependencies': [ |
+ '../base/base.gyp:base', |
+ '../base/base.gyp:test_support_base', |
+ '../cc/cc.gyp:cc', |
+ '../cc/cc.gyp:cc_surfaces', |
+ '../gpu/gpu.gyp:gpu', |
+ '../skia/skia.gyp:skia', |
+ '../testing/gtest.gyp:gtest', |
+ '../ui/gfx/gfx.gyp:gfx', |
+ '../ui/gfx/gfx.gyp:gfx_geometry', |
+ '../ui/gfx/gfx.gyp:gfx_test_support', |
+ 'edk/mojo_edk.gyp:mojo_run_all_unittests', |
+ 'mojo_base.gyp:mojo_environment_chromium', |
+ 'mojo_converters', |
+ 'services/public/mojo_services_public.gyp:mojo_surfaces_bindings', |
+ ], |
+ 'sources': [ |
+ 'converters/surface_unittest.cc', |
+ ], |
+ 'conditions': [ |
+ ['component=="shared_library"', { |
+ 'dependencies': [ |
+ 'mojo_base.gyp:mojo_environment_chromium', |
+ ], |
+ }], |
+ ], |
+ }, |
+ ], |
+} |