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

Side by Side Diff: chrome/test/BUILD.gn

Issue 880873003: Add unit tests target to GN build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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 | « chrome/chrome_tests_unit.gypi ('k') | chrome/tools/convert_dict/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 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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/crypto.gni")
5 import("//build/config/features.gni") 6 import("//build/config/features.gni")
6 import("//build/config/ui.gni") 7 import("//build/config/ui.gni")
7 import("//build/module_args/v8.gni") 8 import("//build/module_args/v8.gni")
8 import("//testing/test.gni") 9 import("//testing/test.gni")
9 10
10 # This target exists to reference other test executables to bring these files 11 # This target exists to reference other test executables to bring these files
11 # into the build. 12 # into the build.
12 group("test") { 13 group("test") {
13 testonly = true 14 testonly = true
14 deps = [ 15 deps = [
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 "//chrome/common:test_support", 96 "//chrome/common:test_support",
96 "//chrome/renderer:test_support", 97 "//chrome/renderer:test_support",
97 "//components/bookmarks/test", 98 "//components/bookmarks/test",
98 "//components/gcm_driver:test_support", 99 "//components/gcm_driver:test_support",
99 "//components/history/core/test:test", 100 "//components/history/core/test:test",
100 "//components/metrics:test_support", 101 "//components/metrics:test_support",
101 "//components/omnibox:test_support", 102 "//components/omnibox:test_support",
102 "//components/ownership", 103 "//components/ownership",
103 "//components/password_manager/core/browser:test_support", 104 "//components/password_manager/core/browser:test_support",
104 "//components/pref_registry:test_support", 105 "//components/pref_registry:test_support",
106 "//components/rappor:test_support",
105 "//components/search_engines:test_support", 107 "//components/search_engines:test_support",
106 "//components/signin/core/browser:test_support", 108 "//components/signin/core/browser:test_support",
107 "//components/sync_driver:test_support", 109 "//components/sync_driver:test_support",
108 "//components/update_client:test_support", 110 "//components/update_client:test_support",
109 "//content/public/app:both", 111 "//content/public/app:both",
110 "//ui/gfx:test_support", 112 "//ui/gfx:test_support",
111 "//net", 113 "//net",
112 "//net:test_support", 114 "//net:test_support",
113 "//skia", 115 "//skia",
114 "//sql", 116 "//sql",
(...skipping 12 matching lines...) Expand all
127 "//chrome/utility", 129 "//chrome/utility",
128 "//content/public/child", 130 "//content/public/child",
129 "//content/public/common", 131 "//content/public/common",
130 "//content/public/plugin", 132 "//content/public/plugin",
131 "//content/public/renderer", 133 "//content/public/renderer",
132 "//content/public/utility", 134 "//content/public/utility",
133 "//components/autofill/core/browser:test_support", 135 "//components/autofill/core/browser:test_support",
134 "//components/captive_portal:test_support", 136 "//components/captive_portal:test_support",
135 "//components/infobars/core", 137 "//components/infobars/core",
136 "//components/sessions:test_support", 138 "//components/sessions:test_support",
139 "//components/web_resource:test_support",
137 "//google_apis:test_support", 140 "//google_apis:test_support",
138 "//ipc:test_support", 141 "//ipc:test_support",
139 "//media:test_support", 142 "//media:test_support",
140 "//ppapi:ppapi_shared", 143 "//ppapi:ppapi_shared",
141 "//sql:test_support", 144 "//sql:test_support",
142 "//third_party/leveldatabase", 145 "//third_party/leveldatabase",
143 "//ui/base", 146 "//ui/base",
144 "//ui/events:events_base", 147 "//ui/events:events_base",
145 "//ui/gl", 148 "//ui/gl",
146 ] 149 ]
(...skipping 1006 matching lines...) Expand 10 before | Expand all | Expand 10 after
1153 1156
1154 # TODO(GYP) CDM adapter stuff. 1157 # TODO(GYP) CDM adapter stuff.
1155 #if (enable_pepper_cdms) { 1158 #if (enable_pepper_cdms) {
1156 # deps += [ 1159 # deps += [
1157 # "//media/cdm/ppapi:clearkeycdmadapter", 1160 # "//media/cdm/ppapi:clearkeycdmadapter",
1158 # "//ppapi:ppapi_cpp", 1161 # "//ppapi:ppapi_cpp",
1159 # "//third_party/widevine/cdm:adapter", 1162 # "//third_party/widevine/cdm:adapter",
1160 # ] 1163 # ]
1161 #} 1164 #}
1162 } 1165 }
1166
1167 unit_gypi_values = exec_script("//build/gypi_to_gn.py",
1168 [ rebase_path("../chrome_tests_unit.gypi") ],
1169 "scope",
1170 [ "../chrome_tests_unit.gypi" ])
1171
1172 test("unit_tests") {
1173 sources =
1174 rebase_path(unit_gypi_values.chrome_unit_tests_sources, ".", "//chrome")
1175
1176 defines = []
1177
1178 deps = [
1179 # NOTE: New depndencies should generally be added in the OS!="ios"
1180 # dependencies block below, rather than here.
1181 # Unit tests should only depend on:
1182 # 1) everything that the chrome binaries depend on:
1183 "//chrome:browser_dependencies",
1184 "//chrome:child_dependencies",
1185
1186 # 2) test-specific support libraries:
1187 ":test_support_unit",
1188 "//base/test:test_support",
1189 "//chrome/test:test_support",
1190 "//components/resources",
1191 "//components/content_settings/core/test:test_support",
1192 "//content/test:test_support",
1193 "//content/public/app:both",
1194 "//crypto:platform",
1195 "//crypto:test_support",
1196 "//net",
1197 "//net:test_support",
1198 "//sync:test_support_sync_api",
1199 "//sync:test_support_sync_core",
1200 "//sync:test_support_sync_internal_api",
1201 "//testing/gmock",
1202 "//testing/gtest",
1203
1204 # 3) anything tests directly depend on
1205 "//base/allocator",
1206 "//chrome:resources",
1207 "//chrome:strings",
1208 "//courgette:courgette_lib",
1209 "//google_apis",
1210 "//skia",
1211 "//third_party/cacheinvalidation",
1212 "//third_party/icu",
1213 "//third_party/libxml",
1214 "//ui/accelerometer",
1215 "//ui/base:test_support",
1216 "//ui/gfx:test_support",
1217 "//ui/resources",
1218 ]
1219 data_deps = []
1220
1221 # TODO(GYP) Windows stuff
1222 # ['incremental_chrome_dll==1', {
1223 # 'UseLibraryDependencyInputs': "true",
1224
1225 if (!is_ios) {
1226 deps += [
1227 "//components/autofill/content/browser:test_support",
1228 "//components/metrics/proto",
1229 "//components/data_reduction_proxy/core/browser:test_support",
1230 "//components/webdata_services:test_support",
1231 "//components/strings",
1232 "//content/app/resources",
1233 "//gpu:test_support",
1234 "//media:test_support",
1235
1236 #'../ppapi/ppapi_internal.gyp:ppapi_unittest_shared', TODO(GYP)
1237 "//third_party/leveldatabase",
1238 "//third_party/libaddressinput",
1239 "//third_party/libjingle",
1240 "//third_party/libphonenumber",
1241 "//tools/json_schema_compiler/test",
1242 "//ui/gl",
1243 "//v8",
1244 ]
1245 }
1246
1247 if (is_android) {
1248 deps -= [ "//third_party/libaddressinput" ]
1249
1250 # Some android targets still depend on --gc-sections to link.
1251 # TODO: remove --gc-sections for Debug builds (crbug.com/159847).
1252 ldflags = [ "-Wl,--gc-sections" ]
1253 deps += [ "//testing/android:native_test_native_code" ]
1254 } else {
1255 sources +=
1256 rebase_path(unit_gypi_values.chrome_unit_tests_non_android_sources,
1257 ".",
1258 "//chrome")
1259 }
1260
1261 if (is_ios || is_chromeos) {
1262 sources -=
1263 [ "../browser/metrics/signin_status_metrics_provider_unittest.cc" ]
1264 }
1265 if (enable_background) {
1266 sources +=
1267 rebase_path(unit_gypi_values.chrome_unit_tests_background_sources,
1268 ".",
1269 "//chrome")
1270 }
1271 if (enable_spellcheck) {
1272 sources +=
1273 rebase_path(unit_gypi_values.chrome_unit_tests_spellchecker_sources,
1274 ".",
1275 "//chrome")
1276 if (is_mac && !is_ios) {
1277 deps += [ "//third_party/hunspell" ]
1278 }
1279 }
1280
1281 if (enable_one_click_signin) {
1282 sources += rebase_path(
1283 unit_gypi_values.chrome_unit_tests_one_click_signin_sources,
1284 ".",
1285 "//chrome")
1286 if (is_chromeos) {
1287 sources -= [
1288 "../browser/ui/sync/one_click_signin_helper_unittest.cc",
1289 "../browser/ui/sync/one_click_signin_sync_starter_unittest.cc",
1290 ]
1291 }
1292 if (!toolkit_views) {
1293 sources -= [ "../browser/ui/views/sync/one_click_signin_bubble_view_unit test.cc" ]
1294 }
1295 }
1296 if (enable_nacl) {
1297 sources += rebase_path(unit_gypi_values.chrome_unit_tests_nacl_sources,
1298 ".",
1299 "//chrome")
1300 }
1301 if (enable_extensions) {
1302 sources +=
1303 rebase_path(unit_gypi_values.chrome_unit_tests_extensions_sources,
1304 ".",
1305 "//chrome")
1306 deps += [
1307 "//chrome/common/extensions/api",
1308 "//extensions:extensions_resources",
1309 "//extensions/strings",
1310 ]
1311 if (enable_configuration_policy) {
1312 sources += rebase_path(
1313 unit_gypi_values.chrome_unit_tests_extensions_policy_sources,
1314 ".",
1315 "//chrome")
1316 }
1317 if (!is_chromeos) {
1318 sources += rebase_path(
1319 unit_gypi_values.chrome_unit_tests_extensions_non_chromeos_sourc es,
1320 ".",
1321 "//chrome")
1322 }
1323 }
1324 if (toolkit_views) {
1325 deps += [
1326 "//components/web_modal:test_support",
1327 "//ui/views",
1328 "//ui/views:test_support",
1329 ]
1330 if (!is_mac) {
1331 # TODO(tapted): Enable toolkit-views unit_tests on Mac when their
1332 # respective implementations are linked in. http://crbug.com/412234.
1333 sources += rebase_path(unit_gypi_values.chrome_unit_tests_views_sources,
1334 ".",
1335 "//chrome")
1336 }
1337 }
1338 if (use_ash) {
1339 sources += rebase_path(unit_gypi_values.chrome_unit_tests_ash_sources,
1340 ".",
1341 "//chrome")
1342 deps += [
1343 "//ash:test_support",
1344 "//ash/resources",
1345 "//ash/strings",
1346 ]
1347
1348 # We eventually want to compile both in Win Aura builds, see
1349 # http://crbug.com/155545.
1350 if (!is_win) {
1351 sources -= [ "../browser/ui/window_sizer/window_sizer_unittest.cc" ]
1352 }
1353 }
1354 if (use_aura) {
1355 sources += [ "//ui/views/controls/webview/webview_unittest.cc" ]
1356 deps += [
1357 "//ui/wm",
1358 "//ui/aura:test_support",
1359 "//ui/views:test_support",
1360 ]
1361 }
1362 if (!is_chromeos && is_linux) {
1363 sources +=
1364 rebase_path(unit_gypi_values.chrome_unit_tests_desktop_linux_sources,
1365 ".",
1366 "//chrome")
1367 }
1368 if (!is_chromeos && !use_ozone && is_linux) {
1369 deps += [
1370 "//chrome/browser/ui/libgtk2ui",
1371 "//build/config/linux:gio",
1372 ]
1373 if (!is_component_build) {
1374 # TODO(erg): This file does not compile in shared library mode because
1375 # it is reaching into the internals of libgtk2ui, which shouldn't be
1376 # linked with the rest of chrome. This should either be fixed by
1377 # creating a separate unit test target, or by deleting the test.
1378 sources += [ "../browser/ui/libgtk2ui/x11_input_method_context_impl_gtk2 _unittest.cc" ]
1379 }
1380 }
1381
1382 if (enable_task_manager) {
1383 sources +=
1384 rebase_path(unit_gypi_values.chrome_unit_tests_task_manager_sources,
1385 ".",
1386 "//chrome")
1387 }
1388 if (enable_mdns) {
1389 sources += rebase_path(unit_gypi_values.chrome_unit_tests_mdns_sources,
1390 ".",
1391 "//chrome")
1392 }
1393 if (enable_service_discovery) {
1394 sources += rebase_path(
1395 unit_gypi_values.chrome_unit_tests_service_discovery_sources,
1396 ".",
1397 "//chrome")
1398 }
1399 if (enable_configuration_policy) {
1400 sources += rebase_path(
1401 unit_gypi_values.chrome_unit_tests_configuration_policy_sources,
1402 ".",
1403 "//chrome")
1404 if (is_chromeos) {
1405 sources -=
1406 [ "../browser/policy/cloud/user_policy_signin_service_unittest.cc" ]
1407 } else if (is_android) {
1408 sources -= [ "../browser/policy/policy_path_parser_unittest.cc" ]
1409 }
1410 if (!is_android && !is_ios && !is_chromeos) {
1411 sources +=
1412 [ "../browser/net/disk_cache_dir_policy_handler_unittest.cc" ]
1413 }
1414 if (!is_android && !is_ios) {
1415 sources +=
1416 [ "../browser/download/download_dir_policy_handler_unittest.cc" ]
1417 }
1418 }
1419 if (enable_web_speech) {
1420 sources += rebase_path(unit_gypi_values.chrome_unit_tests_speech_sources,
1421 ".",
1422 "//chrome")
1423 }
1424 if (enable_notifications) {
1425 sources +=
1426 rebase_path(unit_gypi_values.chrome_unit_tests_notifications_sources,
1427 ".",
1428 "//chrome")
1429 if (is_android) {
1430 sources -= [
1431 # Android does not use the Message Center notification system.
1432 "../browser/notifications/message_center_notifications_unittest.cc",
1433 "../browser/notifications/message_center_settings_controller_unittest. cc",
1434 ]
1435 }
1436 }
1437 if (safe_browsing_mode == 1) {
1438 # TODO(sgurun): enable tests for safe_browsing==2.
1439 sources += rebase_path(
1440 unit_gypi_values.chrome_unit_tests_full_safe_browsing_sources,
1441 ".",
1442 "//chrome")
1443 defines += [ "FULL_SAFE_BROWSING" ]
1444 if (is_chromeos) {
1445 sources -= [ "../browser/safe_browsing/download_protection_service_unitt est.cc" ]
1446 } else if (is_android) {
1447 sources -= [
1448 # Android doesn't support download feedbacks.
1449 "../browser/safe_browsing/download_feedback_unittest.cc",
1450 "../browser/safe_browsing/download_feedback_service_unittest.cc",
1451 "../browser/safe_browsing/download_protection_service_unittest.cc",
1452 "../browser/safe_browsing/two_phase_uploader_unittest.cc",
1453 ]
1454 }
1455 }
1456 if (enable_autofill_dialog && !is_android) {
1457 sources += rebase_path(
1458 unit_gypi_values.chrome_unit_tests_autofill_dialog_sources,
1459 ".",
1460 "//chrome")
1461 }
1462 if (enable_plugins) {
1463 sources += rebase_path(unit_gypi_values.chrome_unit_tests_plugins_sources,
1464 ".",
1465 "//chrome")
1466 }
1467 if (enable_print_preview) {
1468 sources +=
1469 rebase_path(unit_gypi_values.chrome_unit_tests_print_preview_sources,
1470 ".",
1471 "//chrome")
1472 }
1473 if (enable_captive_portal_detection) {
1474 sources +=
1475 rebase_path(unit_gypi_values.chrome_unit_tests_captive_portal_sources,
1476 ".",
1477 "//chrome")
1478 }
1479 if (enable_session_service) {
1480 sources += rebase_path(
1481 unit_gypi_values.chrome_unit_tests_session_service_sources,
1482 ".",
1483 "//chrome")
1484 }
1485 if (enable_webrtc) {
1486 sources += rebase_path(unit_gypi_values.chrome_unit_tests_webrtc_sources,
1487 ".",
1488 "//chrome")
1489 }
1490 if (is_chromeos) {
1491 sources +=
1492 rebase_path(unit_gypi_values.chrome_unit_tests_chromeos_sources,
1493 ".",
1494 "//chrome")
1495 deps += [
1496 "//ash/resources",
1497 "//ui/chromeos/resources",
1498 ]
1499 sources -= [
1500 "../browser/signin/signin_global_error_unittest.cc",
1501 "../browser/signin/signin_manager_unittest.cc",
1502 "../browser/signin/signin_names_io_thread_unittest.cc",
1503 "../browser/ui/views/app_list/linux/app_list_linux_unittest.cc",
1504 "../browser/ui/views/frame/opaque_browser_frame_view_layout_unittest.cc" ,
1505 ]
1506 }
1507 if (use_x11) {
1508 deps += [ "//ui/events/devices" ]
1509 data_deps += [ "//tools/xdisplaycheck" ]
1510 } else {
1511 sources -= [ "../browser/password_manager/password_store_x_unittest.cc" ]
1512 }
1513 if (cld_version == 0 || cld_version == 2) {
1514 # Unit tests should be independent of the CLD2 access mechanism, just use
1515 # static for simplicity.
1516 deps += [ "//third_party/cld_2:cld2_static" ]
1517 }
1518 if (is_desktop_linux && cpu_arch == "x64") {
1519 # Only add this test for 64 bit builds because otherwise we need the 32
1520 # bit library on 64 bit systems when running this test.
1521 sources +=
1522 [ "../browser/password_manager/native_backend_gnome_x_unittest.cc" ]
1523 configs += [
1524 "//chrome/browser:gnome_keyring",
1525 "//chrome/browser:gnome_keyring_direct",
1526 ]
1527 }
1528 if (is_linux && !is_chromeos) {
1529 sources +=
1530 [ "../browser/password_manager/native_backend_libsecret_unittest.cc" ]
1531 }
1532 if (is_linux && use_aura) {
1533 deps += [
1534 "//dbus",
1535 "//dbus:test_support",
1536 "//ui/aura:test_support",
1537 ]
1538 }
1539 if (is_linux && is_chrome_branded && cpu_arch == "x86") {
1540 ldflags = [ "-Wl,--strip-debug" ]
1541 }
1542 if (is_mac) {
1543 sources += rebase_path(unit_gypi_values.chrome_unit_tests_mac_sources,
1544 ".",
1545 "//chrome")
1546 sources -= [
1547 "../browser/ui/tests/ui_gfx_image_unittest.cc",
1548 "../tools/convert_dict/convert_dict_unittest.cc",
1549 "../renderer/spellchecker/spellcheck_provider_hunspell_unittest.cc",
1550 ]
1551
1552 # The test fetches resources which means Mac need the app bundle to exist
1553 # on disk so it can pull from it.
1554 deps += [
1555 "//third_party/google_toolbox_for_mac",
1556 "//third_party/ocmock",
1557 ]
1558
1559 # TODO(mark): We really want this for all non-static library targets,
1560 # but when we tried to pull it up to the common.gypi level, it broke
1561 # other things like the ui and startup tests. *shrug*
1562 ldflags = [ "-Wl,-ObjC" ]
1563 }
1564 if (!is_mac && !is_ios) {
1565 deps += [
1566 "//third_party/hunspell",
1567 "//chrome:packed_extra_resources",
1568 "//chrome:packed_resources",
1569 "//chrome/tools/convert_dict:lib",
1570 ]
1571 }
1572 if (is_win || is_mac) {
1573 sources += rebase_path(unit_gypi_values.chrome_unit_tests_win_mac_sources,
1574 ".",
1575 "//chrome")
1576 }
1577 if (is_win || is_mac || is_chromeos) {
1578 sources += [ "../common/extensions/api/networking_private/networking_priva te_crypto_unittest.cc" ]
1579 }
1580 if (enable_rlz) {
1581 deps += [ "//rlz:test_support" ]
1582 } else {
1583 sources -= [ "../browser/rlz/rlz_unittest.cc" ]
1584 }
1585 if (is_win) {
1586 if (!is_component_build) {
1587 # Unit_tests pdb files can get too big when incremental linking is
1588 # on, disabling for this target.
1589 #'LinkIncremental': '<(msvs_debug_link_nonincremental)', TODO(GYP)
1590 }
1591
1592 sources += rebase_path(unit_gypi_values.chrome_unit_tests_win_sources,
1593 ".",
1594 "//chrome")
1595 sources += [
1596 # TODO: It would be nice to have these pulled in
1597 # automatically from direct_dependent_settings in
1598 # their various targets (net.gyp:net_resources, etc.),
1599 # but that causes errors in other targets when
1600 # resulting .res files get referenced multiple times.
1601 #'<(SHARED_INTERMEDIATE_DIR)/chrome_version/other_version.rc', TODO(GYP )
1602 #'<(SHARED_INTERMEDIATE_DIR)/installer_util_strings/installer_util_strin gs.rc', TODO(GYP)
1603 #'<(SHARED_INTERMEDIATE_DIR)/ui/resources/ui_unscaled_resources.rc', TO DO(GYP)
1604 ]
1605
1606 deps += [
1607 #'browser/safe_browsing/verifier_test/verifier_unittest.gyp:verifier_tes t_dll_1', TODO(GYP)
1608 #'browser/safe_browsing/verifier_test/verifier_unittest.gyp:verifier_tes t_dll_2', TODO(GYP)
1609 #'chrome_version_resources', TODO(GYP)
1610 "//chrome_elf:blacklist_test_dll_1",
1611 "//third_party/iaccessible2",
1612 "//third_party/isimpledom",
1613 "//third_party/wtl",
1614 ]
1615
1616 libs = [
1617 "comsupp.lib",
1618 "oleacc.lib",
1619 "rpcrt4.lib",
1620 "urlmon.lib",
1621 "winmm.lib",
1622 ]
1623 }
1624 if (is_android || is_ios) {
1625 sources -= [
1626 "../browser/devtools/device/webrtc/devtools_bridge_instances_request_uni ttest.cc",
1627 "../browser/ui/sync/sync_promo_ui_unittest.cc",
1628 ]
1629 } else {
1630 sources -= [
1631 "../browser/metrics/variations/variations_request_scheduler_mobile_unitt est.cc",
1632 "../browser/web_resource/promo_resource_service_mobile_ntp_unittest.cc",
1633 ]
1634 deps += [ "//chrome/tools/profile_reset:jtl_compiler_lib" ]
1635 }
1636 if (!is_android && !is_chromeos) {
1637 sources += rebase_path(
1638 unit_gypi_values.chrome_unit_tests_non_android_or_chromeos_sources ,
1639 ".",
1640 "//chrome")
1641 }
1642 if (enable_themes) {
1643 sources += rebase_path(unit_gypi_values.chrome_unit_tests_themes_sources,
1644 ".",
1645 "//chrome")
1646 }
1647 if (!is_android && (use_nss_certs || use_openssl_certs)) {
1648 sources += [ "../common/net/x509_certificate_model_unittest.cc" ]
1649 }
1650 if (enable_supervised_users) {
1651 sources += rebase_path(
1652 unit_gypi_values.chrome_unit_tests_supervised_user_sources,
1653 ".",
1654 "//chrome")
1655 }
1656 if (safe_browsing_mode == 1 && enable_extensions) {
1657 sources += [ "../browser/extensions/blacklist_unittest.cc" ]
1658 }
1659 if (cld_version == 1) {
1660 sources += [ "//third_party/cld/encodings/compact_lang_det/compact_lang_de t_unittest_small.cc" ]
1661 defines += [ "CLD_WINDOWS" ]
1662 deps += [ "//third_party/cld" ]
1663 }
1664 if (enable_app_list) {
1665 sources +=
1666 rebase_path(unit_gypi_values.chrome_unit_tests_app_list_sources,
1667 ".",
1668 "//chrome")
1669 deps += [ "//ui/app_list:test_support" ]
1670 }
1671 if (use_ozone) {
1672 # crbug.com/354036
1673 sources -= [ "browser/chromeos/events/event_rewriter_unittest.cc" ]
1674 }
1675 if (!enable_plugin_installation) {
1676 sources -= [ "../browser/plugins/plugin_installer_unittest.cc" ]
1677 }
1678 }
1163 } 1679 }
OLDNEW
« no previous file with comments | « chrome/chrome_tests_unit.gypi ('k') | chrome/tools/convert_dict/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698