Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(661)

Side by Side Diff: mojo/examples/sample_app/BUILD.gn

Issue 563953003: GN rules for everything in //mojo (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « mojo/examples/png_viewer/BUILD.gn ('k') | mojo/examples/surfaces_app/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 = [
12 "gles2_client_impl.cc",
13 "gles2_client_impl.h",
14 "sample_app.cc",
15 ]
16
11 deps = [ 17 deps = [
18 ":spinning_cube",
12 "//mojo/public/cpp/application:standalone", 19 "//mojo/public/cpp/application:standalone",
13 "//mojo/public/cpp/bindings", 20 "//mojo/public/cpp/bindings",
14 "//mojo/public/cpp/utility", 21 "//mojo/public/cpp/utility",
15 "//mojo/services/public/interfaces/geometry", 22 "//mojo/services/public/interfaces/geometry",
16 "//mojo/services/public/interfaces/native_viewport", 23 "//mojo/services/public/interfaces/native_viewport",
17 ] + mojo_system_for_shared_library + mojo_gles2_for_shared_library 24 ] + mojo_system_for_shared_library + mojo_gles2_for_shared_library
25 }
18 26
27 source_set("spinning_cube") {
19 sources = [ 28 sources = [
20 "gles2_client_impl.cc",
21 "gles2_client_impl.h",
22 "sample_app.cc",
23 "spinning_cube.cc", 29 "spinning_cube.cc",
24 "spinning_cube.h" 30 "spinning_cube.h"
25 ] 31 ]
32
33 deps = [
34 "//base",
35 ] + mojo_gles2_for_shared_library
26 } 36 }
OLDNEW
« no previous file with comments | « mojo/examples/png_viewer/BUILD.gn ('k') | mojo/examples/surfaces_app/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698