servo: Merge #11646 - servo: Add an Info.plist on the Mac and opt into integrated graphics (from pcwalton:real-info-plist); r=metajack

Discrete GPUs cause power use problems and tend to perform badly
with WebRender.

See:

* https://developer.apple.com/library/mac/qa/qa1734/_index.html

* https://reverse.put.as/2013/05/28/gimmedebugah-how-to-embedded-a-info-plist-into-arbitrary-binaries/

r? @metajack

Source-Repo: https://github.com/servo/servo
Source-Revision: e51ce5d1bac31afdadc9a4c86175fac00677b31a
This commit is contained in:
Patrick Walton
2016-06-08 15:33:38 -05:00
parent 40157a9fc0
commit 34c26b1536
7 changed files with 95 additions and 21 deletions

View File

@@ -41,6 +41,9 @@ ignored_files = [
os.path.join(".", "tests", "wpt", "metadata", "MANIFEST.json"),
os.path.join(".", "tests", "wpt", "metadata-css", "MANIFEST.json"),
os.path.join(".", "components", "script", "dom", "webidls", "ForceTouchEvent.webidl"),
# FIXME(pcwalton, #11679): This is a workaround for a tidy error on the quoted string
# `"__TEXT,_info_plist"` inside an attribute.
os.path.join(".", "components", "servo", "platform", "macos", "mod.rs"),
# Hidden files
os.path.join(".", "."),
]