Index: net/net.gyp |
diff --git a/net/net.gyp b/net/net.gyp |
index bb383a8ab11515a9587757f43231be6cb48bf482..bdd8977974fd16fb13a88f7abacd4162df371294 100644 |
--- a/net/net.gyp |
+++ b/net/net.gyp |
@@ -2191,14 +2191,21 @@ |
'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, ], |
}, |
@@ -2297,9 +2304,9 @@ |
], |
}, |
], |
- # This is needed to trigger the dll copy step on windows. |
- # TODO(mark): Specifying this here shouldn't be necessary. |
- [ 'OS == "win"', { |
+ [ 'OS == "win" and 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', |
], |