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

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

Issue 7059015: Platform and build updates for Android build (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | tools/gyp/v8.gyp » ('j') | tools/gyp/v8.gyp » ('J')
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 26 matching lines...) Expand all
37 #include <sys/resource.h> 37 #include <sys/resource.h>
38 #include <sys/time.h> 38 #include <sys/time.h>
39 #include <sys/types.h> 39 #include <sys/types.h>
40 40
41 #include <arpa/inet.h> 41 #include <arpa/inet.h>
42 #include <netinet/in.h> 42 #include <netinet/in.h>
43 #include <netdb.h> 43 #include <netdb.h>
44 44
45 #if defined(ANDROID) 45 #if defined(ANDROID)
46 #define LOG_TAG "v8" 46 #define LOG_TAG "v8"
47 #include <utils/Log.h> // LOG_PRI_VA 47 #include <android/log.h>
48 #include "cutils/log.h"
48 #endif 49 #endif
49 50
50 #include "v8.h" 51 #include "v8.h"
51 52
52 #include "platform.h" 53 #include "platform.h"
53 54
54 namespace v8 { 55 namespace v8 {
55 namespace internal { 56 namespace internal {
56 57
57 // ---------------------------------------------------------------------------- 58 // ----------------------------------------------------------------------------
(...skipping 357 matching lines...) Expand 10 before | Expand all | Expand 10 after
415 return ntohl(value); 416 return ntohl(value);
416 } 417 }
417 418
418 419
419 Socket* OS::CreateSocket() { 420 Socket* OS::CreateSocket() {
420 return new POSIXSocket(); 421 return new POSIXSocket();
421 } 422 }
422 423
423 424
424 } } // namespace v8::internal 425 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « no previous file | tools/gyp/v8.gyp » ('j') | tools/gyp/v8.gyp » ('J')

Powered by Google App Engine
This is Rietveld 408576698