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

Side by Side Diff: base/base.gyp

Issue 16770006: Implement basic stack traces on Android and reenable unit tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | base/debug/stack_trace_android.cc » ('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) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 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 { 5 {
6 'variables': { 6 'variables': {
7 'chromium_code': 1, 7 'chromium_code': 1,
8 }, 8 },
9 'includes': [ 9 'includes': [
10 '../build/win_precompile.gypi', 10 '../build/win_precompile.gypi',
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 ], 125 ],
126 }], 126 }],
127 ['target_arch == "mipsel"', { 127 ['target_arch == "mipsel"', {
128 'sources/': [ 128 'sources/': [
129 ['include', '^atomicops_internals_mips_gcc\\.cc$'], 129 ['include', '^atomicops_internals_mips_gcc\\.cc$'],
130 ], 130 ],
131 }], 131 }],
132 ], 132 ],
133 'dependencies': [ 133 'dependencies': [
134 'base_jni_headers', 134 'base_jni_headers',
135 'symbolize',
136 '../third_party/ashmem/ashmem.gyp:ashmem', 135 '../third_party/ashmem/ashmem.gyp:ashmem',
137 ], 136 ],
138 'include_dirs': [ 137 'include_dirs': [
139 '<(SHARED_INTERMEDIATE_DIR)/base', 138 '<(SHARED_INTERMEDIATE_DIR)/base',
140 ], 139 ],
141 'link_settings': { 140 'link_settings': {
142 'libraries': [ 141 'libraries': [
143 '-llog', 142 '-llog',
144 ], 143 ],
145 }, 144 },
146 'defines': [
147 'USE_SYMBOLIZE',
148 ],
149 'sources!': [ 145 'sources!': [
150 'debug/stack_trace_posix.cc', 146 'debug/stack_trace_posix.cc',
151 ], 147 ],
152 'includes': [ 148 'includes': [
153 '../build/android/cpufeatures.gypi', 149 '../build/android/cpufeatures.gypi',
154 ], 150 ],
155 }], 151 }],
156 ['OS == "android" and _toolset == "target" and android_webview_build == 0', { 152 ['OS == "android" and _toolset == "target" and android_webview_build == 0', {
157 'dependencies': [ 153 'dependencies': [
158 'base_java', 154 'base_java',
(...skipping 502 matching lines...) Expand 10 before | Expand all | Expand 10 after
661 '../testing/gtest.gyp:gtest', 657 '../testing/gtest.gyp:gtest',
662 '../third_party/icu/icu.gyp:icui18n', 658 '../third_party/icu/icu.gyp:icui18n',
663 '../third_party/icu/icu.gyp:icuuc', 659 '../third_party/icu/icu.gyp:icuuc',
664 ], 660 ],
665 'includes': ['../build/nocompile.gypi'], 661 'includes': ['../build/nocompile.gypi'],
666 'variables': { 662 'variables': {
667 # TODO(ajwong): Is there a way to autodetect this? 663 # TODO(ajwong): Is there a way to autodetect this?
668 'module_dir': 'base' 664 'module_dir': 'base'
669 }, 665 },
670 'conditions': [ 666 'conditions': [
671 ['use_glib==1 or (OS == "android" and _toolset == "target")', { 667 ['use_glib==1', {
672 'defines': [ 668 'defines': [
673 'USE_SYMBOLIZE', 669 'USE_SYMBOLIZE',
674 ], 670 ],
675 }], 671 }],
676 ['OS == "android"', { 672 ['OS == "android"', {
677 'dependencies': [ 673 'dependencies': [
678 'android/jni_generator/jni_generator.gyp:jni_generator_tests', 674 'android/jni_generator/jni_generator.gyp:jni_generator_tests',
679 ], 675 ],
680 'conditions': [ 676 'conditions': [
681 ['gtest_target_type == "shared_library"', { 677 ['gtest_target_type == "shared_library"', {
682 'dependencies': [ 678 'dependencies': [
683 '../testing/android/native_test.gyp:native_test_native_code', 679 '../testing/android/native_test.gyp:native_test_native_code',
684 ], 680 ],
685 }], 681 }],
686 ], 682 ],
687 'sources!': [
688 # Broken on Android, and already disabled there.
689 'debug/stack_trace_unittest.cc',
690 ],
691 }], 683 }],
692 ['OS == "ios" and _toolset != "host"', { 684 ['OS == "ios" and _toolset != "host"', {
693 'sources/': [ 685 'sources/': [
694 # Only test the iOS-meaningful portion of process_utils. 686 # Only test the iOS-meaningful portion of process_utils.
695 ['exclude', '^process_util_unittest\\.cc$'], 687 ['exclude', '^process_util_unittest\\.cc$'],
696 ['exclude', '^process/memory_unittest'], 688 ['exclude', '^process/memory_unittest'],
697 ['include', '^process_util_unittest_ios\\.cc$'], 689 ['include', '^process_util_unittest_ios\\.cc$'],
698 # Requires spawning processes. 690 # Requires spawning processes.
699 ['exclude', '^metrics/stats_table_unittest\\.cc$'], 691 ['exclude', '^metrics/stats_table_unittest\\.cc$'],
700 # iOS does not use message_pump_libevent. 692 # iOS does not use message_pump_libevent.
(...skipping 610 matching lines...) Expand 10 before | Expand all | Expand 10 after
1311 'base_unittests.isolate', 1303 'base_unittests.isolate',
1312 ], 1304 ],
1313 'sources': [ 1305 'sources': [
1314 'base_unittests.isolate', 1306 'base_unittests.isolate',
1315 ], 1307 ],
1316 }, 1308 },
1317 ], 1309 ],
1318 }], 1310 }],
1319 ], 1311 ],
1320 } 1312 }
OLDNEW
« no previous file with comments | « no previous file | base/debug/stack_trace_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698