Commit dac186fb authored by yzshen@chromium.org's avatar yzshen@chromium.org

Convert bindings targets in mojo/mojo_services.gypi to GN.

BUG=369643
TEST=None

Review URL: https://codereview.chromium.org/408853005

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284533 0039d316-1c4b-4281-b951-d872f2087c98
parent d767ddb7
......@@ -5,5 +5,6 @@
group("mojo") {
deps = [
"//mojo/public",
"//mojo/services",
]
}
......@@ -5,6 +5,7 @@
{
'targets': [
{
# GN version: //mojo/services/dbus_echo:bindings
'target_name': 'mojo_echo_bindings',
'type': 'static_library',
'sources': [
......@@ -85,6 +86,7 @@
],
},
{
# GN version: //mojo/services/public/interfaces/input_events:bindings
'target_name': 'mojo_input_events_bindings',
'type': 'static_library',
'sources': [
......@@ -100,6 +102,7 @@
],
},
{
# GN version: //mojo/services/public/interfaces/geometry:bindings
'target_name': 'mojo_geometry_bindings',
'type': 'static_library',
'sources': [
......@@ -224,6 +227,9 @@
],
},
{
# GN version: //mojo/services/gles2:interfaces (for files generated from
# the mojom file)
# GN version: //mojo/services/gles2:bindings
'target_name': 'mojo_gles2_bindings',
'type': 'static_library',
'sources': [
......@@ -262,6 +268,7 @@
],
},
{
# GN version: //mojo/services/public/interfaces/native_viewport:bindings
'target_name': 'mojo_native_viewport_bindings',
'type': 'static_library',
'sources': [
......@@ -330,6 +337,7 @@
],
},
{
# GN version: //mojo/services/public/interfaces/navigation:bindings
'target_name': 'mojo_navigation_bindings',
'type': 'static_library',
'sources': [
......@@ -345,6 +353,7 @@
],
},
{
# GN version: //mojo/services/public/interfaces/network:bindings
'target_name': 'mojo_network_bindings',
'type': 'static_library',
'sources': [
......@@ -433,6 +442,7 @@
],
},
{
# GN version: //mojo/services/public/interfaces/launcher:bindings
'target_name': 'mojo_launcher_bindings',
'type': 'static_library',
'sources': [
......@@ -466,6 +476,7 @@
],
},
{
# GN version: //mojo/services/public/interfaces/view_manager:bindings
'target_name': 'mojo_view_manager_bindings',
'type': 'static_library',
'sources': [
......@@ -554,6 +565,7 @@
],
},
{
# GN version: //mojo/services/public/interfaces/surfaces:bindings
'target_name': 'mojo_surfaces_bindings',
'type': 'static_library',
'sources': [
......@@ -572,12 +584,13 @@
],
},
{
# GN version: //mojo/services/test_service:bindings
'target_name': 'mojo_test_service_bindings',
'type': 'static_library',
'sources': [
# TODO(tim): Move to services/public/interfaces?
'services/test_service/test_service.mojom',
'services/test_service/test_request_tracker.mojom',
'services/test_service/test_service.mojom',
],
'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ],
'export_dependent_settings': [
......@@ -634,6 +647,7 @@
],
},
{
# GN version: //mojo/services/public/interfaces/window_manager:core_bindings
'target_name': 'mojo_core_window_manager_bindings',
'type': 'static_library',
'sources': [
......
# Copyright 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.
group("services") {
deps = [
"//mojo/services/dbus_echo:bindings",
"//mojo/services/gles2:bindings",
"//mojo/services/public/interfaces/input_events:bindings",
"//mojo/services/public/interfaces/geometry:bindings",
"//mojo/services/public/interfaces/native_viewport:bindings",
"//mojo/services/public/interfaces/navigation:bindings",
"//mojo/services/public/interfaces/network:bindings",
"//mojo/services/public/interfaces/launcher:bindings",
"//mojo/services/public/interfaces/view_manager:bindings",
"//mojo/services/public/interfaces/surfaces:bindings",
"//mojo/services/public/interfaces/window_manager:core_bindings",
"//mojo/services/test_service:bindings",
]
}
# Copyright 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.
import("//mojo/public/tools/bindings/mojom.gni")
# GYP version: mojo/mojo_services.gypi:mojo_echo_bindings
mojom("bindings") {
sources = [
"echo.mojom",
]
}
# Copyright 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.
import("//mojo/public/tools/bindings/mojom.gni")
# GYP version: mojo/mojo_services.gypi:mojo_gles2_bindings
mojom("interfaces") {
sources = [
"command_buffer.mojom",
]
}
# GYP version: mojo/mojo_services.gypi:mojo_gles2_bindings
source_set("bindings") {
sources = [
"command_buffer_type_conversions.cc",
"command_buffer_type_conversions.h",
"mojo_buffer_backing.cc",
"mojo_buffer_backing.h",
]
deps = [
":interfaces",
"//gpu/command_buffer/common",
]
}
# Copyright 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.
import("//mojo/public/tools/bindings/mojom.gni")
# GYP version: mojo/mojo_services.gypi:mojo_geometry_bindings
mojom("bindings") {
sources = [
"geometry.mojom",
]
}
# Copyright 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.
import("//mojo/public/tools/bindings/mojom.gni")
# GYP version: mojo/mojo_services.gypi:mojo_input_events_bindings
mojom("bindings") {
sources = [
"input_events.mojom",
]
deps = [
"//mojo/services/public/interfaces/geometry:bindings",
]
}
# Copyright 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.
import("//mojo/public/tools/bindings/mojom.gni")
# GYP version: mojo/mojo_services.gypi:mojo_launcher_bindings
mojom("bindings") {
sources = [
"launcher.mojom",
]
deps = [
"//mojo/services/public/interfaces/navigation:bindings",
]
}
# Copyright 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.
import("//mojo/public/tools/bindings/mojom.gni")
# GYP version: mojo/mojo_services.gypi:mojo_native_viewport_bindings
mojom("bindings") {
sources = [
"native_viewport.mojom",
]
deps = [
"//mojo/services/gles2:bindings",
"//mojo/services/public/interfaces/geometry:bindings",
"//mojo/services/public/interfaces/input_events:bindings",
]
}
# Copyright 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.
import("//mojo/public/tools/bindings/mojom.gni")
# GYP version: mojo/mojo_services.gypi:mojo_navigation_bindings
mojom("bindings") {
sources = [
"navigation.mojom",
]
deps = [
"//mojo/services/public/interfaces/network:bindings",
]
}
# Copyright 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.
import("//mojo/public/tools/bindings/mojom.gni")
# GYP version: mojo/mojo_services.gypi:mojo_network_bindings
mojom("bindings") {
sources = [
"network_error.mojom",
"network_service.mojom",
"url_loader.mojom",
]
}
# Copyright 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.
import("//mojo/public/tools/bindings/mojom.gni")
# GYP version: mojo/mojo_services.gypi:mojo_surfaces_bindings
mojom("bindings") {
sources = [
"surfaces.mojom",
"surface_id.mojom",
"quads.mojom",
]
deps = [
"//mojo/services/public/interfaces/geometry:bindings",
"//mojo/services/public/interfaces/native_viewport:bindings",
]
}
# Copyright 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.
import("//mojo/public/tools/bindings/mojom.gni")
# GYP version: mojo/mojo_services.gypi:mojo_view_manager_bindings
mojom("bindings") {
sources = [
"view_manager.mojom",
"view_manager_constants.mojom",
]
deps = [
"//mojo/services/public/interfaces/geometry:bindings",
"//mojo/services/public/interfaces/input_events:bindings",
]
}
# Copyright 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.
import("//mojo/public/tools/bindings/mojom.gni")
# GYP version: mojo/mojo_services.gypi:mojo_core_window_manager_bindings
mojom("core_bindings") {
sources = [
"window_manager.mojom",
]
}
# Copyright 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.
import("//mojo/public/tools/bindings/mojom.gni")
# GYP version: mojo/mojo_services.gypi:mojo_test_service_bindings
mojom("bindings") {
sources = [
"test_request_tracker.mojom",
"test_service.mojom",
]
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment