Commit 2655a4ec authored by meacer's avatar meacer Committed by Commit Bot

Exclude unused strings and files from iOS build

Change-Id: Icdc8ce22ae2ae017a11e8ccf2de64feedac456b7
Bug: 1014711
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1953231Reviewed-by: default avatarEmily Stark <estark@chromium.org>
Commit-Queue: Mustafa Emre Acer <meacer@chromium.org>
Cr-Commit-Position: refs/heads/master@{#722513}
parent f05067ab
......@@ -34,6 +34,8 @@ static_library("core") {
if (is_ios) {
sources -= [
"blocked_interception_ui.cc",
"blocked_interception_ui.h",
"mitm_software_ui.cc",
"mitm_software_ui.h",
]
......
......@@ -64,10 +64,6 @@
Applications that can cause this error include antivirus, firewall, and web-filtering or proxy software.
</message>
<message name="IDS_BLOCKED_INTERCEPTION_HEADING" desc="Large heading of the known interception interstitial.">
Your activity on <ph name="HOSTNAME">$1<ex>example.com</ex></ph> is being monitored
</message>
<!-- Lookalike URL warning -->
<message name="IDS_LOOKALIKE_URL_TITLE" desc="Tab title. Context: the requested URL might be trying to trick the user since it looks like a more popular URL. This interstitial points the user to the safe site instead.">
Safety warning
......@@ -469,37 +465,44 @@
<ph name='LOOKALIKE_DOMAIN'>$1<ex>fake-google.com</ex></ph> looks similar to <ph name='SUGGESTED_DOMAIN'>$2<ex>google.com</ex></ph>. Attackers sometimes mimic sites by using similar URLs.
</message>
<!-- Known interception disclosure WebUI strings -->
<!-- Title of the tab -->
<message name="IDS_KNOWN_INTERCEPTION_TITLE" desc="Title of network interception disclosure page.">
Monitoring Detected
</message>
<if expr="not is_ios">
<!-- Blocked interception interstitial strings -->
<message name="IDS_BLOCKED_INTERCEPTION_HEADING" desc="Large heading of the known interception interstitial.">
Your activity on <ph name="HOSTNAME">$1<ex>example.com</ex></ph> is being monitored
</message>
<!-- Main message title -->
<message name="IDS_KNOWN_INTERCEPTION_HEADER" desc="Title of chrome://connection-monitoring-detected/ page, shows when Chrome has detected known network monitoring activity">
Your activity on the web is being monitored
</message>
<!-- Known interception disclosure WebUI strings -->
<!-- Title of the tab -->
<message name="IDS_KNOWN_INTERCEPTION_TITLE" desc="Title of network interception disclosure page.">
Monitoring Detected
</message>
<message name="IDS_KNOWN_INTERCEPTION_BODY1" desc="First body text for the chrome://connection-monitoring-detected/ page">
Anything you type, any pages you view, or any other activity on the web is being watched. Content on sites may be changed without your knowledge.
</message>
<!-- Main message title -->
<message name="IDS_KNOWN_INTERCEPTION_HEADER" desc="Title of chrome://connection-monitoring-detected/ page, shows when Chrome has detected known network monitoring activity">
Your activity on the web is being monitored
</message>
<if expr="_google_chrome">
<message name="IDS_KNOWN_INTERCEPTION_BODY2" desc="Second body text for the chrome://connection-monitoring-detected/ page with more details">
This problem happens because of a certificate you or someone else installed on your device. The certificate is known to be used to monitor and intercept networks, and is not trusted by Chrome. While some legitimate cases for monitoring do exist, like on a school or company network, Chrome wants to make sure you're aware it's happening, even if you can't stop it. Monitoring may happen in any browser or application that accesses the web.
<message name="IDS_KNOWN_INTERCEPTION_BODY1" desc="First body text for the chrome://connection-monitoring-detected/ page">
Anything you type, any pages you view, or any other activity on the web is being watched. Content on sites may be changed without your knowledge.
</message>
</if>
<if expr="not _google_chrome">
<message name="IDS_KNOWN_INTERCEPTION_BODY2" desc="Second body text for the chrome://connection-monitoring-detected/ page with more details">
This problem happens because of a certificate you or someone else installed on your device. The certificate is known to be used to monitor and intercept networks, and is not trusted by Chromium. While some legitimate cases for monitoring do exist, like on a school or company network, Chromium wants to make sure you're aware it's happening, even if you can't stop it. Monitoring may happen in any browser or application that accesses the web.
<if expr="_google_chrome">
<message name="IDS_KNOWN_INTERCEPTION_BODY2" desc="Second body text for the chrome://connection-monitoring-detected/ page with more details">
This problem happens because of a certificate you or someone else installed on your device. The certificate is known to be used to monitor and intercept networks, and is not trusted by Chrome. While some legitimate cases for monitoring do exist, like on a school or company network, Chrome wants to make sure you're aware it's happening, even if you can't stop it. Monitoring may happen in any browser or application that accesses the web.
</message>
</if>
<if expr="not _google_chrome">
<message name="IDS_KNOWN_INTERCEPTION_BODY2" desc="Second body text for the chrome://connection-monitoring-detected/ page with more details">
This problem happens because of a certificate you or someone else installed on your device. The certificate is known to be used to monitor and intercept networks, and is not trusted by Chromium. While some legitimate cases for monitoring do exist, like on a school or company network, Chromium wants to make sure you're aware it's happening, even if you can't stop it. Monitoring may happen in any browser or application that accesses the web.
</message>
</if>
<!-- Known interception disclosure infobar strings -->
<message name="IDS_KNOWN_INTERCEPTION_INFOBAR_HEADING" desc="Text of the heading used to alert the user that Chrome has detected that their network connnection is being intercepted.">
Your activity on the web is being monitored
</message>
<message name="IDS_KNOWN_INTERCEPTION_INFOBAR_BUTTON_TEXT" desc="Text of the button to close the disclosure infobar and continue using Chrome.">
OK
</message>
</if>
<!-- Known interception disclosure infobar strings -->
<message name="IDS_KNOWN_INTERCEPTION_INFOBAR_HEADING" desc="Text of the heading used to alert the user that Chrome has detected that their network connnection is being intercepted.">
Your activity on the web is being monitored
</message>
<message name="IDS_KNOWN_INTERCEPTION_INFOBAR_BUTTON_TEXT" desc="Text of the button to close the disclosure infobar and continue using Chrome.">
OK
</message>
</grit-part>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment