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

Side by Side Diff: build/android/native_app_dependencies.gypi

Issue 1263713005: Link libc++_shared with asan=1 on Android. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 years, 4 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 | « no previous file | build/android/pack_relocations.gypi » ('j') | build/android/pack_relocations.gypi » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2013 The Chromium Authors. All rights reserved. 1 # Copyright 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 # This file is meant to be included into a target to provide a rule 5 # This file is meant to be included into a target to provide a rule
6 # to strip and place dependent shared libraries required by a native binary in a 6 # to strip and place dependent shared libraries required by a native binary in a
7 # single folder that can later be pushed to the device. 7 # single folder that can later be pushed to the device.
8 # 8 #
9 # NOTE: consider packaging your binary as an apk instead of running a native 9 # NOTE: consider packaging your binary as an apk instead of running a native
10 # library. 10 # library.
(...skipping 11 matching lines...) Expand all
22 # }, 22 # },
23 # 'includes': [ '../../build/android/native_app_dependencies.gypi' ], 23 # 'includes': [ '../../build/android/native_app_dependencies.gypi' ],
24 # }, 24 # },
25 # 25 #
26 26
27 { 27 {
28 'variables': { 28 'variables': {
29 'include_main_binary%': 1, 29 'include_main_binary%': 1,
30 }, 30 },
31 'conditions': [ 31 'conditions': [
32 ['component == "shared_library"', { 32 ['android_libcpp_library == "c++_shared"', {
33 'dependencies': [ 33 'dependencies': [
34 '<(DEPTH)/build/android/setup.gyp:copy_system_libraries', 34 '<(DEPTH)/build/android/setup.gyp:copy_system_libraries',
35 ], 35 ],
36 'variables': { 36 'variables': {
37 'intermediate_dir': '<(PRODUCT_DIR)/<(_target_name)', 37 'intermediate_dir': '<(PRODUCT_DIR)/<(_target_name)',
38 'ordered_libraries_file': '<(intermediate_dir)/native_libraries.json', 38 'ordered_libraries_file': '<(intermediate_dir)/native_libraries.json',
39 }, 39 },
40 'actions': [ 40 'actions': [
41 { 41 {
42 'variables': { 42 'variables': {
(...skipping 15 matching lines...) Expand all
58 ['include_main_binary==1', { 58 ['include_main_binary==1', {
59 'copies': [ 59 'copies': [
60 { 60 {
61 'destination': '<(output_dir)', 61 'destination': '<(output_dir)',
62 'files': [ '<(native_binary)' ], 62 'files': [ '<(native_binary)' ],
63 } 63 }
64 ], 64 ],
65 }], 65 }],
66 ], 66 ],
67 } 67 }
OLDNEW
« no previous file with comments | « no previous file | build/android/pack_relocations.gypi » ('j') | build/android/pack_relocations.gypi » ('J')

Powered by Google App Engine
This is Rietveld 408576698