Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: libadblockplus.gypi

Issue 29451722: Issue 4907 - Update v8 to 5.7.278 in libadblockplus (Closed) Base URL: https://github.com/adblockplus/libadblockplus.git
Patch Set: Created May 30, 2017, 3:02 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: libadblockplus.gypi
diff --git a/libadblockplus.gypi b/libadblockplus.gypi
new file mode 100644
index 0000000000000000000000000000000000000000..3c5b63dcdc704981d7c1ee81d3e49e20ef957a6c
--- /dev/null
+++ b/libadblockplus.gypi
@@ -0,0 +1,65 @@
+{
+ 'includes': ['common.gypi'],
+ 'conditions': [
+ ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris" \
+ or OS=="netbsd" or OS=="android"', {
sergei 2017/05/30 15:21:32 I used the old list of OSes (see also common.gypi)
+ 'target_defaults': {
+ 'cflags_cc': [ '-Wall', '-W', '-Wno-unused-parameter',
+ '-Wnon-virtual-dtor', '-pedantic' ]
+ }
+ }],
+ ['OS=="win"', {
+ 'target_defaults': {
+ 'conditions': [
+ ['target_arch=="x64"', {
+ 'msvs_configuration_platform': 'x64'
+ }]
+ ],
+ 'msvs_configuration_attributes': {
+ 'CharacterSet': '1',
+ },
+ 'msbuild_toolset': 'v140_xp',
Eric 2017/05/30 17:31:41 Why the XP version? Toolset 14.0 already won't wor
sergei 2017/05/31 12:47:12 Since there is no decision about dropping of _xp y
+ 'defines': [
+ 'WIN32',
+ ],
+ 'link_settings': {
+ 'libraries': ['-lDbgHelp'],
+ },
+ }
+ }],
+ ],
+
+ 'target_defaults': {
+ 'configurations': {
+ 'Debug': {
+ 'defines': [
+ 'DEBUG'
+ ],
+ 'msvs_settings': {
+ 'VCCLCompilerTool': {
+ 'conditions': [
+ ['component=="shared_library"', {
+ 'RuntimeLibrary': '3', #/MDd
+ }, {
+ 'RuntimeLibrary': '1', #/MTd
+ }
+ ]]
+ }
+ }
+ },
+ 'Release': {
+ 'msvs_settings': {
+ 'VCCLCompilerTool': {
+ 'conditions': [
+ ['component=="shared_library"', {
+ 'RuntimeLibrary': '2', #/MD
+ }, {
+ 'RuntimeLibrary': '0', #/MT
+ }
+ ]]
+ }
+ }
+ }
+ },
+ }
+}

Powered by Google App Engine
This is Rietveld