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/system.gni") | 5 import("//mojo/system.gni") |
6 | 6 |
7 # GYP version: mojo/mojo_examples.gypi:mojo_sample_app | 7 # GYP version: mojo/mojo_examples.gypi:mojo_sample_app |
8 shared_library("sample_app") { | 8 shared_library("sample_app") { |
9 output_name = "mojo_sample_app" | 9 output_name = "mojo_sample_app" |
10 | 10 |
11 sources = [ | 11 sources = [ |
12 "gles2_client_impl.cc", | 12 "gles2_client_impl.cc", |
13 "gles2_client_impl.h", | 13 "gles2_client_impl.h", |
14 "sample_app.cc", | 14 "sample_app.cc", |
15 ] | 15 ] |
16 | 16 |
17 deps = [ | 17 deps = [ |
18 ":spinning_cube", | 18 ":spinning_cube", |
| 19 "//gpu/command_buffer/client:gles2_interface", |
19 "//mojo/public/cpp/application:standalone", | 20 "//mojo/public/cpp/application:standalone", |
20 "//mojo/public/cpp/bindings", | 21 "//mojo/public/cpp/bindings", |
21 "//mojo/public/cpp/utility", | 22 "//mojo/public/cpp/utility", |
22 "//mojo/services/public/interfaces/geometry", | 23 "//mojo/services/public/interfaces/geometry", |
23 "//mojo/services/public/interfaces/native_viewport", | 24 "//mojo/services/public/interfaces/native_viewport", |
24 ] + mojo_system_for_shared_library + mojo_gles2_for_shared_library | 25 ] + mojo_system_for_shared_library + mojo_gles2_for_shared_library |
25 } | 26 } |
26 | 27 |
27 source_set("spinning_cube") { | 28 source_set("spinning_cube") { |
28 sources = [ | 29 sources = [ |
29 "spinning_cube.cc", | 30 "spinning_cube.cc", |
30 "spinning_cube.h" | 31 "spinning_cube.h" |
31 ] | 32 ] |
32 | 33 |
33 deps = [ | 34 deps = [ |
34 "//base", | 35 "//base", |
35 ] + mojo_gles2_for_shared_library | 36 ] + mojo_gles2_for_shared_library |
36 } | 37 } |
OLD | NEW |