| OLD | NEW |
| 1 # Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2010 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 | 5 |
| 6 { | 6 { |
| 7 'targets': [ | 7 'targets': [ |
| 8 { | 8 { |
| 9 'target_name': 'pepper_test_plugin', | 9 'target_name': 'pepper_test_plugin', |
| 10 'dependencies': [ | 10 'dependencies': [ |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 43 '--internal-pepper', | 43 '--internal-pepper', |
| 44 '--enable-gpu-plugin', | 44 '--enable-gpu-plugin', |
| 45 '--load-plugin=$(TargetPath)', | 45 '--load-plugin=$(TargetPath)', |
| 46 'file://$(ProjectDir)test_page.html', | 46 'file://$(ProjectDir)test_page.html', |
| 47 ], | 47 ], |
| 48 }, | 48 }, |
| 49 }], | 49 }], |
| 50 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris"', { | 50 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris"', { |
| 51 'type': 'shared_library', | 51 'type': 'shared_library', |
| 52 'cflags': ['-fvisibility=hidden'], | 52 'cflags': ['-fvisibility=hidden'], |
| 53 # -gstabs, used in the official builds, causes an ICE. Simply remove | |
| 54 # it. | |
| 55 'cflags!': ['-gstabs'], | |
| 56 }], | 53 }], |
| 57 ['OS=="linux" or OS=="openbsd" or OS=="freebsd" and (target_arch=="x64"
or target_arch=="arm") and linux_fpic!=1', { | 54 ['OS=="linux" or OS=="openbsd" or OS=="freebsd" and (target_arch=="x64"
or target_arch=="arm") and linux_fpic!=1', { |
| 58 'product_name': 'pepper_test_plugin', | 55 'product_name': 'pepper_test_plugin', |
| 59 # Shared libraries need -fPIC on x86-64 | 56 # Shared libraries need -fPIC on x86-64 |
| 60 'cflags': ['-fPIC'], | 57 'cflags': ['-fPIC'], |
| 61 'defines': ['INDEPENDENT_PLUGIN'], | 58 'defines': ['INDEPENDENT_PLUGIN'], |
| 62 }, { | 59 }, { |
| 63 # Dependencies for all other OS/CPU combinations except those above | 60 # Dependencies for all other OS/CPU combinations except those above |
| 64 'dependencies': [ | 61 'dependencies': [ |
| 65 '../../../base/base.gyp:base', | 62 '../../../base/base.gyp:base', |
| (...skipping 18 matching lines...) Expand all Loading... |
| 84 # 'target_name' : 'Chromium', | 81 # 'target_name' : 'Chromium', |
| 85 # 'type' : 'executable', | 82 # 'type' : 'executable', |
| 86 # 'xcode_settings' : { | 83 # 'xcode_settings' : { |
| 87 # 'ARGUMENTS' : '--renderer-startup-dialog --internal-pepper --no-san
dbox file://${SRCROOT}/test_page.html' | 84 # 'ARGUMENTS' : '--renderer-startup-dialog --internal-pepper --no-san
dbox file://${SRCROOT}/test_page.html' |
| 88 # }, | 85 # }, |
| 89 # }], | 86 # }], |
| 90 #], | 87 #], |
| 91 }, | 88 }, |
| 92 ], | 89 ], |
| 93 } | 90 } |
| OLD | NEW |