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

Side by Side Diff: sky/shell/BUILD.gn

Issue 891143002: Teach SkyShell how to draw with Ganesh (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: build fix Created 5 years, 10 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
OLDNEW
1 # Copyright 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 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 assert(is_android) 5 assert(is_android)
6 6
7 import("//build/config/android/config.gni") 7 import("//build/config/android/config.gni")
8 import("//build/config/android/rules.gni") 8 import("//build/config/android/rules.gni")
9 9
10 group("shell") { 10 group("shell") {
11 deps = [ 11 deps = [
12 ":sky_shell_apk", 12 ":sky_shell_apk",
13 ] 13 ]
14 } 14 }
15 15
16 generate_jni("jni_headers") { 16 generate_jni("jni_headers") {
17 sources = [ 17 sources = [
18 "apk/src/org/domokit/sky/shell/SkyMain.java", 18 "apk/src/org/domokit/sky/shell/SkyMain.java",
19 "apk/src/org/domokit/sky/shell/SkyView.java", 19 "apk/src/org/domokit/sky/shell/SkyView.java",
20 ] 20 ]
21 jni_package = "sky/shell" 21 jni_package = "sky/shell"
22 } 22 }
23 23
24 shared_library("sky_shell") { 24 shared_library("sky_shell") {
25 sources = [ 25 sources = [
26 "gpu_driver.cc", 26 "gpu/ganesh_context.cc",
27 "gpu_driver.h", 27 "gpu/ganesh_context.h",
28 "gpu/ganesh_surface.cc",
29 "gpu/ganesh_surface.h",
30 "gpu/rasterizer.cc",
31 "gpu/rasterizer.h",
28 "library_loader.cc", 32 "library_loader.cc",
29 "shell.cc", 33 "shell.cc",
30 "shell.h", 34 "shell.h",
31 "sky_main.cc", 35 "sky_main.cc",
32 "sky_main.h", 36 "sky_main.h",
33 "sky_view.cc", 37 "sky_view.cc",
34 "sky_view.h", 38 "sky_view.h",
35 ] 39 ]
36 40
37 configs += [ "//third_party/khronos:khronos_headers" ] 41 configs += [ "//third_party/khronos:khronos_headers" ]
38 42
39 deps = [ 43 deps = [
40 "//base", 44 "//base",
41 "//build/config/sanitizers:deps", 45 "//build/config/sanitizers:deps",
46 "//skia",
47 "//ui/gfx/geometry",
42 "//ui/gl", 48 "//ui/gl",
43 ":jni_headers", 49 ":jni_headers",
44 ] 50 ]
45 } 51 }
46 52
47 android_library("java") { 53 android_library("java") {
48 java_files = [ 54 java_files = [
49 "apk/src/org/domokit/sky/shell/SkyMain.java", 55 "apk/src/org/domokit/sky/shell/SkyMain.java",
50 "apk/src/org/domokit/sky/shell/SkyShellActivity.java", 56 "apk/src/org/domokit/sky/shell/SkyShellActivity.java",
51 "apk/src/org/domokit/sky/shell/SkyShellApplication.java", 57 "apk/src/org/domokit/sky/shell/SkyShellApplication.java",
(...skipping 18 matching lines...) Expand all
70 76
71 asset_location = "apk/res" 77 asset_location = "apk/res"
72 78
73 deps = [ 79 deps = [
74 ":sky_shell", 80 ":sky_shell",
75 ":java", 81 ":java",
76 ":resources", 82 ":resources",
77 "//base:base_java", 83 "//base:base_java",
78 ] 84 ]
79 } 85 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698