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 # Core Skia library code. | 5 # Core Skia library code. |
6 { | 6 { |
7 'targets': [ | 7 'targets': [ |
8 { | 8 { |
9 'target_name': 'core', | 9 'target_name': 'core', |
10 'product_name': 'skia_core', | 10 'product_name': 'skia_core', |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
80 [ 'skia_os == "win"', { | 80 [ 'skia_os == "win"', { |
81 'include_dirs': [ | 81 'include_dirs': [ |
82 'config/win', | 82 'config/win', |
83 ], | 83 ], |
84 }], | 84 }], |
85 [ 'skia_os == "android"', { | 85 [ 'skia_os == "android"', { |
86 'dependencies': [ | 86 'dependencies': [ |
87 'android_deps.gyp:cpu_features', | 87 'android_deps.gyp:cpu_features', |
88 ], | 88 ], |
89 }], | 89 }], |
| 90 [ 'skia_arch_type == "arm"', { |
| 91 # The code in SkUtilsArm.cpp can be used on an ARM-based Linux system,
not only Android. |
| 92 'sources': [ |
| 93 '../src/core/SkUtilsArm.cpp', |
| 94 '../src/core/SkUtilsArm.h', |
| 95 ], |
| 96 }], |
90 ['skia_gpu == 1', { | 97 ['skia_gpu == 1', { |
91 'include_dirs': [ | 98 'include_dirs': [ |
92 '../include/gpu', | 99 '../include/gpu', |
93 '../src/gpu', | 100 '../src/gpu', |
94 ], | 101 ], |
95 }], | 102 }], |
96 ], | 103 ], |
97 'direct_dependent_settings': { | 104 'direct_dependent_settings': { |
98 'include_dirs': [ | 105 'include_dirs': [ |
99 '../include/c', | 106 '../include/c', |
(...skipping 15 matching lines...) Expand all Loading... |
115 [ 'skia_os == "win"', { | 122 [ 'skia_os == "win"', { |
116 'include_dirs': [ | 123 'include_dirs': [ |
117 'config/win', | 124 'config/win', |
118 ], | 125 ], |
119 }], | 126 }], |
120 ], | 127 ], |
121 }, | 128 }, |
122 }, | 129 }, |
123 ], | 130 ], |
124 } | 131 } |
OLD | NEW |