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

Side by Side Diff: mojo/dart/embedder/builtin.cc

Issue 1346773002: Stop running pub get at gclient sync time and fix build bugs (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 3 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #include <stdio.h> 5 #include <stdio.h>
6 6
7 #include "base/i18n/icu_util.h" 7 #include "base/i18n/icu_util.h"
8 #include "dart/runtime/include/dart_api.h"
9 #include "mojo/dart/embedder/builtin.h" 8 #include "mojo/dart/embedder/builtin.h"
10 #include "mojo/dart/embedder/mojo_io_natives.h" 9 #include "mojo/dart/embedder/mojo_io_natives.h"
11 #include "mojo/dart/embedder/mojo_natives.h" 10 #include "mojo/dart/embedder/mojo_natives.h"
11 #include "mojo/public/third_party/dart/runtime/include/dart_api.h"
12 12
13 namespace mojo { 13 namespace mojo {
14 namespace dart { 14 namespace dart {
15 15
16 struct ResourcesEntry { 16 struct ResourcesEntry {
17 const char* path_; 17 const char* path_;
18 const char* resource_; 18 const char* resource_;
19 int length_; 19 int length_;
20 }; 20 };
21 21
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 DCHECK(builtin_libraries_[id].patch_resources_ != nullptr); 149 DCHECK(builtin_libraries_[id].patch_resources_ != nullptr);
150 LoadPatchFiles(library, 150 LoadPatchFiles(library,
151 builtin_libraries_[id].patch_url_, 151 builtin_libraries_[id].patch_url_,
152 builtin_libraries_[id].patch_resources_); 152 builtin_libraries_[id].patch_resources_);
153 } 153 }
154 return library; 154 return library;
155 } 155 }
156 156
157 } // namespace dart 157 } // namespace dart
158 } // namespace mojo 158 } // namespace mojo
OLDNEW
« DEPS ('K') | « mojo/dart/embedder/builtin.h ('k') | mojo/dart/embedder/builtin_natives.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698