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

Side by Side Diff: examples/BUILD.gn

Issue 1536853002: Disable building a bunch of things that are about to break. (Closed) Base URL: git@github.com:domokit/mojo.git@moz
Patch Set: rebase Created 4 years, 10 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
« no previous file with comments | « apps/BUILD.gn ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/nacl/config.gni") 5 import("//build/config/nacl/config.gni")
6 import("//build/config/ui.gni") 6 import("//build/config/ui.gni")
7 7
8 # Collection of examples which are currently capable of being built as pexes. 8 # Collection of examples which are currently capable of being built as pexes.
9 # TODO(smklein): Make all examples build as pexes. 9 # TODO(smklein): Make all examples build as pexes.
10 group("portable_examples") { 10 group("portable_examples") {
11 testonly = true 11 testonly = true
12 12
13 deps = [ 13 deps = [
14 "//examples/apptest", 14 "//examples/apptest",
15 "//examples/audio_play_test", 15 "//examples/audio_play_test",
16 "//examples/content_handler_demo", 16 "//examples/content_handler_demo",
17 "//examples/dart", 17 "//examples/dart",
18 "//examples/echo", 18 "//examples/echo",
19 "//examples/echo_terminal", 19 "//examples/echo_terminal",
20 "//examples/embedded_app", 20 "//examples/embedded_app",
21 "//examples/forwarding_content_handler", 21 "//examples/forwarding_content_handler",
22 "//examples/ganesh_app", 22 "//examples/ganesh_app",
23 "//examples/http_handler", 23 "//examples/http_handler",
24 "//examples/indirect_service", 24 "//examples/indirect_service",
25 "//examples/moterm_example_app",
26 "//examples/native_run_app", 25 "//examples/native_run_app",
27 "//examples/notification_generator", 26 "//examples/notification_generator",
28 "//examples/recursive_content_handler", 27 "//examples/recursive_content_handler",
29 "//examples/serialization", 28 "//examples/serialization",
30 "//examples/spinning_cube", 29 "//examples/spinning_cube",
31 "//examples/tiny", 30 "//examples/tiny",
32 "//examples/trace_me", 31 "//examples/trace_me",
33 "//examples/wget", 32 "//examples/wget",
34 ] 33 ]
35 } 34 }
36 35
37 group("examples") { 36 group("examples") {
38 testonly = true 37 testonly = true
39 38
40 deps = [ 39 deps = [
41 ":portable_examples", 40 ":portable_examples",
42 ] 41 ]
43 42
44 # TODO(cstout) - javascript/v8 build support for fnl/musl
45 if (!is_android && !is_fnl) {
46 deps += [ "//examples/pdf_viewer" ]
47 }
48
49 if (is_android) { 43 if (is_android) {
50 deps += [ 44 deps += [
51 "//examples/device_name", 45 "//examples/device_name",
46 "//examples/java_android/echo",
52 "//examples/java_android/example_service", 47 "//examples/java_android/example_service",
53 "//examples/java_android/echo",
54 ] 48 ]
55 } 49 }
56 50
57 if (is_linux || is_android) {
58 deps += [
59 "//examples/ui/spinning_cube",
60 "//examples/ui/tile",
61 "//examples/surfaces_app",
62 ]
63 }
64
65 if (defined(go_build_tool) && go_build_tool != "") { 51 if (defined(go_build_tool) && go_build_tool != "") {
66 deps += [ "//examples/go" ] 52 deps += [ "//examples/go" ]
67 if (is_android) { 53 if (is_android) {
68 deps += [ "//examples/bank_app" ] 54 deps += [ "//examples/bank_app" ]
69 } 55 }
70 } 56 }
71 57
72 if (is_linux && !is_fnl) { 58 if (is_linux && !is_fnl) {
73 deps += [ "//examples/python" ] 59 deps += [ "//examples/python" ]
74 } 60 }
75 61
76 if (mojo_use_nacl && (is_linux || is_android) && !is_asan) { 62 if (mojo_use_nacl && (is_linux || is_android) && !is_asan) {
77 deps += [ ":portable_examples(//build/toolchain/nacl:newlib_pnacl)" ] 63 deps += [ ":portable_examples(//build/toolchain/nacl:newlib_pnacl)" ]
78 } 64 }
79 } 65 }
OLDNEW
« no previous file with comments | « apps/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698