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

Side by Side Diff: runtime/bin/gypi_contents.gni

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 unified diff | Download patch
« no previous file with comments | « runtime/bin/builtin_sources.gypi ('k') | runtime/bin/io_impl_sources.gni » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file
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.
4
5 _gypi_files = [
6 "builtin_sources.gypi",
7 "builtin_impl_sources.gypi",
8 "vmservice/vmservice_sources.gypi",
9 "io_sources.gypi",
10 "io_impl_sources.gypi",
11 ]
12
13 _gypi_contents = exec_script("../../tools/gypi_to_gn.py",
14 rebase_path(_gypi_files) + [ "--prefix" ],
15 "scope",
16 _gypi_files)
17
18 resources_sources_gypi = _gypi_contents.vmservice_sources_sources
19
20 builtin_sources_gypi = _gypi_contents.builtin_sources_sources
21 builtin_impl_sources_gypi = _gypi_contents.builtin_impl_sources_sources
22
23 io_sources_gypi = _gypi_contents.io_sources_sources
24 io_impl_sources_gypi = _gypi_contents.io_impl_sources_sources
25
26 _test_gypi_files = [
27 "../vm/vm_sources.gypi",
28 "builtin_impl_sources.gypi",
29 ]
30
31 _test_only_gypi_contents = exec_script("../../tools/gypi_to_gn.py",
32 rebase_path(_test_gypi_files) + [
33 "--keep_only=_test.cc",
34 "--keep_only=_test.h",
35 "--prefix",
36 ],
37 "scope",
38 _test_gypi_files)
39
40 # The VM sources are already included in libdart, so we just want to add in
41 # the tests here.
42 vm_tests_list = _test_only_gypi_contents.vm_sources_sources
43 builtin_impl_tests_list = _test_only_gypi_contents.builtin_impl_sources_sources
OLDNEW
« no previous file with comments | « runtime/bin/builtin_sources.gypi ('k') | runtime/bin/io_impl_sources.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698