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