| 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 1342 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1353 sources += | 1353 sources += |
| 1354 rebase_path(unit_gypi_values.chrome_unit_tests_desktop_linux_sources, | 1354 rebase_path(unit_gypi_values.chrome_unit_tests_desktop_linux_sources, |
| 1355 ".", | 1355 ".", |
| 1356 "//chrome") | 1356 "//chrome") |
| 1357 } | 1357 } |
| 1358 if (!is_chromeos && !use_ozone && is_linux) { | 1358 if (!is_chromeos && !use_ozone && is_linux) { |
| 1359 deps += [ | 1359 deps += [ |
| 1360 "//chrome/browser/ui/libgtk2ui", | 1360 "//chrome/browser/ui/libgtk2ui", |
| 1361 "//build/config/linux:gio", | 1361 "//build/config/linux:gio", |
| 1362 ] | 1362 ] |
| 1363 if (!is_component_build) { | |
| 1364 # TODO(erg): This file does not compile in shared library mode because | |
| 1365 # it is reaching into the internals of libgtk2ui, which shouldn't be | |
| 1366 # linked with the rest of chrome. This should either be fixed by | |
| 1367 # creating a separate unit test target, or by deleting the test. | |
| 1368 sources += [ "../browser/ui/libgtk2ui/x11_input_method_context_impl_gtk2
_unittest.cc" ] | |
| 1369 } | |
| 1370 } | 1363 } |
| 1371 | 1364 |
| 1372 if (enable_task_manager) { | 1365 if (enable_task_manager) { |
| 1373 sources += | 1366 sources += |
| 1374 rebase_path(unit_gypi_values.chrome_unit_tests_task_manager_sources, | 1367 rebase_path(unit_gypi_values.chrome_unit_tests_task_manager_sources, |
| 1375 ".", | 1368 ".", |
| 1376 "//chrome") | 1369 "//chrome") |
| 1377 } | 1370 } |
| 1378 if (enable_mdns) { | 1371 if (enable_mdns) { |
| 1379 sources += rebase_path(unit_gypi_values.chrome_unit_tests_mdns_sources, | 1372 sources += rebase_path(unit_gypi_values.chrome_unit_tests_mdns_sources, |
| (...skipping 361 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1741 } | 1734 } |
| 1742 | 1735 |
| 1743 if (cld_version == 0 || cld_version == 2) { | 1736 if (cld_version == 0 || cld_version == 2) { |
| 1744 # Use whatever CLD2 data access mode that the | 1737 # Use whatever CLD2 data access mode that the |
| 1745 # application embedder is using. | 1738 # application embedder is using. |
| 1746 deps += [ "//third_party/cld_2:cld2_platform_impl" ] | 1739 deps += [ "//third_party/cld_2:cld2_platform_impl" ] |
| 1747 } | 1740 } |
| 1748 } | 1741 } |
| 1749 } | 1742 } |
| 1750 } | 1743 } |
| OLD | NEW |