| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 import("//mojo/public/mojo_application.gni") | 5 import("//mojo/public/mojo_application.gni") |
| 6 | 6 |
| 7 mojo_native_application("sample_app") { | 7 mojo_native_application("sample_app") { |
| 8 sources = [ | 8 sources = [ |
| 9 "gles2_client_impl.cc", | 9 "gles2_client_impl.cc", |
| 10 "gles2_client_impl.h", | 10 "gles2_client_impl.h", |
| 11 "sample_app.cc", | 11 "sample_app.cc", |
| 12 ] | 12 ] |
| 13 | 13 |
| 14 deps = [ | 14 deps = [ |
| 15 ":spinning_cube", | 15 ":spinning_cube", |
| 16 "//base", | 16 "//base", |
| 17 "//gpu/command_buffer/client:gles2_interface", | 17 "//gpu/command_buffer/client:gles2_interface", |
| 18 "//mojo/public/c/system:for_shared_library", | 18 "//mojo/public/c/system:for_shared_library", |
| 19 "//mojo/public/cpp/application:standalone", | 19 "//mojo/public/cpp/application:standalone", |
| 20 "//mojo/public/cpp/bindings", | 20 "//mojo/public/cpp/bindings", |
| 21 "//mojo/public/cpp/environment", |
| 22 "//mojo/public/cpp/system", |
| 21 "//mojo/public/cpp/utility", | 23 "//mojo/public/cpp/utility", |
| 22 "//mojo/public/gles2:for_shared_library", | 24 "//mojo/public/gles2:for_shared_library", |
| 23 "//mojo/services/public/interfaces/geometry", | 25 "//mojo/services/public/interfaces/geometry", |
| 24 "//mojo/services/public/interfaces/native_viewport", | 26 "//mojo/services/public/interfaces/native_viewport", |
| 25 ] | 27 ] |
| 26 } | 28 } |
| 27 | 29 |
| 28 source_set("spinning_cube") { | 30 source_set("spinning_cube") { |
| 29 sources = [ | 31 sources = [ |
| 30 "spinning_cube.cc", | 32 "spinning_cube.cc", |
| 31 "spinning_cube.h" | 33 "spinning_cube.h" |
| 32 ] | 34 ] |
| 33 | 35 |
| 34 deps = [ | 36 deps = [ |
| 35 "//base", | 37 "//base", |
| 36 "//mojo/public/gles2:for_shared_library", | 38 "//mojo/public/gles2:for_shared_library", |
| 37 ] | 39 ] |
| 38 } | 40 } |
| OLD | NEW |