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

Side by Side Diff: runtime/platform/thread.h

Issue 10826233: Add _android files for building DartVM on Android (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Incorporate reviewer's feedback (asiva, Soren Gjesse) Created 8 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « runtime/platform/platform_sources.gypi ('k') | runtime/platform/thread_android.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #ifndef PLATFORM_THREAD_H_ 5 #ifndef PLATFORM_THREAD_H_
6 #define PLATFORM_THREAD_H_ 6 #define PLATFORM_THREAD_H_
7 7
8 #include "platform/globals.h" 8 #include "platform/globals.h"
9 9
10 // Declare the OS-specific types ahead of defining the generic classes. 10 // Declare the OS-specific types ahead of defining the generic classes.
11 #if defined(TARGET_OS_LINUX) 11 #if defined(TARGET_OS_ANDROID)
12 #include "platform/thread_android.h"
13 #elif defined(TARGET_OS_LINUX)
12 #include "platform/thread_linux.h" 14 #include "platform/thread_linux.h"
13 #elif defined(TARGET_OS_MACOS) 15 #elif defined(TARGET_OS_MACOS)
14 #include "platform/thread_macos.h" 16 #include "platform/thread_macos.h"
15 #elif defined(TARGET_OS_WINDOWS) 17 #elif defined(TARGET_OS_WINDOWS)
16 #include "platform/thread_win.h" 18 #include "platform/thread_win.h"
17 #else 19 #else
18 #error Unknown target os. 20 #error Unknown target os.
19 #endif 21 #endif
20 22
21 namespace dart { 23 namespace dart {
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 private: 84 private:
83 MonitorData data_; // OS-specific data. 85 MonitorData data_; // OS-specific data.
84 86
85 DISALLOW_COPY_AND_ASSIGN(Monitor); 87 DISALLOW_COPY_AND_ASSIGN(Monitor);
86 }; 88 };
87 89
88 } // namespace dart 90 } // namespace dart
89 91
90 92
91 #endif // PLATFORM_THREAD_H_ 93 #endif // PLATFORM_THREAD_H_
OLDNEW
« no previous file with comments | « runtime/platform/platform_sources.gypi ('k') | runtime/platform/thread_android.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698