summaryrefslogtreecommitdiff
path: root/js/src/moz.build
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-05-04 12:08:48 +0200
committerwolfbeast <mcwerewolf@gmail.com>2018-05-04 15:50:01 +0200
commit1ba29b619c3a5035a7245424b3b71bde5a547be5 (patch)
tree0dc3797117bfb9a02f7f1615c46eebc9b717b3b6 /js/src/moz.build
parent1aa5736d7d31eeb273c0093392b9cc235464fb6b (diff)
downloaduxp-1ba29b619c3a5035a7245424b3b71bde5a547be5.tar.gz
Issue mcp-graveyard/UXP#325 Part 5: Remove non-Intl legacy code paths from js.
Diffstat (limited to 'js/src/moz.build')
-rw-r--r--js/src/moz.build23
1 files changed, 11 insertions, 12 deletions
diff --git a/js/src/moz.build b/js/src/moz.build
index 2d4e83db37..a3283b5d68 100644
--- a/js/src/moz.build
+++ b/js/src/moz.build
@@ -645,18 +645,17 @@ else:
FORCE_STATIC_LIB = True
STATIC_LIBRARY_NAME = 'js_static'
-if CONFIG['ENABLE_INTL_API']:
- if not CONFIG['MOZ_ICU_DATA_ARCHIVE']:
- USE_LIBS += [
- 'icu',
- ]
- else:
- # Linking 'icu' will pull in the stubdata library,
- # which the shell doesn't want, so link the other bits.
- USE_LIBS += [
- 'icui18n',
- 'icuuc',
- ]
+if not CONFIG['MOZ_ICU_DATA_ARCHIVE']:
+ USE_LIBS += [
+ 'icu',
+ ]
+else:
+ # Linking 'icu' will pull in the stubdata library,
+ # which the shell doesn't want, so link the other bits.
+ USE_LIBS += [
+ 'icui18n',
+ 'icuuc',
+ ]
USE_LIBS += [
'nspr',