Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(60)

Side by Side Diff: shell/BUILD.gn

Issue 1422623002: Build fixes for fnl/musl (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: fix android build Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//build/config/ui.gni") 5 import("//build/config/ui.gni")
6 import("//mojo/public/mojo.gni") 6 import("//mojo/public/mojo.gni")
7 import("//mojo/public/mojo_application.gni") 7 import("//mojo/public/mojo_application.gni")
8 import("//mojo/public/tools/bindings/mojom.gni") 8 import("//mojo/public/tools/bindings/mojom.gni")
9 import("//mojo/tools/embed/rules.gni") 9 import("//mojo/tools/embed/rules.gni")
10 import("//testing/test.gni") 10 import("//testing/test.gni")
(...skipping 21 matching lines...) Expand all
32 32
33 group("tests") { 33 group("tests") {
34 testonly = true 34 testonly = true
35 deps = [ 35 deps = [
36 ":apptests", 36 ":apptests",
37 ":mojo_shell_tests", 37 ":mojo_shell_tests",
38 ":shell_nfc_apptests", 38 ":shell_nfc_apptests",
39 "//shell/application_manager:mojo_application_manager_unittests", 39 "//shell/application_manager:mojo_application_manager_unittests",
40 ] 40 ]
41 41
42 if (is_android || is_linux) { 42 # TODO(cstout): fix breakpad build for fnl/musl
43 # https://code.google.com/p/google-breakpad/issues/detail?id=631
44 if ((is_android || is_linux) && !is_fnl) {
43 deps += [ "//shell/crash:crash_unittests" ] 45 deps += [ "//shell/crash:crash_unittests" ]
44 } 46 }
45 } 47 }
46 48
47 if (is_android) { 49 if (is_android) {
48 import("//build/config/android/config.gni") 50 import("//build/config/android/config.gni")
49 import("//build/config/android/rules.gni") 51 import("//build/config/android/rules.gni")
50 } 52 }
51 53
52 if (!mojo_use_prebuilt_mojo_shell) { 54 if (!mojo_use_prebuilt_mojo_shell) {
53 shell_common_deps = [ 55 shell_common_deps = [
54 ":parent_lib", 56 ":parent_lib",
55 "//base", 57 "//base",
56 "//base/allocator", 58 "//base/allocator",
57 "//build/config/sanitizers:deps", 59 "//build/config/sanitizers:deps",
58 "//mojo/environment:chromium", 60 "//mojo/environment:chromium",
59 "//mojo/message_pump", 61 "//mojo/message_pump",
60 ] 62 ]
61 shell_common_data_deps = [ ":mojo_shell_child" ] 63 shell_common_data_deps = [ ":mojo_shell_child" ]
62 64
63 if (is_android || is_linux) { 65 # TODO(cstout): fix breakpad build for fnl/musl
66 # (see comment above)
67 if ((is_android || is_linux) && !is_fnl) {
64 shell_common_deps += [ "//shell/crash" ] 68 shell_common_deps += [ "//shell/crash" ]
65 } 69 }
66 70
67 if (is_android) { 71 if (is_android) {
68 shared_library("mojo_shell") { 72 shared_library("mojo_shell") {
69 sources = [ 73 sources = [
70 "android/library_loader.cc", 74 "android/library_loader.cc",
71 "android/main.cc", 75 "android/main.cc",
72 "android/main.h", 76 "android/main.h",
73 ] 77 ]
(...skipping 615 matching lines...) Expand 10 before | Expand all | Expand 10 after
689 "${root_out_dir}/libmojo_shell.so", 693 "${root_out_dir}/libmojo_shell.so",
690 ] 694 ]
691 } else { 695 } else {
692 sources += [ "${root_out_dir}/mojo_shell" ] 696 sources += [ "${root_out_dir}/mojo_shell" ]
693 } 697 }
694 698
695 outputs = [ 699 outputs = [
696 "${root_out_dir}/symbols/{{source_file_part}}", 700 "${root_out_dir}/symbols/{{source_file_part}}",
697 ] 701 ]
698 } 702 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698