| OLD | NEW |
| 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/crypto.gni") |
| 6 import("//build/config/features.gni") | 6 import("//build/config/features.gni") |
| 7 import("//build/config/ui.gni") | 7 import("//build/config/ui.gni") |
| 8 import("//build/module_args/v8.gni") | 8 import("//build/module_args/v8.gni") |
| 9 import("//testing/test.gni") | 9 import("//testing/test.gni") |
| 10 | 10 |
| (...skipping 1351 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1362 sources += | 1362 sources += |
| 1363 rebase_path(unit_gypi_values.chrome_unit_tests_desktop_linux_sources, | 1363 rebase_path(unit_gypi_values.chrome_unit_tests_desktop_linux_sources, |
| 1364 ".", | 1364 ".", |
| 1365 "//chrome") | 1365 "//chrome") |
| 1366 } | 1366 } |
| 1367 if (!is_chromeos && !use_ozone && is_linux) { | 1367 if (!is_chromeos && !use_ozone && is_linux) { |
| 1368 deps += [ | 1368 deps += [ |
| 1369 "//chrome/browser/ui/libgtk2ui", | 1369 "//chrome/browser/ui/libgtk2ui", |
| 1370 "//build/config/linux:gio", | 1370 "//build/config/linux:gio", |
| 1371 ] | 1371 ] |
| 1372 if (!is_component_build) { | |
| 1373 # TODO(erg): This file does not compile in shared library mode because | |
| 1374 # it is reaching into the internals of libgtk2ui, which shouldn't be | |
| 1375 # linked with the rest of chrome. This should either be fixed by | |
| 1376 # creating a separate unit test target, or by deleting the test. | |
| 1377 sources += [ "../browser/ui/libgtk2ui/x11_input_method_context_impl_gtk2
_unittest.cc" ] | |
| 1378 } | |
| 1379 } | 1372 } |
| 1380 | 1373 |
| 1381 if (enable_task_manager) { | 1374 if (enable_task_manager) { |
| 1382 sources += | 1375 sources += |
| 1383 rebase_path(unit_gypi_values.chrome_unit_tests_task_manager_sources, | 1376 rebase_path(unit_gypi_values.chrome_unit_tests_task_manager_sources, |
| 1384 ".", | 1377 ".", |
| 1385 "//chrome") | 1378 "//chrome") |
| 1386 } | 1379 } |
| 1387 if (enable_mdns) { | 1380 if (enable_mdns) { |
| 1388 sources += rebase_path(unit_gypi_values.chrome_unit_tests_mdns_sources, | 1381 sources += rebase_path(unit_gypi_values.chrome_unit_tests_mdns_sources, |
| (...skipping 359 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1748 } | 1741 } |
| 1749 | 1742 |
| 1750 if (cld_version == 0 || cld_version == 2) { | 1743 if (cld_version == 0 || cld_version == 2) { |
| 1751 # Use whatever CLD2 data access mode that the | 1744 # Use whatever CLD2 data access mode that the |
| 1752 # application embedder is using. | 1745 # application embedder is using. |
| 1753 deps += [ "//third_party/cld_2:cld2_platform_impl" ] | 1746 deps += [ "//third_party/cld_2:cld2_platform_impl" ] |
| 1754 } | 1747 } |
| 1755 } | 1748 } |
| 1756 } | 1749 } |
| 1757 } | 1750 } |
| OLD | NEW |