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

Side by Side Diff: components/mus/BUILD.gn

Issue 1850623004: Create .mojo applications in a common subdir under out/Debug (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 8 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 | « no previous file | components/resource_provider/file_utils.cc » ('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 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 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("//testing/test.gni") 6 import("//testing/test.gni")
7 import("//mojo/public/mojo_application.gni") 7 import("//mojo/public/mojo_application.gni")
8 import("//mojo/public/mojo_application_manifest.gni") 8 import("//mojo/public/mojo_application_manifest.gni")
9 import("//mojo/public/mojo_constants.gni")
9 import("//tools/grit/repack.gni") 10 import("//tools/grit/repack.gni")
10 11
11 if (is_android) { 12 if (is_android) {
12 import("//build/config/android/config.gni") 13 import("//build/config/android/config.gni")
13 import("//build/config/android/rules.gni") 14 import("//build/config/android/rules.gni")
14 15
15 source_set("mus") { 16 source_set("mus") {
16 sources = [ 17 sources = [
17 "android_loader.cc", 18 "android_loader.cc",
18 "android_loader.h", 19 "android_loader.h",
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 "//third_party/angle:libEGL", 61 "//third_party/angle:libEGL",
61 "//third_party/angle:libGLESv2", 62 "//third_party/angle:libGLESv2",
62 ] 63 ]
63 64
64 sources = [ 65 sources = [
65 "$root_shlib_dir/libEGL.dll", 66 "$root_shlib_dir/libEGL.dll",
66 "$root_shlib_dir/libGLESv2.dll", 67 "$root_shlib_dir/libGLESv2.dll",
67 ] 68 ]
68 69
69 outputs = [ 70 outputs = [
70 "$root_out_dir/mus/{{source_file_part}}", 71 "$root_out_dir/$mojo_application_subdir/mus/{{source_file_part}}",
71 ] 72 ]
72 } 73 }
73 } 74 }
74 75
75 source_set("lib") { 76 source_set("lib") {
76 sources = [ 77 sources = [
77 "mus_app.cc", 78 "mus_app.cc",
78 "mus_app.h", 79 "mus_app.h",
79 ] 80 ]
80 81
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 114
114 if (use_ozone) { 115 if (use_ozone) {
115 deps += [ "//ui/ozone:ozone" ] 116 deps += [ "//ui/ozone:ozone" ]
116 } 117 }
117 } 118 }
118 119
119 repack("resources_strings") { 120 repack("resources_strings") {
120 sources = [ 121 sources = [
121 "$root_gen_dir/ui/strings/app_locale_settings_en-US.pak", 122 "$root_gen_dir/ui/strings/app_locale_settings_en-US.pak",
122 ] 123 ]
123 output = "$root_out_dir/mus/resources/mus_app_resources_strings.pak" 124 output = "$root_out_dir/$mojo_application_subdir/mus/resources/mus_app_resourc es_strings.pak"
124 deps = [ 125 deps = [
125 "//ui/strings", 126 "//ui/strings",
126 ] 127 ]
127 } 128 }
128 129
129 repack("resources_100") { 130 repack("resources_100") {
130 sources = [ 131 sources = [
131 "$root_gen_dir/ui/resources/ui_resources_100_percent.pak", 132 "$root_gen_dir/ui/resources/ui_resources_100_percent.pak",
132 ] 133 ]
133 output = "$root_out_dir/mus/resources/mus_app_resources_100.pak" 134 output = "$root_out_dir/$mojo_application_subdir/mus/resources/mus_app_resourc es_100.pak"
134 deps = [ 135 deps = [
135 "//ui/resources", 136 "//ui/resources",
136 ] 137 ]
137 } 138 }
138 139
139 repack("resources_200") { 140 repack("resources_200") {
140 sources = [ 141 sources = [
141 "$root_gen_dir/ui/resources/ui_resources_200_percent.pak", 142 "$root_gen_dir/ui/resources/ui_resources_200_percent.pak",
142 ] 143 ]
143 output = "$root_out_dir/mus/resources/mus_app_resources_200.pak" 144 output = "$root_out_dir/$mojo_application_subdir/mus/resources/mus_app_resourc es_200.pak"
144 deps = [ 145 deps = [
145 "//ui/resources", 146 "//ui/resources",
146 ] 147 ]
147 } 148 }
OLDNEW
« no previous file with comments | « no previous file | components/resource_provider/file_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698