Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(401)

Side by Side Diff: base/BUILD.gn

Issue 812543002: Update from https://crrev.com/308331 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « DEPS ('k') | base/base.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 "build_time.cc", 114 "build_time.cc",
115 "build_time.h", 115 "build_time.h",
116 "callback.h", 116 "callback.h",
117 "callback_helpers.cc", 117 "callback_helpers.cc",
118 "callback_helpers.h", 118 "callback_helpers.h",
119 "callback_internal.cc", 119 "callback_internal.cc",
120 "callback_internal.h", 120 "callback_internal.h",
121 "cancelable_callback.h", 121 "cancelable_callback.h",
122 "command_line.cc", 122 "command_line.cc",
123 "command_line.h", 123 "command_line.h",
124 "chromeos/memory_pressure_observer_chromeos.cc",
125 "chromeos/memory_pressure_observer_chromeos.h",
124 "compiler_specific.h", 126 "compiler_specific.h",
125 "containers/adapters.h", 127 "containers/adapters.h",
126 "containers/hash_tables.h", 128 "containers/hash_tables.h",
127 "containers/linked_list.h", 129 "containers/linked_list.h",
128 "containers/mru_cache.h", 130 "containers/mru_cache.h",
129 "containers/small_map.h", 131 "containers/small_map.h",
130 "containers/stack_container.h", 132 "containers/stack_container.h",
131 "cpu.cc", 133 "cpu.cc",
132 "cpu.h", 134 "cpu.h",
133 "critical_closure.h", 135 "critical_closure.h",
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
242 "guid_win.cc", 244 "guid_win.cc",
243 "hash.cc", 245 "hash.cc",
244 "hash.h", 246 "hash.h",
245 "id_map.h", 247 "id_map.h",
246 "ios/device_util.h", 248 "ios/device_util.h",
247 "ios/device_util.mm", 249 "ios/device_util.mm",
248 "ios/ios_util.h", 250 "ios/ios_util.h",
249 "ios/ios_util.mm", 251 "ios/ios_util.mm",
250 "ios/scoped_critical_action.h", 252 "ios/scoped_critical_action.h",
251 "ios/scoped_critical_action.mm", 253 "ios/scoped_critical_action.mm",
254 "ios/weak_nsobject.h",
255 "ios/weak_nsobject.mm",
252 "json/json_file_value_serializer.cc", 256 "json/json_file_value_serializer.cc",
253 "json/json_file_value_serializer.h", 257 "json/json_file_value_serializer.h",
254 "json/json_parser.cc", 258 "json/json_parser.cc",
255 "json/json_parser.h", 259 "json/json_parser.h",
256 "json/json_reader.cc", 260 "json/json_reader.cc",
257 "json/json_reader.h", 261 "json/json_reader.h",
258 "json/json_string_value_serializer.cc", 262 "json/json_string_value_serializer.cc",
259 "json/json_string_value_serializer.h", 263 "json/json_string_value_serializer.h",
260 "json/json_value_converter.h", 264 "json/json_value_converter.h",
261 "json/json_writer.cc", 265 "json/json_writer.cc",
(...skipping 502 matching lines...) Expand 10 before | Expand all | Expand 10 after
764 defines = [ "BASE_IMPLEMENTATION" ] 768 defines = [ "BASE_IMPLEMENTATION" ]
765 769
766 deps = [ 770 deps = [
767 ":base_static", 771 ":base_static",
768 "//base/allocator:allocator_extension_thunks", 772 "//base/allocator:allocator_extension_thunks",
769 "//base/third_party/dynamic_annotations", 773 "//base/third_party/dynamic_annotations",
770 "//base/third_party/nspr", 774 "//base/third_party/nspr",
771 "//third_party/modp_b64", 775 "//third_party/modp_b64",
772 ] 776 ]
773 777
778 # Allow more direct string conversions on platforms with native utf8
779 # strings
780 if (is_mac || is_ios || is_chromeos) {
781 defines += [ "SYSTEM_NATIVE_UTF8" ]
782 }
783
774 if (is_android) { 784 if (is_android) {
775 sources += [ 785 sources += [
776 "memory/discardable_memory_ashmem_allocator.cc", 786 "memory/discardable_memory_ashmem_allocator.cc",
777 "memory/discardable_memory_ashmem_allocator.h", 787 "memory/discardable_memory_ashmem_allocator.h",
778 "memory/discardable_memory_ashmem.cc", 788 "memory/discardable_memory_ashmem.cc",
779 "memory/discardable_memory_ashmem.h", 789 "memory/discardable_memory_ashmem.h",
780 ] 790 ]
781 sources -= [ 791 sources -= [
782 "base_paths_posix.cc", 792 "base_paths_posix.cc",
783 "power_monitor/power_monitor_device_source_posix.cc", 793 "power_monitor/power_monitor_device_source_posix.cc",
(...skipping 396 matching lines...) Expand 10 before | Expand all | Expand 10 after
1180 "i18n/case_conversion_unittest.cc", 1190 "i18n/case_conversion_unittest.cc",
1181 "i18n/file_util_icu_unittest.cc", 1191 "i18n/file_util_icu_unittest.cc",
1182 "i18n/icu_string_conversions_unittest.cc", 1192 "i18n/icu_string_conversions_unittest.cc",
1183 "i18n/number_formatting_unittest.cc", 1193 "i18n/number_formatting_unittest.cc",
1184 "i18n/rtl_unittest.cc", 1194 "i18n/rtl_unittest.cc",
1185 "i18n/streaming_utf8_validator_unittest.cc", 1195 "i18n/streaming_utf8_validator_unittest.cc",
1186 "i18n/string_search_unittest.cc", 1196 "i18n/string_search_unittest.cc",
1187 "i18n/time_formatting_unittest.cc", 1197 "i18n/time_formatting_unittest.cc",
1188 "i18n/timezone_unittest.cc", 1198 "i18n/timezone_unittest.cc",
1189 "ios/device_util_unittest.mm", 1199 "ios/device_util_unittest.mm",
1200 "ios/weak_nsobject_unittest.mm",
1190 "json/json_parser_unittest.cc", 1201 "json/json_parser_unittest.cc",
1191 "json/json_reader_unittest.cc", 1202 "json/json_reader_unittest.cc",
1192 "json/json_value_converter_unittest.cc", 1203 "json/json_value_converter_unittest.cc",
1193 "json/json_value_serializer_unittest.cc", 1204 "json/json_value_serializer_unittest.cc",
1194 "json/json_writer_unittest.cc", 1205 "json/json_writer_unittest.cc",
1195 "json/string_escape_unittest.cc", 1206 "json/string_escape_unittest.cc",
1196 "lazy_instance_unittest.cc", 1207 "lazy_instance_unittest.cc",
1197 "logging_unittest.cc", 1208 "logging_unittest.cc",
1198 "mac/bind_objc_block_unittest.mm", 1209 "mac/bind_objc_block_unittest.mm",
1199 "mac/foundation_util_unittest.mm", 1210 "mac/foundation_util_unittest.mm",
(...skipping 317 matching lines...) Expand 10 before | Expand all | Expand 10 after
1517 # GYP: //base.gyp:base_unittests_apk 1528 # GYP: //base.gyp:base_unittests_apk
1518 unittest_apk("base_unittests_apk") { 1529 unittest_apk("base_unittests_apk") {
1519 deps = [ 1530 deps = [
1520 ":base_java", 1531 ":base_java",
1521 ":base_java_unittest_support", 1532 ":base_java_unittest_support",
1522 ":base_unittests", 1533 ":base_unittests",
1523 ] 1534 ]
1524 unittests_dep = ":base_unittests" 1535 unittests_dep = ":base_unittests"
1525 } 1536 }
1526 } 1537 }
OLDNEW
« no previous file with comments | « DEPS ('k') | base/base.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698