| 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/chrome_build.gni") | 5 import("//build/config/chrome_build.gni") |
| 6 import("//build/config/crypto.gni") | 6 import("//build/config/crypto.gni") |
| 7 import("//build/config/features.gni") | 7 import("//build/config/features.gni") |
| 8 import("//build/config/ui.gni") | 8 import("//build/config/ui.gni") |
| 9 import("//chrome/chrome_tests.gni") | 9 import("//chrome/chrome_tests.gni") |
| 10 import("//chrome/test/base/js2gtest.gni") | 10 import("//chrome/test/base/js2gtest.gni") |
| (...skipping 1467 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1478 # Some android targets still depend on --gc-sections to link. | 1478 # Some android targets still depend on --gc-sections to link. |
| 1479 # TODO: remove --gc-sections for Debug builds (crbug.com/159847). | 1479 # TODO: remove --gc-sections for Debug builds (crbug.com/159847). |
| 1480 ldflags = [ "-Wl,--gc-sections" ] | 1480 ldflags = [ "-Wl,--gc-sections" ] |
| 1481 deps += [ "//testing/android/native_test:native_test_native_code" ] | 1481 deps += [ "//testing/android/native_test:native_test_native_code" ] |
| 1482 isolate_file = "../unit_tests.isolate" | 1482 isolate_file = "../unit_tests.isolate" |
| 1483 } else { | 1483 } else { |
| 1484 sources += rebase_path( | 1484 sources += rebase_path( |
| 1485 chrome_tests_unit_gypi_values.chrome_unit_tests_non_android_source
s, | 1485 chrome_tests_unit_gypi_values.chrome_unit_tests_non_android_source
s, |
| 1486 ".", | 1486 ".", |
| 1487 "//chrome") | 1487 "//chrome") |
| 1488 sources -= [ "../browser/download/download_request_infobar_delegate_unitte
st.cc" ] |
| 1488 } | 1489 } |
| 1489 if (is_ios || is_chromeos) { | 1490 if (is_ios || is_chromeos) { |
| 1490 sources -= | 1491 sources -= |
| 1491 [ "../browser/metrics/signin_status_metrics_provider_unittest.cc" ] | 1492 [ "../browser/metrics/signin_status_metrics_provider_unittest.cc" ] |
| 1492 } | 1493 } |
| 1493 if (enable_background) { | 1494 if (enable_background) { |
| 1494 sources += rebase_path( | 1495 sources += rebase_path( |
| 1495 chrome_tests_unit_gypi_values.chrome_unit_tests_background_sources
, | 1496 chrome_tests_unit_gypi_values.chrome_unit_tests_background_sources
, |
| 1496 ".", | 1497 ".", |
| 1497 "//chrome") | 1498 "//chrome") |
| (...skipping 510 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2008 "//third_party/mojo/src/mojo/edk/system", | 2009 "//third_party/mojo/src/mojo/edk/system", |
| 2009 ] | 2010 ] |
| 2010 | 2011 |
| 2011 if (!is_android && use_ash) { | 2012 if (!is_android && use_ash) { |
| 2012 sources += rebase_path( | 2013 sources += rebase_path( |
| 2013 chrome_tests_unit_gypi_values.chrome_test_support_unit_ash_sources, | 2014 chrome_tests_unit_gypi_values.chrome_test_support_unit_ash_sources, |
| 2014 ".", | 2015 ".", |
| 2015 "//chrome") | 2016 "//chrome") |
| 2016 } | 2017 } |
| 2017 } | 2018 } |
| OLD | NEW |