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

Side by Side Diff: Source/build/scripts/scripts.gni

Issue 298703005: First pass on blink compiling for GN build (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebuilding fixed Created 6 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
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 # All paths in this file should be absolute so targets in any directory can use 5 # All paths in this file should be absolute so targets in any directory can use
6 # them without worrying about the current directory. 6 # them without worrying about the current directory.
7 _scripts_dir = "//third_party/WebKit/Source/build/scripts" 7 _scripts_dir = "//third_party/WebKit/Source/build/scripts"
8 8
9 scripts_for_in_files = [ 9 scripts_for_in_files = [
10 # jinja2/__init__.py contains version string, so sufficient as 10 # jinja2/__init__.py contains version string, so sufficient as
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 "$_scripts_dir/templates/ElementFactory.h.tmpl", 44 "$_scripts_dir/templates/ElementFactory.h.tmpl",
45 "$_scripts_dir/templates/ElementWrapperFactory.cpp.tmpl", 45 "$_scripts_dir/templates/ElementWrapperFactory.cpp.tmpl",
46 "$_scripts_dir/templates/ElementWrapperFactory.h.tmpl", 46 "$_scripts_dir/templates/ElementWrapperFactory.h.tmpl",
47 ] 47 ]
48 48
49 make_element_type_helpers_files = make_qualified_names_files + [ 49 make_element_type_helpers_files = make_qualified_names_files + [
50 "$_scripts_dir/make_element_type_helpers.py", 50 "$_scripts_dir/make_element_type_helpers.py",
51 "$_scripts_dir/templates/ElementTypeHelpers.h.tmpl", 51 "$_scripts_dir/templates/ElementTypeHelpers.h.tmpl",
52 ] 52 ]
53 53
54 # gperf_exe is relative to the build directory. Don't rebase it because on 54 # The executables are relative to the build directory. Don't rebase it because
55 # Posix we want to run the system one on the path. 55 # on Posix we want to run the system one on the path.
56 if (is_win) { 56 if (is_win) {
57 perl_exe = rebase_path("//third_party/perl/perl/bin/perl.exe", root_build_dir)
57 gperf_exe = rebase_path("//third_party/gperf/bin/gperf.exe", root_build_dir) 58 gperf_exe = rebase_path("//third_party/gperf/bin/gperf.exe", root_build_dir)
59 bison_exe = rebase_path("//third_party/bison/bin/bison.exe", root_build_dir)
60 # Using cl instead of cygwin gcc cuts the processing time from
61 # 1m58s to 0m52s.
62 preprocessor = "--preprocessor \"cl.exe -nologo -EP -TP\""
58 } else { 63 } else {
64 perl_exe = "perl"
59 gperf_exe = "gperf" 65 gperf_exe = "gperf"
66 bison_exe = "bison"
67 # We specify a preprocess so it happens locally and won't get
68 # distributed to goma.
69 # FIXME: /usr/bin/gcc won't exist on OSX forever. We want to
70 # use /usr/bin/clang once we require Xcode 4.x.
71 preprocessor = "--preprocessor \"/usr/bin/gcc -E -P -x c++\""
60 } 72 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698