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

Unified Diff: components/html_viewer/BUILD.gn

Issue 1109993002: Adds support for mojo apps to live in their own directory (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rename Created 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | mojo/mojo_application_package.gni » ('j') | mojo/mojo_application_package.gni » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/html_viewer/BUILD.gn
diff --git a/components/html_viewer/BUILD.gn b/components/html_viewer/BUILD.gn
index f79713e9106e9eb9ddeba26f7dd176ef72bd2e46..8bd1aa1f8ffe9bee1564684432da7ab35b722e81 100644
--- a/components/html_viewer/BUILD.gn
+++ b/components/html_viewer/BUILD.gn
@@ -2,6 +2,7 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
+import("//mojo/mojo_application_package.gni")
import("//testing/test.gni")
import("//third_party/mojo/src/mojo/public/mojo.gni")
import("//third_party/mojo/src/mojo/public/mojo_application.gni")
@@ -201,13 +202,15 @@ if (is_android) {
]
}
} else {
- mojo_native_application("html_viewer") {
+ mojo_application_package("html_viewer") {
sources = [
"html_viewer.cc",
]
deps = [
":lib",
+ "//ui/resources:ui_test_pak",
]
+ resources = [ "$root_out_dir/ui_test.pak" ]
data_deps = [ "//mojo/services/network:network" ]
}
}
« no previous file with comments | « no previous file | mojo/mojo_application_package.gni » ('j') | mojo/mojo_application_package.gni » ('J')

Powered by Google App Engine
This is Rietveld 408576698