1b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org# Copyright 2014 The Chromium Authors. All rights reserved.
2b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org# Use of this source code is governed by a BSD-style license that can be
3b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org# found in the LICENSE file.
4b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org{
5b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org  'conditions': [
6b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org    # iOS always has the icu data in the bundle and we don't have to
7b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org    # specify the dependency for iOS here.
8b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org    ['icu_use_data_file_flag==1 and (OS=="linux" or OS=="win" or OS=="mac" or OS=="android")', {
9b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org      'variables': {
10b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org        'isolate_dependency_tracked': [
11b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org          '<(PRODUCT_DIR)/icudtl.dat',
12b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org        ],
13b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org      },
14b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org    }],
15b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org    # When icu data is not used, other platforms link it statically.
16b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org    ['icu_use_data_file_flag==0 and OS=="win"', {
17b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org      'variables': {
18b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org          'isolate_dependency_tracked': [
19b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org            '<(PRODUCT_DIR)/icudt.dll',
20b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org        ],
21b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org      },
22b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org    }],
23b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org  ],
24b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org}
25