diff options
-rw-r--r-- | third_party/harfbuzz/README.chromium | 2 | ||||
-rw-r--r-- | third_party/harfbuzz/harfbuzz.gyp | 14 |
2 files changed, 13 insertions, 3 deletions
diff --git a/third_party/harfbuzz/README.chromium b/third_party/harfbuzz/README.chromium index aa11614..12fd39a 100644 --- a/third_party/harfbuzz/README.chromium +++ b/third_party/harfbuzz/README.chromium @@ -16,3 +16,5 @@ The patch in chromium.patch was applied on top of this; I will talk with upstream about it. (Note that chromium.patch is just a record of our changes against upstream; you must also apply any changes that you make to the checked-in copy of the source.) + +Added support for building on Android. 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', + ], + }], ], }, ], |