| OLD | NEW |
| 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") | |
| 6 import("//mojo/public/mojo_application.gni") | 5 import("//mojo/public/mojo_application.gni") |
| 7 import("//testing/test.gni") | 6 import("//testing/test.gni") |
| 8 | 7 |
| 9 if (is_android) { | 8 if (is_android) { |
| 10 import("//build/config/android/rules.gni") | 9 import("//build/config/android/rules.gni") |
| 11 | 10 |
| 12 java_library_path = "$target_out_dir/java_library.dex.jar" | 11 java_library_path = "$target_out_dir/java_library.dex.jar" |
| 13 | 12 |
| 14 mojo_android_application("resource_provider") { | 13 mojo_android_application("resource_provider") { |
| 15 input_so = "$root_out_dir/lib.stripped/libresource_provider_lib.so" | 14 input_so = "$root_out_dir/lib.stripped/libresource_provider_lib.so" |
| (...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 106 "//base", | 105 "//base", |
| 107 "//base/test:test_config", | 106 "//base/test:test_config", |
| 108 "//components/resource_provider/public/interfaces", | 107 "//components/resource_provider/public/interfaces", |
| 109 "//mojo/environment:chromium", | 108 "//mojo/environment:chromium", |
| 110 "//testing/gtest", | 109 "//testing/gtest", |
| 111 "//third_party/mojo/src/mojo/edk/test:run_all_unittests", | 110 "//third_party/mojo/src/mojo/edk/test:run_all_unittests", |
| 112 "//url", | 111 "//url", |
| 113 ] | 112 ] |
| 114 } | 113 } |
| 115 | 114 |
| 116 mojo_application_package("apptests") { | 115 mojo_native_application("apptests") { |
| 117 output_name = "resource_provider_apptests" | 116 output_name = "resource_provider_apptests" |
| 118 testonly = true | 117 testonly = true |
| 119 | 118 |
| 120 sources = [ | 119 sources = [ |
| 121 "resource_provider_apptest.cc", | 120 "resource_provider_apptest.cc", |
| 122 ] | 121 ] |
| 123 | 122 |
| 124 resources = [ | 123 resources = [ |
| 125 "//components/test/data/resource_provider/sample", | 124 "//components/test/data/resource_provider/sample", |
| 126 "//components/test/data/resource_provider/dir", | 125 "//components/test/data/resource_provider/dir", |
| 127 ] | 126 ] |
| 128 | 127 |
| 129 deps = [ | 128 deps = [ |
| 130 "//base", | 129 "//base", |
| 131 "//base/test:test_config", | 130 "//base/test:test_config", |
| 132 "//components/resource_provider/public/cpp", | 131 "//components/resource_provider/public/cpp", |
| 133 "//components/resource_provider/public/interfaces", | 132 "//components/resource_provider/public/interfaces", |
| 134 "//mojo/application/public/cpp:test_support", | 133 "//mojo/application/public/cpp:test_support", |
| 135 "//mojo/platform_handle", | 134 "//mojo/platform_handle", |
| 136 ] | 135 ] |
| 137 | 136 |
| 138 data_deps = [ ":resource_provider" ] | 137 data_deps = [ ":resource_provider" ] |
| 139 } | 138 } |
| OLD | NEW |