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

Unified Diff: tools/android/memdump/memdump.gyp

Issue 15861023: Add tools/android/memdump/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Polish Created 7 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: tools/android/memdump/memdump.gyp
diff --git a/tools/android/memdump/memdump.gyp b/tools/android/memdump/memdump.gyp
new file mode 100644
index 0000000000000000000000000000000000000000..1c4234b5e2a3e2f8ce4bc9e9adbd8bd2cb8fea89
--- /dev/null
+++ b/tools/android/memdump/memdump.gyp
@@ -0,0 +1,35 @@
+# Copyright (c) 2012 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+{
+ 'targets': [
+ {
+ 'target_name': 'memdump',
+ 'type': 'executable',
+ 'include_dirs': [
+ '../../..',
+ ],
+ 'dependencies': [
+ '../../../base/base.gyp:base',
+ '../../../third_party/re2/re2.gyp:re2',
+ ],
+ 'conditions': [
+ # Warning: A PIE tool cannot run on ICS 4.0.4, so only
+ # build it as position-independent when ASAN
+ # is activated. See b/6587214 for details.
+ [ 'asan==1', {
+ 'cflags': [
+ '-fPIE',
+ ],
+ 'ldflags': [
+ '-pie',
+ ],
+ }],
+ ],
+ 'sources': [
+ 'memdump.cc',
+ ],
+ },
+ ],
+}

Powered by Google App Engine
This is Rietveld 408576698