| OLD | NEW |
| 1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2011 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 'variables': { | 6 'variables': { |
| 7 'ft2_dir': 'src', | 7 'ft2_dir': 'src', |
| 8 }, | 8 }, |
| 9 'conditions': [ | 9 'conditions': [ |
| 10 [ 'OS == "android"', { | 10 [ 'OS=="android" or chromecast==1', { |
| 11 'targets': [ | 11 'targets': [ |
| 12 { | 12 { |
| 13 'target_name': 'ft2', | 13 'target_name': 'ft2', |
| 14 'type': 'static_library', | 14 'type': 'static_library', |
| 15 'toolsets': ['target'], | |
| 16 'sources': [ | 15 'sources': [ |
| 17 # The following files are not sorted alphabetically, but in the | 16 # The following files are not sorted alphabetically, but in the |
| 18 # same order as in Android.mk to ease maintenance. | 17 # same order as in Android.mk to ease maintenance. |
| 19 '<(ft2_dir)/src/base/ftbbox.c', | 18 '<(ft2_dir)/src/base/ftbbox.c', |
| 20 '<(ft2_dir)/src/base/ftbitmap.c', | 19 '<(ft2_dir)/src/base/ftbitmap.c', |
| 21 '<(ft2_dir)/src/base/ftfntfmt.c', | 20 '<(ft2_dir)/src/base/ftfntfmt.c', |
| 22 '<(ft2_dir)/src/base/ftfstype.c', | 21 '<(ft2_dir)/src/base/ftfstype.c', |
| 23 '<(ft2_dir)/src/base/ftglyph.c', | 22 '<(ft2_dir)/src/base/ftglyph.c', |
| 24 '<(ft2_dir)/src/base/ftlcdfil.c', | 23 '<(ft2_dir)/src/base/ftlcdfil.c', |
| 25 '<(ft2_dir)/src/base/ftstroke.c', | 24 '<(ft2_dir)/src/base/ftstroke.c', |
| (...skipping 27 matching lines...) Expand all Loading... |
| 53 # Long directory name to avoid accidentally using wrong headers. | 52 # Long directory name to avoid accidentally using wrong headers. |
| 54 'FT_CONFIG_MODULES_H=<freetype-android-config/ftmodule.h>', | 53 'FT_CONFIG_MODULES_H=<freetype-android-config/ftmodule.h>', |
| 55 'FT_CONFIG_OPTIONS_H=<freetype-android-config/ftoption.h>', | 54 'FT_CONFIG_OPTIONS_H=<freetype-android-config/ftoption.h>', |
| 56 ], | 55 ], |
| 57 'direct_dependent_settings': { | 56 'direct_dependent_settings': { |
| 58 'include_dirs': [ | 57 'include_dirs': [ |
| 59 'include', | 58 'include', |
| 60 '<(ft2_dir)/include', | 59 '<(ft2_dir)/include', |
| 61 ], | 60 ], |
| 62 }, | 61 }, |
| 62 'conditions': [ |
| 63 ['OS=="android"', { |
| 64 'toolsets': ['target'], |
| 65 }, 'chromecast==1', { |
| 66 'sources': [ '<(ft2_dir)/src/base/ftbdf.c', ], |
| 67 }] |
| 68 ], |
| 63 }, | 69 }, |
| 64 ], | 70 ], |
| 65 }], | 71 }], |
| 66 ], | 72 ], |
| 67 } | 73 } |
| OLD | NEW |