| 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/public/mojo_application.gni") | 5 import("//mojo/public/mojo_application.gni") |
| 6 import("//testing/test.gni") | 6 import("//testing/test.gni") |
| 7 | 7 |
| 8 if (is_android) { | 8 if (is_android) { |
| 9 import("//build/config/android/rules.gni") | 9 import("//build/config/android/rules.gni") |
| 10 | 10 |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 107 "file_utils_unittest.cc", | 107 "file_utils_unittest.cc", |
| 108 ] | 108 ] |
| 109 | 109 |
| 110 deps = [ | 110 deps = [ |
| 111 ":lib", | 111 ":lib", |
| 112 "//base", | 112 "//base", |
| 113 "//base/test:test_config", | 113 "//base/test:test_config", |
| 114 "//components/resource_provider/public/interfaces", | 114 "//components/resource_provider/public/interfaces", |
| 115 "//mojo/environment:chromium", | 115 "//mojo/environment:chromium", |
| 116 "//testing/gtest", | 116 "//testing/gtest", |
| 117 "//third_party/mojo/src/mojo/edk/test:run_all_unittests", | |
| 118 "//url", | 117 "//url", |
| 119 ] | 118 ] |
| 119 |
| 120 if (use_chrome_edk) { |
| 121 deps += [ "//mojo/edk/test:run_all_unittests" ] |
| 122 } else { |
| 123 deps += [ "//third_party/mojo/src/mojo/edk/test:run_all_unittests" ] |
| 124 } |
| 120 } | 125 } |
| 121 | 126 |
| 122 mojo_native_application("apptests") { | 127 mojo_native_application("apptests") { |
| 123 output_name = "resource_provider_apptests" | 128 output_name = "resource_provider_apptests" |
| 124 testonly = true | 129 testonly = true |
| 125 | 130 |
| 126 sources = [ | 131 sources = [ |
| 127 "resource_provider_apptest.cc", | 132 "resource_provider_apptest.cc", |
| 128 ] | 133 ] |
| 129 | 134 |
| 130 resources = [ | 135 resources = [ |
| 131 "//components/test/data/resource_provider/sample", | 136 "//components/test/data/resource_provider/sample", |
| 132 "//components/test/data/resource_provider/dir", | 137 "//components/test/data/resource_provider/dir", |
| 133 ] | 138 ] |
| 134 | 139 |
| 135 deps = [ | 140 deps = [ |
| 136 "//base", | 141 "//base", |
| 137 "//base/test:test_config", | 142 "//base/test:test_config", |
| 138 "//components/resource_provider/public/cpp", | 143 "//components/resource_provider/public/cpp", |
| 139 "//components/resource_provider/public/interfaces", | 144 "//components/resource_provider/public/interfaces", |
| 140 "//mojo/application/public/cpp:test_support", | 145 "//mojo/application/public/cpp:test_support", |
| 141 "//mojo/platform_handle", | 146 "//mojo/platform_handle", |
| 142 ] | 147 ] |
| 143 | 148 |
| 144 data_deps = [ ":resource_provider" ] | 149 data_deps = [ ":resource_provider" ] |
| 145 } | 150 } |
| OLD | NEW |