| 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 891 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 902 "files/file_path_watcher_fsevents.cc", | 902 "files/file_path_watcher_fsevents.cc", |
| 903 "files/file_path_watcher_fsevents.h", | 903 "files/file_path_watcher_fsevents.h", |
| 904 "files/file_path_watcher_kqueue.cc", | 904 "files/file_path_watcher_kqueue.cc", |
| 905 "files/file_path_watcher_kqueue.h", | 905 "files/file_path_watcher_kqueue.h", |
| 906 ] | 906 ] |
| 907 } | 907 } |
| 908 | 908 |
| 909 # Linux. | 909 # Linux. |
| 910 if (is_linux) { | 910 if (is_linux) { |
| 911 # TODO(brettw) this will need to be parameterized at some point. | 911 # TODO(brettw) this will need to be parameterized at some point. |
| 912 linux_configs = [ "//build/config/linux:glib" ] | 912 linux_configs = [] |
| 913 if (use_glib) { |
| 914 linux_configs += [ "//build/config/linux:glib" ] |
| 915 } |
| 913 | 916 |
| 914 configs += linux_configs | 917 configs += linux_configs |
| 915 all_dependent_configs = linux_configs | 918 all_dependent_configs = linux_configs |
| 916 | 919 |
| 917 defines += [ "USE_SYMBOLIZE" ] | 920 defines += [ "USE_SYMBOLIZE" ] |
| 918 | 921 |
| 919 # These dependencies are not required on Android, and in the case | 922 # These dependencies are not required on Android, and in the case |
| 920 # of xdg_mime must be excluded due to licensing restrictions. | 923 # of xdg_mime must be excluded due to licensing restrictions. |
| 921 deps += [ | 924 deps += [ |
| 922 "//base/third_party/symbolize", | 925 "//base/third_party/symbolize", |
| (...skipping 473 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1396 ] | 1399 ] |
| 1397 set_sources_assignment_filter(sources_assignment_filter) | 1400 set_sources_assignment_filter(sources_assignment_filter) |
| 1398 | 1401 |
| 1399 # TODO(GYP): dep on copy_test_data_ios action. | 1402 # TODO(GYP): dep on copy_test_data_ios action. |
| 1400 } | 1403 } |
| 1401 | 1404 |
| 1402 if (is_linux) { | 1405 if (is_linux) { |
| 1403 sources -= [ "file_version_info_unittest.cc" ] | 1406 sources -= [ "file_version_info_unittest.cc" ] |
| 1404 sources += [ "nix/xdg_util_unittest.cc" ] | 1407 sources += [ "nix/xdg_util_unittest.cc" ] |
| 1405 defines = [ "USE_SYMBOLIZE" ] | 1408 defines = [ "USE_SYMBOLIZE" ] |
| 1406 configs += [ "//build/config/linux:glib" ] | 1409 if (use_glib) { |
| 1410 configs += [ "//build/config/linux:glib" ] |
| 1411 } |
| 1407 } | 1412 } |
| 1408 | 1413 |
| 1409 if (!is_linux || use_ozone) { | 1414 if (!is_linux || use_ozone) { |
| 1410 sources -= [ "message_loop/message_pump_glib_unittest.cc" ] | 1415 sources -= [ "message_loop/message_pump_glib_unittest.cc" ] |
| 1411 } | 1416 } |
| 1412 | 1417 |
| 1413 if (is_posix || is_ios) { | 1418 if (is_posix || is_ios) { |
| 1414 sources += [ "message_loop/message_pump_libevent_unittest.cc" ] | 1419 sources += [ "message_loop/message_pump_libevent_unittest.cc" ] |
| 1415 deps += [ "//third_party/libevent" ] | 1420 deps += [ "//third_party/libevent" ] |
| 1416 } | 1421 } |
| (...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1530 # GYP: //base.gyp:base_unittests_apk | 1535 # GYP: //base.gyp:base_unittests_apk |
| 1531 unittest_apk("base_unittests_apk") { | 1536 unittest_apk("base_unittests_apk") { |
| 1532 deps = [ | 1537 deps = [ |
| 1533 ":base_java", | 1538 ":base_java", |
| 1534 ":base_java_unittest_support", | 1539 ":base_java_unittest_support", |
| 1535 ":base_unittests", | 1540 ":base_unittests", |
| 1536 ] | 1541 ] |
| 1537 unittests_dep = ":base_unittests" | 1542 unittests_dep = ":base_unittests" |
| 1538 } | 1543 } |
| 1539 } | 1544 } |
| OLD | NEW |