| 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 29 matching lines...) Expand all Loading... |
| 40 'action': [ | 40 'action': [ |
| 41 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)chrome<(EXECUTABLE_SUFFIX)', | 41 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)chrome<(EXECUTABLE_SUFFIX)', |
| 42 '--no-sandbox', | 42 '--no-sandbox', |
| 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_posix == 1 and OS != "mac"', { |
| 51 'type': 'shared_library', | 51 'type': 'shared_library', |
| 52 'cflags': ['-fvisibility=hidden'], | 52 'cflags': ['-fvisibility=hidden'], |
| 53 }], | 53 }], |
| 54 ['OS=="linux" or OS=="openbsd" or OS=="freebsd" and (target_arch=="x64"
or target_arch=="arm") and linux_fpic!=1', { | 54 ['os_posix == 1 and OS != "mac" and (target_arch == "x64" or target_arch
== "arm") and linux_fpic != 1', { |
| 55 'product_name': 'pepper_test_plugin', | 55 'product_name': 'pepper_test_plugin', |
| 56 # Shared libraries need -fPIC on x86-64 | 56 # Shared libraries need -fPIC on x86-64 |
| 57 'cflags': ['-fPIC'], | 57 'cflags': ['-fPIC'], |
| 58 'defines': ['INDEPENDENT_PLUGIN'], | 58 'defines': ['INDEPENDENT_PLUGIN'], |
| 59 }, { | 59 }, { |
| 60 # Dependencies for all other OS/CPU combinations except those above | 60 # Dependencies for all other OS/CPU combinations except those above |
| 61 'dependencies': [ | 61 'dependencies': [ |
| 62 '../../../base/base.gyp:base', | 62 '../../../base/base.gyp:base', |
| 63 '../../../skia/skia.gyp:skia', | 63 '../../../skia/skia.gyp:skia', |
| 64 '../../../gpu/gpu.gyp:pgl', | 64 '../../../gpu/gpu.gyp:pgl', |
| (...skipping 16 matching lines...) Expand all Loading... |
| 81 # 'target_name' : 'Chromium', | 81 # 'target_name' : 'Chromium', |
| 82 # 'type' : 'executable', | 82 # 'type' : 'executable', |
| 83 # 'xcode_settings' : { | 83 # 'xcode_settings' : { |
| 84 # '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' |
| 85 # }, | 85 # }, |
| 86 # }], | 86 # }], |
| 87 #], | 87 #], |
| 88 }, | 88 }, |
| 89 ], | 89 ], |
| 90 } | 90 } |
| OLD | NEW |