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

Side by Side Diff: tools/cygprofile/cygprofile.gyp

Issue 10697079: Upstreaming Cygprofile for Android. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 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
OLDNEW
1 # Copyright (c) 2011 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 }, 7 },
8 'targets': [ 8 'targets': [
9 { 9 {
10 'target_name': 'cygprofile', 10 'target_name': 'cygprofile',
11 'type': 'static_library', 11 'type': 'static_library',
12 'include_dirs': [ '../..', ], 12 'include_dirs': [ '../..', ],
13 'conditions': [
14 [ 'OS == "android"', {
15 'sources': [
16 'cygprofile_android.h',
17 'cygprofile_android.cc',
18 ],
19 },
20 { # OS != "android"
21 'sources': [
22 'cygprofile.cc',
23 ],
24 'cflags!': [ '-finstrument-functions' ],
25 'cflags': [ '-std=c++0x' ], # for unordered_set
26 }],
27 ],
28 },
29 {
30 'target_name': 'cygprofile_android_test',
31 'type': 'executable',
32 'dependencies': [
33 './cygprofile.gyp:cygprofile',
34 ],
13 'sources': [ 35 'sources': [
14 'cygprofile.cc', 36 'cygprofile_android_unittest.cc',
15 ], 37 ],
16 'cflags!': [ '-finstrument-functions' ],
17 'cflags': [ '-std=c++0x' ], # for unordered_set
18 }, 38 },
19 ], 39 ],
20 } 40 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698