forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Mojo: use OS whitelists to specify OS-specific typemaps.
Per-OS typemaps are specified by listing them separately, requiring non-trivial busywork to add an OS-specific typemap, especially for the first typemap restricted to a particular OS. Add a new typemap field os_whitelist. If specified in a typemap, only apply that typemap when targeting an OS included in the whitelist. For example, os_whitelist = [ "android", "win" ] would enable the typemap only if is_android or is_win is true. Change-Id: I54c32cb131e67b083a4245d171c6d927f6d9df24 Tbr: jam@chromium.org, dcheng@chromium.org Reviewed-on: https://chromium-review.googlesource.com/784371 Commit-Queue: Sam McNally <sammc@chromium.org> Reviewed-by: Ken Rockot <rockot@chromium.org> Cr-Commit-Position: refs/heads/master@{#518859}
- Loading branch information
Showing
5 changed files
with
26 additions
and
74 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters