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

Side by Side Diff: mojo/BUILD.gn

Issue 659733003: Revert "Remove 'mojo_' prefix from all mojo applications." (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 6 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
« no previous file with comments | « DEPS ('k') | mojo/apps/js/BUILD.gn » ('j') | 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/ui.gni") 5 import("//build/config/ui.gni")
6 import("//mojo/public/mojo.gni")
6 7
7 group("mojo") { 8 group("mojo") {
8 # Meta-target, don't link into production code. 9 # Meta-target, don't link into production code.
9 testonly = true 10 testonly = true
10 declare_args() { 11 declare_args() {
11 mojo_use_go = false 12 mojo_use_go = false
12 } 13 }
13 deps = [ 14 deps = [
14 ":tests", 15 ":tests",
15 "//mojo/common", 16 "//mojo/common",
16 "//mojo/examples", 17 "//mojo/examples",
17 "//mojo/public", 18 "//mojo/public",
18 "//mojo/services", 19 "//mojo/services",
19 "//mojo/shell:mojo_shell",
20 "//mojo/tools/package_manager", 20 "//mojo/tools/package_manager",
21 ] 21 ]
22 22
23 if (use_prebuilt_mojo_shell) {
24 deps += [ "//mojo/public/tools:copy_mojo_shell" ]
25 } else {
26 deps += [ "//mojo/shell:mojo_shell" ]
27 }
28
23 if (is_android) { 29 if (is_android) {
24 deps += [ 30 deps += [
25 "//mojo/android", 31 "//mojo/android",
26 ] 32 ]
27 } 33 }
28 34
29 if (is_linux) { 35 if (is_linux) {
30 deps += [ 36 deps += [
31 "//mojo/python", 37 "//mojo/python",
32 ] 38 ]
(...skipping 12 matching lines...) Expand all
45 "//mojo/common:mojo_common_unittests", 51 "//mojo/common:mojo_common_unittests",
46 "//mojo/converters/surfaces/tests:mojo_surfaces_lib_unittests", 52 "//mojo/converters/surfaces/tests:mojo_surfaces_lib_unittests",
47 "//mojo/edk/system:mojo_message_pipe_perftests", 53 "//mojo/edk/system:mojo_message_pipe_perftests",
48 "//mojo/edk/system:mojo_system_unittests", 54 "//mojo/edk/system:mojo_system_unittests",
49 "//mojo/public/c/system/tests:perftests", 55 "//mojo/public/c/system/tests:perftests",
50 "//mojo/public/cpp/application/tests:mojo_public_application_unittests", 56 "//mojo/public/cpp/application/tests:mojo_public_application_unittests",
51 "//mojo/public/cpp/bindings/tests:mojo_public_bindings_unittests", 57 "//mojo/public/cpp/bindings/tests:mojo_public_bindings_unittests",
52 "//mojo/public/cpp/environment/tests:mojo_public_environment_unittests", 58 "//mojo/public/cpp/environment/tests:mojo_public_environment_unittests",
53 "//mojo/public/cpp/system/tests:mojo_public_system_unittests", 59 "//mojo/public/cpp/system/tests:mojo_public_system_unittests",
54 "//mojo/public/cpp/utility/tests:mojo_public_utility_unittests", 60 "//mojo/public/cpp/utility/tests:mojo_public_utility_unittests",
55 "//mojo/services/clipboard:clipboard_unittests", 61 "//mojo/services/clipboard:mojo_clipboard_unittests",
56 "//mojo/services/network:unittests", 62 "//mojo/services/network:unittests",
57 "//mojo/shell:mojo_external_application_tests", 63 "//mojo/shell:mojo_external_application_tests",
58 "//mojo/shell:mojo_shell_tests", 64 "//mojo/shell:mojo_shell_tests",
59 "//mojo/tools:message_generator", 65 "//mojo/tools:message_generator",
60 ] 66 ]
61 67
62 if (use_aura) { 68 if (use_aura) {
63 deps += [ 69 deps += [
64 "//mojo/services/public/cpp/view_manager/tests:mojo_view_manager_lib_unitt ests", 70 "//mojo/services/public/cpp/view_manager/tests:mojo_view_manager_lib_unitt ests",
65 "//mojo/services/view_manager:view_manager_unittests", 71 "//mojo/services/view_manager:mojo_view_manager_unittests",
66 "//mojo/services/window_manager:window_manager_unittests", 72 "//mojo/services/window_manager:mojo_window_manager_unittests",
67 ] 73 ]
68 } 74 }
69 } 75 }
70 76
71 if (is_android) { 77 if (is_android) {
72 import("//build/config/android/rules.gni") 78 import("//build/config/android/rules.gni")
73 79
74 generate_jni("jni_headers") { 80 generate_jni("jni_headers") {
75 sources = [ 81 sources = [
76 "android/javatests/src/org/chromium/mojo/MojoTestCase.java", 82 "android/javatests/src/org/chromium/mojo/MojoTestCase.java",
77 "android/javatests/src/org/chromium/mojo/bindings/ValidationTestUtil.java" , 83 "android/javatests/src/org/chromium/mojo/bindings/ValidationTestUtil.java" ,
78 "android/system/src/org/chromium/mojo/system/impl/CoreImpl.java", 84 "android/system/src/org/chromium/mojo/system/impl/CoreImpl.java",
79 "services/native_viewport/android/src/org/chromium/mojo/PlatformViewportAn droid.java", 85 "services/native_viewport/android/src/org/chromium/mojo/PlatformViewportAn droid.java",
80 ] 86 ]
81 87
82 jni_package = "mojo" 88 jni_package = "mojo"
83 } 89 }
84 } 90 }
OLDNEW
« no previous file with comments | « DEPS ('k') | mojo/apps/js/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698