diff options
author | yzshen@chromium.org <yzshen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-07-21 23:10:37 +0000 |
---|---|---|
committer | yzshen@chromium.org <yzshen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-07-21 23:10:37 +0000 |
commit | dac186fb35facaebb9dfabaa10ded62f04ba50f4 (patch) | |
tree | 764807dbbd56ddc9f5a824738f595027d9c70056 /mojo/services | |
parent | d767ddb778270c9a401b864b3f3433888ff72a89 (diff) | |
download | chromium_src-dac186fb35facaebb9dfabaa10ded62f04ba50f4.zip chromium_src-dac186fb35facaebb9dfabaa10ded62f04ba50f4.tar.gz chromium_src-dac186fb35facaebb9dfabaa10ded62f04ba50f4.tar.bz2 |
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
Diffstat (limited to 'mojo/services')
-rw-r--r-- | mojo/services/BUILD.gn | 20 | ||||
-rw-r--r-- | mojo/services/dbus_echo/BUILD.gn | 12 | ||||
-rw-r--r-- | mojo/services/gles2/BUILD.gn | 27 | ||||
-rw-r--r-- | mojo/services/public/interfaces/geometry/BUILD.gn | 12 | ||||
-rw-r--r-- | mojo/services/public/interfaces/input_events/BUILD.gn | 16 | ||||
-rw-r--r-- | mojo/services/public/interfaces/launcher/BUILD.gn | 16 | ||||
-rw-r--r-- | mojo/services/public/interfaces/native_viewport/BUILD.gn | 18 | ||||
-rw-r--r-- | mojo/services/public/interfaces/navigation/BUILD.gn | 16 | ||||
-rw-r--r-- | mojo/services/public/interfaces/network/BUILD.gn | 14 | ||||
-rw-r--r-- | mojo/services/public/interfaces/surfaces/BUILD.gn | 19 | ||||
-rw-r--r-- | mojo/services/public/interfaces/view_manager/BUILD.gn | 18 | ||||
-rw-r--r-- | mojo/services/public/interfaces/window_manager/BUILD.gn | 12 | ||||
-rw-r--r-- | mojo/services/test_service/BUILD.gn | 13 |
13 files changed, 213 insertions, 0 deletions
diff --git a/mojo/services/BUILD.gn b/mojo/services/BUILD.gn new file mode 100644 index 0000000..ec44710 --- /dev/null +++ b/mojo/services/BUILD.gn @@ -0,0 +1,20 @@ +# 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", + ] +} diff --git a/mojo/services/dbus_echo/BUILD.gn b/mojo/services/dbus_echo/BUILD.gn new file mode 100644 index 0000000..945c5b3 --- /dev/null +++ b/mojo/services/dbus_echo/BUILD.gn @@ -0,0 +1,12 @@ +# 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", + ] +} diff --git a/mojo/services/gles2/BUILD.gn b/mojo/services/gles2/BUILD.gn new file mode 100644 index 0000000..0b61b7a --- /dev/null +++ b/mojo/services/gles2/BUILD.gn @@ -0,0 +1,27 @@ +# 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", + ] +} diff --git a/mojo/services/public/interfaces/geometry/BUILD.gn b/mojo/services/public/interfaces/geometry/BUILD.gn new file mode 100644 index 0000000..fc3ae6e --- /dev/null +++ b/mojo/services/public/interfaces/geometry/BUILD.gn @@ -0,0 +1,12 @@ +# 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", + ] +} diff --git a/mojo/services/public/interfaces/input_events/BUILD.gn b/mojo/services/public/interfaces/input_events/BUILD.gn new file mode 100644 index 0000000..a1e1158 --- /dev/null +++ b/mojo/services/public/interfaces/input_events/BUILD.gn @@ -0,0 +1,16 @@ +# 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", + ] +} diff --git a/mojo/services/public/interfaces/launcher/BUILD.gn b/mojo/services/public/interfaces/launcher/BUILD.gn new file mode 100644 index 0000000..49dce48 --- /dev/null +++ b/mojo/services/public/interfaces/launcher/BUILD.gn @@ -0,0 +1,16 @@ +# 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", + ] +} diff --git a/mojo/services/public/interfaces/native_viewport/BUILD.gn b/mojo/services/public/interfaces/native_viewport/BUILD.gn new file mode 100644 index 0000000..eeeb21b --- /dev/null +++ b/mojo/services/public/interfaces/native_viewport/BUILD.gn @@ -0,0 +1,18 @@ +# 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", + ] +} diff --git a/mojo/services/public/interfaces/navigation/BUILD.gn b/mojo/services/public/interfaces/navigation/BUILD.gn new file mode 100644 index 0000000..e4d186e --- /dev/null +++ b/mojo/services/public/interfaces/navigation/BUILD.gn @@ -0,0 +1,16 @@ +# 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", + ] +} diff --git a/mojo/services/public/interfaces/network/BUILD.gn b/mojo/services/public/interfaces/network/BUILD.gn new file mode 100644 index 0000000..5b8dba1 --- /dev/null +++ b/mojo/services/public/interfaces/network/BUILD.gn @@ -0,0 +1,14 @@ +# 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", + ] +} diff --git a/mojo/services/public/interfaces/surfaces/BUILD.gn b/mojo/services/public/interfaces/surfaces/BUILD.gn new file mode 100644 index 0000000..77c9395 --- /dev/null +++ b/mojo/services/public/interfaces/surfaces/BUILD.gn @@ -0,0 +1,19 @@ +# 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", + ] +} diff --git a/mojo/services/public/interfaces/view_manager/BUILD.gn b/mojo/services/public/interfaces/view_manager/BUILD.gn new file mode 100644 index 0000000..9e1d6f0 --- /dev/null +++ b/mojo/services/public/interfaces/view_manager/BUILD.gn @@ -0,0 +1,18 @@ +# 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", + ] +} diff --git a/mojo/services/public/interfaces/window_manager/BUILD.gn b/mojo/services/public/interfaces/window_manager/BUILD.gn new file mode 100644 index 0000000..d915bd6 --- /dev/null +++ b/mojo/services/public/interfaces/window_manager/BUILD.gn @@ -0,0 +1,12 @@ +# 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", + ] +} diff --git a/mojo/services/test_service/BUILD.gn b/mojo/services/test_service/BUILD.gn new file mode 100644 index 0000000..684826f --- /dev/null +++ b/mojo/services/test_service/BUILD.gn @@ -0,0 +1,13 @@ +# 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", + ] +} |