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

Side by Side Diff: src/platform-posix.cc

Issue 8554007: Minimal changes required to build d8 for Android (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 years, 1 month 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 | « src/d8.gyp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 28 matching lines...) Expand all
39 #include <sys/time.h> 39 #include <sys/time.h>
40 #include <sys/types.h> 40 #include <sys/types.h>
41 #include <sys/stat.h> 41 #include <sys/stat.h>
42 42
43 #include <arpa/inet.h> 43 #include <arpa/inet.h>
44 #include <netinet/in.h> 44 #include <netinet/in.h>
45 #include <netdb.h> 45 #include <netdb.h>
46 46
47 #undef MAP_TYPE 47 #undef MAP_TYPE
48 48
49 #if defined(ANDROID) 49 #if defined(ANDROID) &&!defined(V8_ANDROID_LOG_STDOUT)
50 #define LOG_TAG "v8" 50 #define LOG_TAG "v8"
51 #include <android/log.h> 51 #include <android/log.h>
52 #endif 52 #endif
53 53
54 #include "v8.h" 54 #include "v8.h"
55 55
56 #include "platform.h" 56 #include "platform.h"
57 57
58 namespace v8 { 58 namespace v8 {
59 namespace internal { 59 namespace internal {
(...skipping 425 matching lines...) Expand 10 before | Expand all | Expand 10 after
485 return ntohl(value); 485 return ntohl(value);
486 } 486 }
487 487
488 488
489 Socket* OS::CreateSocket() { 489 Socket* OS::CreateSocket() {
490 return new POSIXSocket(); 490 return new POSIXSocket();
491 } 491 }
492 492
493 493
494 } } // namespace v8::internal 494 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/d8.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698