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/android/config.gni") | 5 import("//build/config/android/config.gni") |
6 if (cpu_arch == "arm") { | 6 if (cpu_arch == "arm") { |
7 import("//build/config/arm.gni") | 7 import("//build/config/arm.gni") |
8 } | 8 } |
9 if (is_posix) { | 9 if (is_posix) { |
10 import("//build/config/gcc/gcc_version.gni") | 10 import("//build/config/gcc/gcc_version.gni") |
(...skipping 382 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
393 "-I" + rebase_path("$android_src/external/stlport/stlport", | 393 "-I" + rebase_path("$android_src/external/stlport/stlport", |
394 root_build_dir), | 394 root_build_dir), |
395 ] | 395 ] |
396 libs += [ | 396 libs += [ |
397 "stlport", | 397 "stlport", |
398 ] | 398 ] |
399 } else { | 399 } else { |
400 android_stlport_root = "$android_ndk_root/sources/cxx-stl/stlport" | 400 android_stlport_root = "$android_ndk_root/sources/cxx-stl/stlport" |
401 | 401 |
402 cflags += [ | 402 cflags += [ |
403 "-isystem" + rebase_path("$android_stlport_root/stlport", | 403 "-I" + rebase_path("$android_stlport_root/stlport", root_build_dir) |
404 root_build_dir) | |
405 ] | 404 ] |
406 lib_dirs += [ "$android_stlport_root/libs/$android_app_abi" ] | 405 lib_dirs += [ "$android_stlport_root/libs/$android_app_abi" ] |
407 | 406 |
408 if (component_mode == "shared_library") { | 407 if (component_mode == "shared_library") { |
409 libs += [ "stlport_shared" ] | 408 libs += [ "stlport_shared" ] |
410 } else { | 409 } else { |
411 libs += [ "stlport_static" ] | 410 libs += [ "stlport_static" ] |
412 } | 411 } |
413 } | 412 } |
414 | 413 |
(...skipping 416 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
831 } else { | 830 } else { |
832 cflags = [ "-g1" ] | 831 cflags = [ "-g1" ] |
833 } | 832 } |
834 } | 833 } |
835 | 834 |
836 config("no_symbols") { | 835 config("no_symbols") { |
837 if (!is_win) { | 836 if (!is_win) { |
838 cflags = [ "-g0" ] | 837 cflags = [ "-g0" ] |
839 } | 838 } |
840 } | 839 } |
OLD | NEW |