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 | 5 |
6 # This GYP file stores the dependencies necessary to build Skia on the Android | 6 # This GYP file stores the dependencies necessary to build Skia on the Android |
7 # platform. The OS doesn't provide many stable libraries as part of the | 7 # platform. The OS doesn't provide many stable libraries as part of the |
8 # distribution so we have to build a few of them ourselves. | 8 # distribution so we have to build a few of them ourselves. |
9 # | 9 # |
10 # NOTE: We tried adding the gyp file to the android/ directory at the root of | 10 # NOTE: We tried adding the gyp file to the android/ directory at the root of |
11 # the Skia repo, but that resulted in the generated makefiles being created | 11 # the Skia repo, but that resulted in the generated makefiles being created |
12 # outside of the out directory. We may be able to move the bulk of this gyp | 12 # outside of the out directory. We may be able to move the bulk of this gyp |
13 # to the /android directory and put a simple shim here, but that has yet to be | 13 # to the /android directory and put a simple shim here, but that has yet to be |
14 # tested. | 14 # tested. |
15 | 15 |
16 { | 16 { |
| 17 'variables': { |
| 18 'skia_warnings_as_errors': 0, |
| 19 }, |
17 'targets': [ | 20 'targets': [ |
18 { | 21 { |
19 'target_name': 'native_app_glue', | 22 'target_name': 'native_app_glue', |
20 'type': 'static_library', | 23 'type': 'static_library', |
21 'direct_dependent_settings': { | 24 'direct_dependent_settings': { |
22 'include_dirs': [ | 25 'include_dirs': [ |
23 '../third_party/native_app_glue', | 26 '../third_party/native_app_glue', |
24 ], | 27 ], |
25 }, | 28 }, |
26 'sources': [ | 29 'sources': [ |
(...skipping 294 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
321 '../../../tools/VisualBench/', | 324 '../../../tools/VisualBench/', |
322 ], | 325 ], |
323 'sources': [ | 326 'sources': [ |
324 '../apps/visualbench/src/main/jni/SkOSWindow_AndroidNative.cpp', | 327 '../apps/visualbench/src/main/jni/SkOSWindow_AndroidNative.cpp', |
325 '../apps/visualbench/src/main/jni/main.cpp', | 328 '../apps/visualbench/src/main/jni/main.cpp', |
326 ], | 329 ], |
327 }, | 330 }, |
328 }, | 331 }, |
329 ] | 332 ] |
330 } | 333 } |
OLD | NEW |