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

Unified Diff: build/standalone.gypi

Issue 1418453007: Merge to XFA: Add support for building with goma. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Created 5 years, 1 month 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 | « README.md ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/standalone.gypi
diff --git a/build/standalone.gypi b/build/standalone.gypi
index a70b442beeca604c02252897497e6c5063020f45..3d256693ca221e1ebee0b1ff9ec8852d967289c3 100644
--- a/build/standalone.gypi
+++ b/build/standalone.gypi
@@ -10,6 +10,8 @@
'clang%': 0,
'asan%': 0,
'sanitizer_coverage%': 0,
+ 'use_goma%': 0,
+ 'gomadir%': '',
'msvs_multi_core_compile%': '1',
'variables': {
'variables': {
@@ -58,6 +60,12 @@
}, {
'clang%': 0,
}],
+ # Set default gomadir.
+ ['OS=="win"', {
+ 'gomadir%': 'c:\\goma\\goma-win',
+ }, {
+ 'gomadir%': '<!(/bin/echo -n ${HOME}/goma)',
+ }],
],
},
'target_defaults': {
@@ -283,6 +291,17 @@
'_HAS_EXCEPTIONS=0',
],
}],
+ ['use_goma==1', {
+ # goma doesn't support PDB yet.
+ 'msvs_settings': {
+ 'VCLinkerTool': {
+ 'GenerateDebugInformation': 'true',
+ },
+ 'VCCLCompilerTool': {
+ 'DebugInformationFormat': '1',
+ },
+ },
+ }],
],
}], # OS=="win"
['OS=="mac"', {
@@ -314,5 +333,11 @@
}],
],
}], # OS=="linux" or OS=="mac"
+ ["use_goma==1", {
+ 'make_global_settings': [
+ ['CC_wrapper', '<(gomadir)/gomacc'],
+ ['CXX_wrapper', '<(gomadir)/gomacc'],
+ ],
+ }], # use_goma==1
],
}
« no previous file with comments | « README.md ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698