| Index: examples/ui/spinning_cube/BUILD.gn
|
| diff --git a/examples/spinning_cube/BUILD.gn b/examples/ui/spinning_cube/BUILD.gn
|
| similarity index 50%
|
| copy from examples/spinning_cube/BUILD.gn
|
| copy to examples/ui/spinning_cube/BUILD.gn
|
| index 68d84f421350e4632104db03936c78704c2087c6..db71418089d8934c3193b7262819bb12ce0c5531 100644
|
| --- a/examples/spinning_cube/BUILD.gn
|
| +++ b/examples/ui/spinning_cube/BUILD.gn
|
| @@ -1,41 +1,35 @@
|
| -# Copyright 2014 The Chromium Authors. All rights reserved.
|
| +# Copyright 2015 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/mojo_application.gni")
|
|
|
| mojo_native_application("spinning_cube") {
|
| + output_name = "spinning_cube_view"
|
| +
|
| sources = [
|
| - "gles2_client_impl.cc",
|
| - "gles2_client_impl.h",
|
| + "main.cc",
|
| "spinning_cube_app.cc",
|
| + "spinning_cube_app.h",
|
| + "spinning_cube_view.cc",
|
| + "spinning_cube_view.h",
|
| ]
|
|
|
| deps = [
|
| - ":lib",
|
| "//base",
|
| + "//examples/spinning_cube:lib",
|
| + "//mojo/application",
|
| + "//mojo/common",
|
| + "//mojo/environment:chromium",
|
| + "//mojo/gpu",
|
| "//mojo/public/c/gpu",
|
| "//mojo/public/c/gpu:gpu_onscreen",
|
| - "//mojo/public/cpp/application:standalone",
|
| "//mojo/public/cpp/bindings",
|
| "//mojo/public/cpp/environment",
|
| "//mojo/public/cpp/system",
|
| - "//mojo/public/cpp/utility",
|
| "//mojo/services/geometry/interfaces",
|
| - "//mojo/services/native_viewport/interfaces",
|
| - ]
|
| -}
|
| -
|
| -source_set("lib") {
|
| - sources = [
|
| - "spinning_cube.cc",
|
| - "spinning_cube.h",
|
| - ]
|
| -
|
| - deps = [
|
| - "//base",
|
| - "//mojo/public/c/gpu",
|
| - "//mojo/public/c/gpu:MGL",
|
| - "//mojo/public/cpp/environment",
|
| + "//mojo/services/input_events/interfaces",
|
| + "//mojo/services/surfaces/interfaces",
|
| + "//mojo/services/ui/views/interfaces",
|
| ]
|
| }
|
|
|