Index: net/net.gyp |
diff --git a/net/net.gyp b/net/net.gyp |
index 9b10a414e51a9d49a955654adf2933e556d5826d..a40f39388e3f1a285b81d6b493b446772e4aca7a 100644 |
--- a/net/net.gyp |
+++ b/net/net.gyp |
@@ -2235,14 +2235,20 @@ |
'dns/dns_config_service_posix_unittest.cc', |
'http/http_auth_gssapi_posix_unittest.cc', |
], |
- # This is needed to trigger the dll copy step on windows. |
- # TODO(mark): Specifying this here shouldn't be necessary. |
'dependencies': [ |
- '../third_party/icu/icu.gyp:icudata', |
'../third_party/nss/nss.gyp:nspr', |
'../third_party/nss/nss.gyp:nss', |
'third_party/nss/ssl.gyp:libssl', |
], |
+ 'conditions': [ |
+ [ 'icu_use_data_file_flag == 0', { |
+ # This is needed to trigger the dll copy step on windows. |
+ # TODO(mark): Specifying this here shouldn't be necessary. |
+ 'dependencies': [ |
+ '../third_party/icu/icu.gyp:icudata', |
+ ], |
+ }], |
+ ], |
# TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
'msvs_disabled_warnings': [4267, ], |
}, |
@@ -2341,16 +2347,19 @@ |
], |
}, |
], |
- # This is needed to trigger the dll copy step on windows. |
- # TODO(mark): Specifying this here shouldn't be necessary. |
[ 'OS == "win"', { |
- 'dependencies': [ |
- '../third_party/icu/icu.gyp:icudata', |
+ 'conditions': [ |
+ [ 'icu_use_data_file_flag == 0', { |
+ # This is needed to trigger the dll copy step on windows. |
+ # TODO(mark): Specifying this here shouldn't be necessary. |
+ 'dependencies': [ |
+ '../third_party/icu/icu.gyp:icudata', |
+ ], |
+ }], |
], |
# TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
'msvs_disabled_warnings': [4267, ], |
- }, |
- ], |
+ }], |
], |
}, |
{ |