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

Side by Side Diff: examples/BUILD.gn

Issue 1535813002: Revert "Disable building a bunch of things that are about to break." (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years 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",
25 "//examples/native_run_app", 26 "//examples/native_run_app",
26 "//examples/notification_generator", 27 "//examples/notification_generator",
27 "//examples/recursive_content_handler", 28 "//examples/recursive_content_handler",
28 "//examples/serialization", 29 "//examples/serialization",
29 "//examples/spinning_cube", 30 "//examples/spinning_cube",
30 "//examples/tiny", 31 "//examples/tiny",
31 "//examples/trace_me", 32 "//examples/trace_me",
32 "//examples/wget", 33 "//examples/wget",
33 ] 34 ]
34 } 35 }
35 36
36 group("examples") { 37 group("examples") {
37 testonly = true 38 testonly = true
38 39
39 deps = [ 40 deps = [
40 ":portable_examples", 41 ":portable_examples",
41 ] 42 ]
42 43
44 # TODO(cstout) - javascript/v8 build support for fnl/musl
45 if (!is_android && !is_fnl) {
46 deps += [ "//examples/pdf_viewer" ]
47 }
48
43 if (is_android) { 49 if (is_android) {
44 deps += [ 50 deps += [
45 "//examples/device_name", 51 "//examples/device_name",
46 "//examples/java_android/example_service", 52 "//examples/java_android/example_service",
47 "//examples/java_android/echo", 53 "//examples/java_android/echo",
48 ] 54 ]
49 } 55 }
50 56
57 if (is_linux || is_android) {
58 deps += [
59 "//examples/ui/spinning_cube",
60 "//examples/ui/tile",
61 "//examples/surfaces_app",
62 ]
63 }
64
51 if (defined(go_build_tool) && go_build_tool != "") { 65 if (defined(go_build_tool) && go_build_tool != "") {
52 deps += [ "//examples/go" ] 66 deps += [ "//examples/go" ]
53 if (is_android) { 67 if (is_android) {
54 deps += [ "//examples/bank_app" ] 68 deps += [ "//examples/bank_app" ]
55 } 69 }
56 } 70 }
57 71
58 if (is_linux && !is_fnl) { 72 if (is_linux && !is_fnl) {
59 deps += [ "//examples/python" ] 73 deps += [ "//examples/python" ]
60 } 74 }
61 75
62 if (mojo_use_nacl && (is_linux || is_android) && !is_asan) { 76 if (mojo_use_nacl && (is_linux || is_android) && !is_asan) {
63 deps += [ ":portable_examples(//build/toolchain/nacl:newlib_pnacl)" ] 77 deps += [ ":portable_examples(//build/toolchain/nacl:newlib_pnacl)" ]
64 } 78 }
65 } 79 }
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