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 873 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
884 # These dependencies are not required on Android, and in the case | 884 # These dependencies are not required on Android, and in the case |
885 # of xdg_mime must be excluded due to licensing restrictions. | 885 # of xdg_mime must be excluded due to licensing restrictions. |
886 deps += [ | 886 deps += [ |
887 "//base/third_party/symbolize", | 887 "//base/third_party/symbolize", |
888 "//base/third_party/xdg_mime", | 888 "//base/third_party/xdg_mime", |
889 "//base/third_party/xdg_user_dirs", | 889 "//base/third_party/xdg_user_dirs", |
890 ] | 890 ] |
891 } else { | 891 } else { |
892 # Non-Linux. | 892 # Non-Linux. |
893 sources -= [ | 893 sources -= [ |
894 "linux_util.cc", | |
895 "linux_util.h", | |
896 "nix/mime_util_xdg.cc", | 894 "nix/mime_util_xdg.cc", |
897 "nix/mime_util_xdg.h", | 895 "nix/mime_util_xdg.h", |
898 "nix/xdg_util.cc", | 896 "nix/xdg_util.cc", |
899 "nix/xdg_util.h", | 897 "nix/xdg_util.h", |
900 ] | 898 ] |
| 899 |
| 900 if (!is_android) { |
| 901 sources -= [ |
| 902 "linux_util.cc", |
| 903 "linux_util.h", |
| 904 ] |
| 905 } |
901 } | 906 } |
902 | 907 |
903 if (!use_glib) { | 908 if (!use_glib) { |
904 sources -= [ | 909 sources -= [ |
905 "message_loop/message_pump_glib.cc", | 910 "message_loop/message_pump_glib.cc", |
906 "message_loop/message_pump_glib.h", | 911 "message_loop/message_pump_glib.h", |
907 ] | 912 ] |
908 } | 913 } |
909 | 914 |
910 configs += [ "//build/config/compiler:wexit_time_destructors" ] | 915 configs += [ "//build/config/compiler:wexit_time_destructors" ] |
(...skipping 540 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1451 # GYP: //base.gyp:base_unittests_apk | 1456 # GYP: //base.gyp:base_unittests_apk |
1452 unittest_apk("base_unittests_apk") { | 1457 unittest_apk("base_unittests_apk") { |
1453 deps = [ | 1458 deps = [ |
1454 ":base_java", | 1459 ":base_java", |
1455 ":base_java_unittest_support", | 1460 ":base_java_unittest_support", |
1456 ":base_unittests", | 1461 ":base_unittests", |
1457 ] | 1462 ] |
1458 unittests_dep = ":base_unittests" | 1463 unittests_dep = ":base_unittests" |
1459 } | 1464 } |
1460 } | 1465 } |
OLD | NEW |