summaryrefslogtreecommitdiffstats
path: root/third_party/harfbuzz/harfbuzz.gyp
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/harfbuzz/harfbuzz.gyp')
-rw-r--r--third_party/harfbuzz/harfbuzz.gyp14
1 files changed, 11 insertions, 3 deletions
diff --git a/third_party/harfbuzz/harfbuzz.gyp b/third_party/harfbuzz/harfbuzz.gyp
index f029881..1ed90b9 100644
--- a/third_party/harfbuzz/harfbuzz.gyp
+++ b/third_party/harfbuzz/harfbuzz.gyp
@@ -1,4 +1,4 @@
-# Copyright (c) 2009 The Chromium Authors. All rights reserved.
+# Copyright (c) 2011 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
@@ -45,8 +45,16 @@
'src',
],
},
- 'dependencies': [
- '../../build/linux/system.gyp:freetype2',
+ 'conditions': [
+ ['OS == "android"', {
+ 'dependencies': [
+ '../../third_party/freetype/freetype.gyp:ft2',
+ ],
+ }, { # OS != android
+ 'dependencies': [
+ '../../build/linux/system.gyp:freetype2',
+ ],
+ }],
],
},
],