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: add Xcode into readme Created June 2, 2017, 2:24 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..8d47d37ef6abb82bc496eba3d24ec23d77199751
--- /dev/null
+++ b/libadblockplus.gypi
@@ -0,0 +1,74 @@
+{
+ 'includes': ['common.gypi'],
+ 'conditions': [
+ ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris" \
+ or OS=="netbsd" or OS=="android"', {
+ 'target_defaults': {
+ 'cflags_cc': [ '-Wall', '-W', '-Wno-unused-parameter',
+ '-Wnon-virtual-dtor', '-pedantic' ]
+ }
+ }],
+ ['OS=="linux" and target_arch=="ia32"', {
+ 'target_defaults': {
+ 'cflags_cc': [ '-m32' ]
+ }
+ }],
+ ['OS=="win"', {
+ 'target_defaults': {
+ 'conditions': [
+ ['target_arch=="x64"', {
+ 'msvs_configuration_platform': 'x64'
+ }]
+ ],
+ 'msvs_configuration_attributes': {
+ 'CharacterSet': '1',
+ },
+ 'defines': [
+ 'WIN32',
+ ],
+ 'link_settings': {
+ 'libraries': ['-lDbgHelp'],
+ },
+ }
+ }],
+ ['OS=="mac" and target_arch=="ia32"', {
+ 'xcode_settings': {
+ 'ARCHS': ["i386"]
+ }
+ }],
+ ],
+
+ '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