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 shared_library("sample_app") { | 5 import("//mojo/public/mojo_application.gni") |
| 6 |
| 7 mojo_native_application("sample_app") { |
6 sources = [ | 8 sources = [ |
7 "gles2_client_impl.cc", | 9 "gles2_client_impl.cc", |
8 "gles2_client_impl.h", | 10 "gles2_client_impl.h", |
9 "sample_app.cc", | 11 "sample_app.cc", |
10 ] | 12 ] |
11 | 13 |
12 deps = [ | 14 deps = [ |
13 ":spinning_cube", | 15 ":spinning_cube", |
14 "//base", | 16 "//base", |
15 "//gpu/command_buffer/client:gles2_interface", | 17 "//gpu/command_buffer/client:gles2_interface", |
(...skipping 11 matching lines...) Expand all Loading... |
27 sources = [ | 29 sources = [ |
28 "spinning_cube.cc", | 30 "spinning_cube.cc", |
29 "spinning_cube.h" | 31 "spinning_cube.h" |
30 ] | 32 ] |
31 | 33 |
32 deps = [ | 34 deps = [ |
33 "//base", | 35 "//base", |
34 "//mojo/public/gles2:for_shared_library", | 36 "//mojo/public/gles2:for_shared_library", |
35 ] | 37 ] |
36 } | 38 } |
OLD | NEW |