OLD | NEW |
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/config.gni") | 5 import("//build/config/android/config.gni") |
6 import("//build/config/android/internal_rules.gni") | 6 import("//build/config/android/internal_rules.gni") |
7 import("//build/toolchain/toolchain.gni") | 7 import("//build/toolchain/toolchain.gni") |
8 | 8 |
9 assert(is_android) | 9 assert(is_android) |
10 | 10 |
(...skipping 1949 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1960 ] | 1960 ] |
1961 } | 1961 } |
1962 } | 1962 } |
1963 | 1963 |
1964 _extra_native_libs = [] | 1964 _extra_native_libs = [] |
1965 _extra_native_libs_deps = [] | 1965 _extra_native_libs_deps = [] |
1966 _extra_native_libs_even_when_incremental = [] | 1966 _extra_native_libs_even_when_incremental = [] |
1967 _extra_native_libs_even_when_incremental_deps = [] | 1967 _extra_native_libs_even_when_incremental_deps = [] |
1968 assert(_extra_native_libs_even_when_incremental_deps == []) # Mark as used. | 1968 assert(_extra_native_libs_even_when_incremental_deps == []) # Mark as used. |
1969 if (_native_libs_deps != []) { | 1969 if (_native_libs_deps != []) { |
1970 if (is_debug) { | 1970 # zipalign can't align gdb_server, don't pack gdbserver temporarily. |
| 1971 if (is_debug && (!defined(invoker.page_align_shared_libraries) || |
| 1972 !invoker.page_align_shared_libraries)) { |
1971 _extra_native_libs_even_when_incremental = [ android_gdbserver ] | 1973 _extra_native_libs_even_when_incremental = [ android_gdbserver ] |
1972 } | 1974 } |
1973 | 1975 |
1974 if (_use_chromium_linker) { | 1976 if (_use_chromium_linker) { |
1975 _extra_native_libs = | 1977 _extra_native_libs = |
1976 [ "$root_shlib_dir/libchromium_android_linker$shlib_extension" ] | 1978 [ "$root_shlib_dir/libchromium_android_linker$shlib_extension" ] |
1977 _extra_native_libs_deps += | 1979 _extra_native_libs_deps += |
1978 [ "//base/android/linker:chromium_android_linker" ] | 1980 [ "//base/android/linker:chromium_android_linker" ] |
1979 } | 1981 } |
1980 } | 1982 } |
(...skipping 568 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2549 android_library(target_name) { | 2551 android_library(target_name) { |
2550 chromium_code = false | 2552 chromium_code = false |
2551 java_files = [] | 2553 java_files = [] |
2552 srcjar_deps = [ ":${_template_name}__protoc_java" ] | 2554 srcjar_deps = [ ":${_template_name}__protoc_java" ] |
2553 deps = [ | 2555 deps = [ |
2554 "//third_party/android_protobuf:protobuf_nano_javalib", | 2556 "//third_party/android_protobuf:protobuf_nano_javalib", |
2555 ] | 2557 ] |
2556 } | 2558 } |
2557 } | 2559 } |
2558 } | 2560 } |
OLD | NEW |