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 875 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
886 # These dependencies are not required on Android, and in the case | 886 # These dependencies are not required on Android, and in the case |
887 # of xdg_mime must be excluded due to licensing restrictions. | 887 # of xdg_mime must be excluded due to licensing restrictions. |
888 deps += [ | 888 deps += [ |
889 "//base/third_party/symbolize", | 889 "//base/third_party/symbolize", |
890 "//base/third_party/xdg_mime", | 890 "//base/third_party/xdg_mime", |
891 "//base/third_party/xdg_user_dirs", | 891 "//base/third_party/xdg_user_dirs", |
892 ] | 892 ] |
893 } else { | 893 } else { |
894 # Non-Linux. | 894 # Non-Linux. |
895 sources -= [ | 895 sources -= [ |
896 "linux_util.cc", | |
897 "linux_util.h", | |
898 "nix/mime_util_xdg.cc", | 896 "nix/mime_util_xdg.cc", |
899 "nix/mime_util_xdg.h", | 897 "nix/mime_util_xdg.h", |
900 "nix/xdg_util.cc", | 898 "nix/xdg_util.cc", |
901 "nix/xdg_util.h", | 899 "nix/xdg_util.h", |
902 ] | 900 ] |
| 901 |
| 902 if (!is_android) { |
| 903 sources -= [ |
| 904 "linux_util.cc", |
| 905 "linux_util.h", |
| 906 ] |
| 907 } |
903 } | 908 } |
904 | 909 |
905 if (!use_glib) { | 910 if (!use_glib) { |
906 sources -= [ | 911 sources -= [ |
907 "message_loop/message_pump_glib.cc", | 912 "message_loop/message_pump_glib.cc", |
908 "message_loop/message_pump_glib.h", | 913 "message_loop/message_pump_glib.h", |
909 ] | 914 ] |
910 } | 915 } |
911 | 916 |
912 configs += [ "//build/config/compiler:wexit_time_destructors" ] | 917 configs += [ "//build/config/compiler:wexit_time_destructors" ] |
(...skipping 559 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1472 # GYP: //base.gyp:base_unittests_apk | 1477 # GYP: //base.gyp:base_unittests_apk |
1473 unittest_apk("base_unittests_apk") { | 1478 unittest_apk("base_unittests_apk") { |
1474 deps = [ | 1479 deps = [ |
1475 ":base_java", | 1480 ":base_java", |
1476 ":base_java_unittest_support", | 1481 ":base_java_unittest_support", |
1477 ":base_unittests", | 1482 ":base_unittests", |
1478 ] | 1483 ] |
1479 unittests_dep = ":base_unittests" | 1484 unittests_dep = ":base_unittests" |
1480 } | 1485 } |
1481 } | 1486 } |
OLD | NEW |