Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(108)

Unified Diff: mojo/mojo_converters.gypi

Issue 640893003: Move mojo/services/public/cpp TypeConverters to mojo/converters. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix GN. Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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',
+ ],
+ }],
+ ],
+ },
+ ],
+}

Powered by Google App Engine
This is Rietveld 408576698