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 753 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
764 defines = [ "BASE_IMPLEMENTATION" ] | 764 defines = [ "BASE_IMPLEMENTATION" ] |
765 | 765 |
766 deps = [ | 766 deps = [ |
767 ":base_static", | 767 ":base_static", |
768 "//base/allocator:allocator_extension_thunks", | 768 "//base/allocator:allocator_extension_thunks", |
769 "//base/third_party/dynamic_annotations", | 769 "//base/third_party/dynamic_annotations", |
770 "//base/third_party/nspr", | 770 "//base/third_party/nspr", |
771 "//third_party/modp_b64", | 771 "//third_party/modp_b64", |
772 ] | 772 ] |
773 | 773 |
| 774 # Allow more direct string conversions on platforms with native utf8 |
| 775 # strings |
| 776 if (is_mac || is_ios || is_chromeos) { |
| 777 defines += [ "SYSTEM_NATIVE_UTF8" ] |
| 778 } |
| 779 |
774 if (is_android) { | 780 if (is_android) { |
775 sources += [ | 781 sources += [ |
776 "memory/discardable_memory_ashmem_allocator.cc", | 782 "memory/discardable_memory_ashmem_allocator.cc", |
777 "memory/discardable_memory_ashmem_allocator.h", | 783 "memory/discardable_memory_ashmem_allocator.h", |
778 "memory/discardable_memory_ashmem.cc", | 784 "memory/discardable_memory_ashmem.cc", |
779 "memory/discardable_memory_ashmem.h", | 785 "memory/discardable_memory_ashmem.h", |
780 ] | 786 ] |
781 sources -= [ | 787 sources -= [ |
782 "base_paths_posix.cc", | 788 "base_paths_posix.cc", |
783 "power_monitor/power_monitor_device_source_posix.cc", | 789 "power_monitor/power_monitor_device_source_posix.cc", |
(...skipping 733 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1517 # GYP: //base.gyp:base_unittests_apk | 1523 # GYP: //base.gyp:base_unittests_apk |
1518 unittest_apk("base_unittests_apk") { | 1524 unittest_apk("base_unittests_apk") { |
1519 deps = [ | 1525 deps = [ |
1520 ":base_java", | 1526 ":base_java", |
1521 ":base_java_unittest_support", | 1527 ":base_java_unittest_support", |
1522 ":base_unittests", | 1528 ":base_unittests", |
1523 ] | 1529 ] |
1524 unittests_dep = ":base_unittests" | 1530 unittests_dep = ":base_unittests" |
1525 } | 1531 } |
1526 } | 1532 } |
OLD | NEW |