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

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

Issue 1186683008: Revert of Build Mojo apps in subdirectories, like application packages. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 | « components/html_viewer/BUILD.gn ('k') | mandoline/app/android/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 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("//mojo/mojo_application_package.gni")
5 import("//mojo/public/mojo_application.gni") 6 import("//mojo/public/mojo_application.gni")
6 import("//testing/test.gni") 7 import("//testing/test.gni")
7 8
8 if (is_android) { 9 if (is_android) {
9 import("//build/config/android/rules.gni") 10 import("//build/config/android/rules.gni")
10 11
11 java_library_path = "$target_out_dir/java_library.dex.jar" 12 java_library_path = "$target_out_dir/java_library.dex.jar"
12 13
13 mojo_android_application("resource_provider") { 14 mojo_android_application("resource_provider") {
14 input_so = "$root_out_dir/lib.stripped/libresource_provider_lib.so" 15 input_so = "$root_out_dir/lib.stripped/libresource_provider_lib.so"
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 "//base", 106 "//base",
106 "//base/test:test_config", 107 "//base/test:test_config",
107 "//components/resource_provider/public/interfaces", 108 "//components/resource_provider/public/interfaces",
108 "//mojo/environment:chromium", 109 "//mojo/environment:chromium",
109 "//testing/gtest", 110 "//testing/gtest",
110 "//third_party/mojo/src/mojo/edk/test:run_all_unittests", 111 "//third_party/mojo/src/mojo/edk/test:run_all_unittests",
111 "//url", 112 "//url",
112 ] 113 ]
113 } 114 }
114 115
115 mojo_native_application("apptests") { 116 mojo_application_package("apptests") {
116 output_name = "resource_provider_apptests" 117 output_name = "resource_provider_apptests"
117 testonly = true 118 testonly = true
118 119
119 sources = [ 120 sources = [
120 "resource_provider_apptest.cc", 121 "resource_provider_apptest.cc",
121 ] 122 ]
122 123
123 resources = [ 124 resources = [
124 "//components/test/data/resource_provider/sample", 125 "//components/test/data/resource_provider/sample",
125 "//components/test/data/resource_provider/dir", 126 "//components/test/data/resource_provider/dir",
126 ] 127 ]
127 128
128 deps = [ 129 deps = [
129 "//base", 130 "//base",
130 "//base/test:test_config", 131 "//base/test:test_config",
131 "//components/resource_provider/public/cpp", 132 "//components/resource_provider/public/cpp",
132 "//components/resource_provider/public/interfaces", 133 "//components/resource_provider/public/interfaces",
133 "//mojo/application/public/cpp:test_support", 134 "//mojo/application/public/cpp:test_support",
134 "//mojo/platform_handle", 135 "//mojo/platform_handle",
135 ] 136 ]
136 137
137 data_deps = [ ":resource_provider" ] 138 data_deps = [ ":resource_provider" ]
138 } 139 }
OLDNEW
« no previous file with comments | « components/html_viewer/BUILD.gn ('k') | mandoline/app/android/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698