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

Side by Side Diff: build/secondary/third_party/android_tools/BUILD.gn

Issue 2572593002: [counting_allocator] Chrome changes.
Patch Set: Surface max_size; instrument flat_set. Created 3 years, 9 months 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 | « build/config/sanitizers/BUILD.gn ('k') | chrome/BUILD.gn » ('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 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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/android/rules.gni") 5 import("//build/config/android/rules.gni")
6 6
7 config("cpu_features_include") { 7 config("cpu_features_include") {
8 include_dirs = [ "$android_ndk_root/sources/android/cpufeatures" ] 8 include_dirs = [ "$android_ndk_root/sources/android/cpufeatures" ]
9 } 9 }
10 10
(...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after
282 282
283 android_aar_prebuilt("google_play_services_vision_java") { 283 android_aar_prebuilt("google_play_services_vision_java") {
284 deps = [ 284 deps = [
285 ":google_play_services_base_java", 285 ":google_play_services_base_java",
286 ":google_play_services_basement_java", 286 ":google_play_services_basement_java",
287 ] 287 ]
288 _lib_name = "play-services-vision" 288 _lib_name = "play-services-vision"
289 aar_path = "$gms_path/$_lib_name/$gms_version/$_lib_name-$gms_version.aar" 289 aar_path = "$gms_path/$_lib_name/$gms_version/$_lib_name-$gms_version.aar"
290 ignore_manifest = true 290 ignore_manifest = true
291 } 291 }
292
293 config("libc++_flags") {
294 defines = [ "__STDC_FORMAT_MACROS" ]
295 cflags_cc = [
296 "-fthreadsafe-statics",
297 "-Wno-#warnings", # for chrono.cpp
298 "-Wno-redundant-move", # for system_error.cpp
299 ]
300 }
301
302 static_library("libc++") {
303 libcxx = "$android_ndk_root/sources/cxx-stl/llvm-libc++/libcxx"
304 sources = [
305 "$libcxx/src/algorithm.cpp",
306 "$libcxx/src/bind.cpp",
307 "$libcxx/src/chrono.cpp",
308 "$libcxx/src/condition_variable.cpp",
309 "$libcxx/src/debug.cpp",
310 "$libcxx/src/exception.cpp",
311 "$libcxx/src/future.cpp",
312 "$libcxx/src/hash.cpp",
313 "$libcxx/src/ios.cpp",
314 "$libcxx/src/iostream.cpp",
315 "$libcxx/src/locale.cpp",
316 "$libcxx/src/memory.cpp",
317 "$libcxx/src/mutex.cpp",
318 "$libcxx/src/new.cpp",
319 "$libcxx/src/optional.cpp",
320 "$libcxx/src/random.cpp",
321 "$libcxx/src/regex.cpp",
322 "$libcxx/src/shared_mutex.cpp",
323 "$libcxx/src/stdexcept.cpp",
324 "$libcxx/src/string.cpp",
325 "$libcxx/src/strstream.cpp",
326 "$libcxx/src/system_error.cpp",
327 "$libcxx/src/thread.cpp",
328 "$libcxx/src/typeinfo.cpp",
329 "$libcxx/src/utility.cpp",
330 "$libcxx/src/valarray.cpp",
331 "$libcxx/src/support/android/locale_android.cpp"
332 ]
333 configs -= [
334 "//build/config/compiler:chromium_code",
335 "//build/config/compiler:no_rtti",
336 "//build/config/gcc:no_exceptions",
337 "//build/config/gcc:symbol_visibility_hidden",
338 ]
339 configs += [
340 "//build/config/compiler:no_chromium_code",
341 "//build/config/compiler:rtti",
342 "//build/config/gcc:symbol_visibility_default",
343 ":libc++_flags",
344 ]
345 }
OLDNEW
« no previous file with comments | « build/config/sanitizers/BUILD.gn ('k') | chrome/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698