summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbuild/gyp_pdfium1
-rw-r--r--build/standalone.gypi3
2 files changed, 3 insertions, 1 deletions
diff --git a/build/gyp_pdfium b/build/gyp_pdfium
index 59f2c6cb9c..7019795d09 100755
--- a/build/gyp_pdfium
+++ b/build/gyp_pdfium
@@ -42,5 +42,6 @@ def main():
run_gyp(args)
+
if __name__ == '__main__':
sys.exit(main()) \ No newline at end of file
diff --git a/build/standalone.gypi b/build/standalone.gypi
index ab8475929b..3b4f01bef6 100644
--- a/build/standalone.gypi
+++ b/build/standalone.gypi
@@ -37,6 +37,7 @@
'host_arch%': '<(host_arch)',
'target_arch%': '<(target_arch)',
},
+ # These two are needed by V8.
'host_arch%': '<(host_arch)',
'target_arch%': '<(target_arch)',
'werror%': '-Werror',
@@ -134,7 +135,7 @@
'defines!': [
'DEBUG',
],
- 'cflags!': [
+ 'cflags': [
'-Wall',
'-W',
'-Wno-unused-parameter',