Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2013 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/config/ui.gni") | 5 import("//build/config/ui.gni") |
| 6 | 6 |
| 7 if (is_android) { | 7 if (is_android) { |
| 8 import("//build/config/android/rules.gni") | 8 import("//build/config/android/rules.gni") |
| 9 } | 9 } |
| 10 | 10 |
| (...skipping 19 matching lines...) Expand all Loading... | |
| 30 "gtest_util.cc", | 30 "gtest_util.cc", |
| 31 "gtest_util.h", | 31 "gtest_util.h", |
| 32 "gtest_xml_unittest_result_printer.cc", | 32 "gtest_xml_unittest_result_printer.cc", |
| 33 "gtest_xml_unittest_result_printer.h", | 33 "gtest_xml_unittest_result_printer.h", |
| 34 "gtest_xml_util.cc", | 34 "gtest_xml_util.cc", |
| 35 "gtest_xml_util.h", | 35 "gtest_xml_util.h", |
| 36 "histogram_tester.cc", | 36 "histogram_tester.cc", |
| 37 "histogram_tester.h", | 37 "histogram_tester.h", |
| 38 "ios/wait_util.h", | 38 "ios/wait_util.h", |
| 39 "ios/wait_util.mm", | 39 "ios/wait_util.mm", |
| 40 "launcher/test_launcher.h", | |
| 41 "launcher/test_result.cc", | 40 "launcher/test_result.cc", |
| 42 "launcher/test_result.h", | 41 "launcher/test_result.h", |
| 43 "launcher/test_results_tracker.h", | 42 "launcher/test_results_tracker.h", |
| 44 "launcher/unit_test_launcher.h", | 43 "launcher/unit_test_launcher.h", |
| 45 "mock_chrome_application_mac.h", | 44 "mock_chrome_application_mac.h", |
| 46 "mock_chrome_application_mac.mm", | 45 "mock_chrome_application_mac.mm", |
| 47 "mock_devices_changed_observer.cc", | 46 "mock_devices_changed_observer.cc", |
| 48 "mock_devices_changed_observer.h", | 47 "mock_devices_changed_observer.h", |
| 49 "mock_entropy_provider.cc", | 48 "mock_entropy_provider.cc", |
| 50 "mock_entropy_provider.h", | 49 "mock_entropy_provider.h", |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 112 "thread_test_helper.h", | 111 "thread_test_helper.h", |
| 113 "trace_event_analyzer.cc", | 112 "trace_event_analyzer.cc", |
| 114 "trace_event_analyzer.h", | 113 "trace_event_analyzer.h", |
| 115 "trace_to_file.cc", | 114 "trace_to_file.cc", |
| 116 "trace_to_file.h", | 115 "trace_to_file.h", |
| 117 "user_action_tester.cc", | 116 "user_action_tester.cc", |
| 118 "user_action_tester.h", | 117 "user_action_tester.h", |
| 119 "values_test_util.cc", | 118 "values_test_util.cc", |
| 120 "values_test_util.h", | 119 "values_test_util.h", |
| 121 ] | 120 ] |
| 122 | 121 if (!is_ios) { |
| 122 sources += [ | |
| 123 "launcher/test_launcher.cc", | |
| 124 "launcher/test_launcher.h", | |
| 125 "launcher/test_results_tracker.cc", | |
| 126 "multiprocess_test.cc", | |
| 127 ] | |
| 128 } | |
|
Dirk Pranke
2015/08/14 20:08:39
if (!is_ios) {
...
}
if (is_ios) {
...
} else
sherouk
2015/08/18 13:57:01
Done.
| |
| 123 if (is_ios) { | 129 if (is_ios) { |
| 124 sources += [ "launcher/unit_test_launcher_ios.cc" ] | 130 sources += [ "launcher/unit_test_launcher_ios.cc" ] |
| 125 } else { | 131 } else { |
| 126 sources += [ | 132 sources += [ |
| 127 "launcher/test_launcher.cc", | |
| 128 "launcher/test_results_tracker.cc", | |
| 129 "launcher/unit_test_launcher.cc", | 133 "launcher/unit_test_launcher.cc", |
| 130 "multiprocess_test.cc", | |
| 131 "multiprocess_test_android.cc", | 134 "multiprocess_test_android.cc", |
| 132 ] | 135 ] |
| 133 } | 136 } |
| 134 | 137 |
| 135 configs += [ "//build/config:precompiled_headers" ] | 138 configs += [ "//build/config:precompiled_headers" ] |
| 136 | 139 |
| 137 data = [ | 140 data = [ |
| 138 # The isolate needs this script for setting up the test. It's not actually | 141 # The isolate needs this script for setting up the test. It's not actually |
| 139 # needed to run this target locally. | 142 # needed to run this target locally. |
| 140 "//testing/test_env.py", | 143 "//testing/test_env.py", |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 214 | 217 |
| 215 if (is_android) { | 218 if (is_android) { |
| 216 generate_jni("base_unittests_jni_headers") { | 219 generate_jni("base_unittests_jni_headers") { |
| 217 sources = [ | 220 sources = [ |
| 218 "android/java/src/org/chromium/base/ContentUriTestUtils.java", | 221 "android/java/src/org/chromium/base/ContentUriTestUtils.java", |
| 219 "android/java/src/org/chromium/base/TestUiThread.java", | 222 "android/java/src/org/chromium/base/TestUiThread.java", |
| 220 ] | 223 ] |
| 221 jni_package = "base" | 224 jni_package = "base" |
| 222 } | 225 } |
| 223 } | 226 } |
| OLD | NEW |