| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 'conditions': [ | 5 'conditions': [ |
| 6 # iOS always has the icu data in the bundle and we don't have to | 6 # iOS always has the icu data in the bundle and we don't have to |
| 7 # specify the dependency for iOS here. | 7 # specify the dependency for iOS here. |
| 8 ['icu_use_data_file_flag==1 and (OS=="linux" or OS=="win" or OS=="mac" or OS
=="android")', { | 8 ['icu_use_data_file_flag==1 and (OS=="linux" or OS=="win" or OS=="mac" or OS
=="android")', { |
| 9 'variables': { | 9 'variables': { |
| 10 'isolate_dependency_tracked': [ | 10 'isolate_dependency_tracked': [ |
| 11 '<(PRODUCT_DIR)/icudtl.dat', | 11 '<(PRODUCT_DIR)/icudtl.dat', |
| 12 ], | 12 ], |
| 13 }, | 13 }, |
| 14 }], | 14 }], |
| 15 # When icu data is not used, other platforms link it statically. | 15 # When icu data is not used, other platforms link it statically. |
| 16 ['icu_use_data_file_flag==0 and OS=="win"', { | 16 ['icu_use_data_file_flag==0 and OS=="win"', { |
| 17 'variables': { | 17 'variables': { |
| 18 'isolate_dependency_tracked': [ | 18 'isolate_dependency_tracked': [ |
| 19 '<(PRODUCT_DIR)/icudt.dll', | 19 '<(PRODUCT_DIR)/icudt.dll', |
| 20 ], | 20 ], |
| 21 }, | 21 }, |
| 22 }], | 22 }], |
| 23 ['OS=="linux" and component=="shared_library"', { | |
| 24 'variables': { | |
| 25 'isolate_dependency_tracked': [ | |
| 26 '<(PRODUCT_DIR)/lib/libicui18n.so', | |
| 27 '<(PRODUCT_DIR)/lib/libicuuc.so', | |
| 28 ], | |
| 29 }, | |
| 30 }], | |
| 31 ['OS=="mac" and component=="shared_library"', { | |
| 32 'variables': { | |
| 33 'isolate_dependency_tracked': [ | |
| 34 '<(PRODUCT_DIR)/libicui18n.dylib', | |
| 35 '<(PRODUCT_DIR)/libicuuc.dylib', | |
| 36 ], | |
| 37 }, | |
| 38 }], | |
| 39 ['OS=="win" and component=="shared_library"', { | |
| 40 'variables': { | |
| 41 'isolate_dependency_tracked': [ | |
| 42 '<(PRODUCT_DIR)/icui18n.dll', | |
| 43 '<(PRODUCT_DIR)/icuuc.dll', | |
| 44 ], | |
| 45 }, | |
| 46 }], | |
| 47 ], | 23 ], |
| 48 } | 24 } |
| OLD | NEW |