| Index: mojo/shell/BUILD.gn
|
| diff --git a/mojo/shell/BUILD.gn b/mojo/shell/BUILD.gn
|
| index f685f1c7d0c60e57047f3ae1704566fc7e7313d3..9cd9a9b93023013419cb4c45abc34d637cac23b9 100644
|
| --- a/mojo/shell/BUILD.gn
|
| +++ b/mojo/shell/BUILD.gn
|
| @@ -64,6 +64,14 @@ source_set("in_process_dynamic_service_runner") {
|
| "//mojo/gles2",
|
| "//mojo/public/cpp/system",
|
| ]
|
| +
|
| + # This target has to include the public thunk headers, which generally
|
| + # shouldn't be included without picking an implementation. We are providing
|
| + # the implementation but the thunk header target cannot declare that we are
|
| + # permitted to include it since it's in the public SDK and we are not.
|
| + # Suppress include checking so we can still check the rest of the targets in
|
| + # this file.
|
| + check_includes = false
|
| }
|
|
|
| source_set("lib") {
|
| @@ -141,6 +149,14 @@ source_set("lib") {
|
| "//mojo/services/network:lib",
|
| ]
|
| }
|
| +
|
| + # This target includes some files behind #ifdef OS... guards. Since gn is not
|
| + # smart enough to understand preprocess includes, it does complains about
|
| + # these includes when not using the build files for that OS. Suppress checking
|
| + # so we can enable checking for the rest of the targets in this file.
|
| + # TODO: Might be better to split the files with OS-specific includes out to a
|
| + # separate source_set so we can leave checking on for the rest of the target.
|
| + check_includes = false
|
| }
|
|
|
| if (is_android) {
|
|
|