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