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

Unified Diff: runtime/platform/BUILD.gn

Issue 2996903002: [infra] Translate _sources.gypi files to _sources.gni files (Closed)
Patch Set: Fix script Created 3 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
« no previous file with comments | « runtime/observatory/update_sources.py ('k') | runtime/platform/platform_headers.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/platform/BUILD.gn
diff --git a/runtime/platform/BUILD.gn b/runtime/platform/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..901b0ad27d5f89fac7a96b7c85432cb9ae0615b5
--- /dev/null
+++ b/runtime/platform/BUILD.gn
@@ -0,0 +1,34 @@
+# Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file
+# for details. All rights reserved. Use of this source code is governed by a
+# BSD-style license that can be found in the LICENSE file.
+
+import("platform_sources.gni")
+
+template("build_libdart_platform") {
+ extra_configs = []
+ if (defined(invoker.extra_configs)) {
+ extra_configs += invoker.extra_configs
+ }
+ static_library(target_name) {
+ configs += [ "..:dart_config" ] + extra_configs
+ if (is_fuchsia) {
+ configs -= [ "//build/config:symbol_visibility_hidden" ]
+ deps = [
+ "//apps/tracing/lib/trace",
+ ]
+ }
+ public_configs = [ "../vm:libdart_vm_config" ]
+
+ sources = platform_sources
+
+ include_dirs = [ ".." ]
+ }
+}
+
+build_libdart_platform("libdart_platform") {
+ extra_configs = [ "..:dart_maybe_product_config" ]
+}
+
+build_libdart_platform("libdart_platform_product") {
+ extra_configs = [ "..:dart_product_config" ]
+}
« no previous file with comments | « runtime/observatory/update_sources.py ('k') | runtime/platform/platform_headers.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698