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

Unified Diff: samples/samples.gyp

Issue 7740020: Refactor .gyp files: (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 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 side-by-side diff with in-line comments
Download patch
Index: samples/samples.gyp
diff --git a/samples/samples.gyp b/samples/samples.gyp
index 7023e0aec3642ebfb130343f75c59477d92fe748..b88f1f507e2a016c968910a54d8096ee066e2a24 100644
--- a/samples/samples.gyp
+++ b/samples/samples.gyp
@@ -26,6 +26,7 @@
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
{
+ 'includes': ['../build/common.gypi'],
'target_defaults': {
'type': 'executable',
'dependencies': [
@@ -34,6 +35,13 @@
'include_dirs': [
'../include',
],
+ 'conditions': [
+ ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris"', {
+ 'ldflags': [
+ '-pthread',
+ ]},
+ ],
Yang 2011/08/25 11:24:03 Can this be moved into common.gypi? For example un
Jakob Kummerow 2011/08/25 14:46:08 Done.
+ ],
},
'targets': [
{

Powered by Google App Engine
This is Rietveld 408576698