| 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 27 matching lines...) Expand all Loading... |
| 38 'action': [ | 38 'action': [ |
| 39 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)chrome<(EXECUTABLE_SUFFIX)', | 39 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)chrome<(EXECUTABLE_SUFFIX)', |
| 40 '--no-sandbox', | 40 '--no-sandbox', |
| 41 '--internal-pepper', | 41 '--internal-pepper', |
| 42 '--enable-gpu-plugin', | 42 '--enable-gpu-plugin', |
| 43 '--load-plugin=$(TargetPath)', | 43 '--load-plugin=$(TargetPath)', |
| 44 'file://$(ProjectDir)test_page.html', | 44 'file://$(ProjectDir)test_page.html', |
| 45 ], | 45 ], |
| 46 }, | 46 }, |
| 47 }], | 47 }], |
| 48 ['OS=="linux" or OS=="freebsd" or OS=="openbsd"', { | 48 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris"', { |
| 49 'type': 'shared_library', | 49 'type': 'shared_library', |
| 50 'cflags': ['-fvisibility=hidden'], | 50 'cflags': ['-fvisibility=hidden'], |
| 51 # -gstabs, used in the official builds, causes an ICE. Simply remove | 51 # -gstabs, used in the official builds, causes an ICE. Simply remove |
| 52 # it. | 52 # it. |
| 53 'cflags!': ['-gstabs'], | 53 'cflags!': ['-gstabs'], |
| 54 }], | 54 }], |
| 55 ['OS=="linux" and (target_arch=="x64" or target_arch=="arm") and linux_f
pic!=1', { | 55 ['OS=="linux" and (target_arch=="x64" or target_arch=="arm") and linux_f
pic!=1', { |
| 56 'product_name': 'pepper_test_plugin', | 56 'product_name': 'pepper_test_plugin', |
| 57 # Shared libraries need -fPIC on x86-64 | 57 # Shared libraries need -fPIC on x86-64 |
| 58 'cflags': ['-fPIC'], | 58 'cflags': ['-fPIC'], |
| (...skipping 23 matching lines...) Expand all Loading... |
| 82 # 'target_name' : 'Chromium', | 82 # 'target_name' : 'Chromium', |
| 83 # 'type' : 'executable', | 83 # 'type' : 'executable', |
| 84 # 'xcode_settings' : { | 84 # 'xcode_settings' : { |
| 85 # 'ARGUMENTS' : '--renderer-startup-dialog --internal-pepper --no-san
dbox file://${SRCROOT}/test_page.html' | 85 # 'ARGUMENTS' : '--renderer-startup-dialog --internal-pepper --no-san
dbox file://${SRCROOT}/test_page.html' |
| 86 # }, | 86 # }, |
| 87 # }], | 87 # }], |
| 88 #], | 88 #], |
| 89 }, | 89 }, |
| 90 ], | 90 ], |
| 91 } | 91 } |
| OLD | NEW |