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

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

Issue 1180653002: Build Mojo apps in subdirectories, like application packages. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Sync and rebase; update tests. Created 5 years, 6 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/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/module_args/v8.gni") 5 import("//build/module_args/v8.gni")
6 import("//mojo/mojo_application_package.gni")
7 import("//mojo/public/mojo_application.gni") 6 import("//mojo/public/mojo_application.gni")
8 import("//testing/test.gni") 7 import("//testing/test.gni")
9 import("//tools/grit/grit_rule.gni") 8 import("//tools/grit/grit_rule.gni")
10 import("//tools/grit/repack.gni") 9 import("//tools/grit/repack.gni")
11 10
12 # Repack this here. 11 # Repack this here.
13 repack("unified_blink_resources") { 12 repack("unified_blink_resources") {
14 sources = [ 13 sources = [
15 "$root_gen_dir/blink/public/resources/blink_image_resources_100_percent.pak" , 14 "$root_gen_dir/blink/public/resources/blink_image_resources_100_percent.pak" ,
16 "$root_gen_dir/blink/public/resources/blink_resources.pak", 15 "$root_gen_dir/blink/public/resources/blink_resources.pak",
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 if (is_win) { 160 if (is_win) {
162 sources += [ "html_viewer_version.rc" ] 161 sources += [ "html_viewer_version.rc" ]
163 } 162 }
164 163
165 data_deps = [ 164 data_deps = [
166 "//components/clipboard", 165 "//components/clipboard",
167 "//components/view_manager", 166 "//components/view_manager",
168 ] 167 ]
169 } 168 }
170 169
171 mojo_application_package("html_viewer") { 170 mojo_native_application("html_viewer") {
172 sources = [ 171 sources = [
173 "html_viewer.cc", 172 "html_viewer.cc",
174 "ui_setup.h", 173 "ui_setup.h",
175 "ui_setup_android.cc", 174 "ui_setup_android.cc",
176 "ui_setup_android.h", 175 "ui_setup_android.h",
177 ] 176 ]
178 deps = [ 177 deps = [
179 ":html_viewer_resources_grit", 178 ":html_viewer_resources_grit",
180 ":lib", 179 ":lib",
181 "//mojo/common", 180 "//mojo/common",
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
226 "//base", 225 "//base",
227 "//mojo/application/public/cpp:test_support", 226 "//mojo/application/public/cpp:test_support",
228 "//net:test_support", 227 "//net:test_support",
229 "//testing/gtest", 228 "//testing/gtest",
230 "//third_party/mojo_services/src/accessibility/public/interfaces", 229 "//third_party/mojo_services/src/accessibility/public/interfaces",
231 "//third_party/mojo/src/mojo/public/c/system:for_shared_library", 230 "//third_party/mojo/src/mojo/public/c/system:for_shared_library",
232 ] 231 ]
233 232
234 data_deps = [ ":html_viewer" ] 233 data_deps = [ ":html_viewer" ]
235 } 234 }
OLDNEW
« no previous file with comments | « no previous file | components/resource_provider/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698