OLD | NEW |
1 # Copyright 2013 The Chromium Authors. All rights reserved. | 1 # Copyright 2013 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 | 5 |
6 # This gypi file contains the shim header generation and other settings to use | 6 # This gypi file contains the shim header generation and other settings to use |
7 # the system version of skia on Android. | 7 # the system version of skia on Android. |
8 { | 8 { |
9 'direct_dependent_settings': { | 9 'direct_dependent_settings': { |
10 # This makes the Android build system set the include path appropriately. | 10 # This makes the Android build system set the include path appropriately. |
11 'libraries': [ '-lskia' ], | 11 'libraries': [ '-lskia' ], |
| 12 # Some Chrome code uses non-public header files (http://crbug.com/274425), |
| 13 # so we need to add this include path for now to make it build. The system |
| 14 # version of skia is already required to be the same as the chromium version |
| 15 # so using the bundled headers shouldn't break anything. |
| 16 'include_dirs': [ |
| 17 '../third_party/skia/src/core', |
| 18 ], |
12 }, | 19 }, |
13 'link_settings': { | 20 'link_settings': { |
14 # This actually causes the final binary to be linked against skia. | 21 # This actually causes the final binary to be linked against skia. |
15 'libraries': [ '-lskia' ], | 22 'libraries': [ '-lskia' ], |
16 }, | 23 }, |
17 'variables': { | 24 'variables': { |
18 'headers_root_path': '../third_party/skia/include', | 25 'headers_root_path': '../third_party/skia/include', |
19 }, | 26 }, |
20 'includes': [ | 27 'includes': [ |
21 '../third_party/skia/gyp/public_headers.gypi', | 28 '../third_party/skia/gyp/public_headers.gypi', |
22 '../build/shim_headers.gypi', | 29 '../build/shim_headers.gypi', |
23 ], | 30 ], |
24 } | 31 } |
OLD | NEW |