OLD | NEW |
1 # Copyright 2015 Google Inc. | 1 # Copyright 2015 Google Inc. |
2 # | 2 # |
3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
5 # Build ALMOST everything provided by Skia; this should be the default target. | 5 # Build ALMOST everything provided by Skia; this should be the default target. |
6 # | 6 # |
7 # This omits the following targets that many developers won't want to build: | 7 # This omits the following targets that many developers won't want to build: |
8 # - debugger: this requires QT to build | 8 # - debugger: this requires QT to build |
9 # | 9 # |
10 { | 10 { |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 [ 'skia_os != "android" and skia_os != "linux"', { | 42 [ 'skia_os != "android" and skia_os != "linux"', { |
43 'dependencies!': [ | 43 'dependencies!': [ |
44 'kilobench.gyp:kilobench', | 44 'kilobench.gyp:kilobench', |
45 ], | 45 ], |
46 }], | 46 }], |
47 [ 'skia_gpu == 0 or skia_os == "android"', { | 47 [ 'skia_gpu == 0 or skia_os == "android"', { |
48 'dependencies!': [ | 48 'dependencies!': [ |
49 'example.gyp:HelloWorld', | 49 'example.gyp:HelloWorld', |
50 ], | 50 ], |
51 }], | 51 }], |
52 ['skia_os == "android"', { | 52 ['skia_os == "android" and skia_vulkan == 1', { |
53 'dependencies': [ | 53 'dependencies': [ |
54 'android_system.gyp:SampleApp_APK', | 54 'android_system.gyp:Viewer_APK', |
55 ], | |
56 'conditions': [ | |
57 [ 'skia_gpu == 1', { | |
58 'dependencies': [ | |
59 'android_system.gyp:VisualBench_APK', | |
60 ], | |
61 }], | |
62 [ 'skia_vulkan == 1', { | |
63 'dependencies': [ | |
64 'android_system.gyp:Viewer_APK', | |
65 ], | |
66 }], | |
67 ], | 55 ], |
68 }], | 56 }], |
69 ['skia_os == "ios"', { | 57 ['skia_os == "ios"', { |
70 'dependencies!': [ | 58 'dependencies!': [ |
71 'example.gyp:HelloWorld', | 59 'example.gyp:HelloWorld', |
72 'SampleApp.gyp:SampleApp', | 60 'SampleApp.gyp:SampleApp', |
73 'visualbench.gyp:visualbench', | 61 'visualbench.gyp:visualbench', |
74 ], | 62 ], |
75 'dependencies': ['iOSShell.gyp:iOSShell' ], | 63 'dependencies': ['iOSShell.gyp:iOSShell' ], |
76 }], | 64 }], |
(...skipping 18 matching lines...) Expand all Loading... |
95 'example.gyp:HelloWorld', | 83 'example.gyp:HelloWorld', |
96 'SampleApp.gyp:SampleApp', | 84 'SampleApp.gyp:SampleApp', |
97 'visualbench.gyp:visualbench', | 85 'visualbench.gyp:visualbench', |
98 ] | 86 ] |
99 } | 87 } |
100 ], | 88 ], |
101 ], | 89 ], |
102 }, | 90 }, |
103 ], | 91 ], |
104 } | 92 } |
OLD | NEW |