| Index: shell/BUILD.gn
|
| diff --git a/shell/BUILD.gn b/shell/BUILD.gn
|
| index e83e9e4bc4ecc0a1cf37ce3e982fb73ce9d92222..a9f81b1445943088b3f68727c09d40e94da94833 100644
|
| --- a/shell/BUILD.gn
|
| +++ b/shell/BUILD.gn
|
| @@ -49,9 +49,7 @@ if (is_android) {
|
|
|
| if (!mojo_use_prebuilt_mojo_shell) {
|
| executable("mojo_shell") {
|
| - sources = [
|
| - "desktop/main.cc",
|
| - ]
|
| + sources = []
|
|
|
| deps = [
|
| ":init",
|
| @@ -62,7 +60,9 @@ if (!mojo_use_prebuilt_mojo_shell) {
|
| "//mojo/environment:chromium",
|
| ]
|
|
|
| - if (is_android) {
|
| + if (!is_android) {
|
| + sources += [ "desktop/main.cc" ]
|
| + } else {
|
| sources += [
|
| "android/library_loader.cc",
|
| "android/main.cc",
|
|
|