Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(296)

Side by Side Diff: remoting/remoting.gyp

Issue 2834021: Revert 50667 - Add in support for internal pepper plugins into the PepperPlug... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 'variables': { 6 'variables': {
7 'chromium_code': 1, 7 'chromium_code': 1,
8 }, 8 },
9 9
10 'target_defaults': { 10 'target_defaults': {
11 'defines': [ 11 'defines': [
12 ], 12 ],
13 'include_dirs': [ 13 'include_dirs': [
14 '..', # Root of Chrome checkout 14 '..', # Root of Chrome checkout
15 ], 15 ],
16 }, 16 },
17 17
18 'conditions': [ 18 'conditions': [
19 # Chromoting Client targets
19 ['OS=="linux" or OS=="mac"', { 20 ['OS=="linux" or OS=="mac"', {
20 'targets': [ 21 'targets': [
22 {
23 'target_name': 'chromoting_client_plugin',
24 'type': 'static_library',
25 'defines': [
26 'HAVE_STDINT_H', # Required by on2_integer.h
27 ],
28 'dependencies': [
29 'chromoting_base',
30 'chromoting_client',
31 'chromoting_jingle_glue',
32 '../third_party/ppapi/ppapi.gyp:ppapi_cpp',
33 '../third_party/zlib/zlib.gyp:zlib',
34 ],
35 'sources': [
36 'client/plugin/chromoting_plugin.cc',
37 'client/plugin/chromoting_plugin.h',
38 'client/plugin/pepper_view.cc',
39 'client/plugin/pepper_view.h',
40 '../media/base/yuv_convert.cc',
41 '../media/base/yuv_convert.h',
42 '../media/base/yuv_row.h',
43 '../media/base/yuv_row_posix.cc',
44 '../media/base/yuv_row_table.cc',
45 ],
46 'conditions': [
47 ['OS=="win"', {
48 'sources': [
49 '../media/base/yuv_row_win.cc',
50 ],
51 }],
52 ['OS=="linux" and target_arch=="x64" and linux_fpic!=1', {
53 # Shared libraries need -fPIC on x86-64
54 'cflags': ['-fPIC'],
55 }],
56 ], # end of 'conditions'
57 }, # end of target 'chromoting_client_plugin'
58
21 # Simple webserver for testing chromoting client plugin. 59 # Simple webserver for testing chromoting client plugin.
22 { 60 {
23 'target_name': 'chromoting_client_test_webserver', 61 'target_name': 'chromoting_client_test_webserver',
24 'type': 'executable', 62 'type': 'executable',
25 'sources': [ 63 'sources': [
26 'tools/client_webserver/main.c', 64 'tools/client_webserver/main.c',
27 ], 65 ],
28 } 66 }, # end of target 'chromoting_client_test_webserver'
29 ], # end of target 'chromoting_client_test_webserver' 67
30 }], 68 ], # end of Client targets
69 }], # end of OS conditions for Client targets
31 70
32 # TODO(hclam): Enable this target for mac. 71 # TODO(hclam): Enable this target for mac.
33 ['OS=="linux" or OS=="freebsd" or OS=="openbsd"', { 72 ['OS=="linux" or OS=="freebsd" or OS=="openbsd"', {
34
35 'targets': [ 73 'targets': [
36 { 74 {
37 'target_name': 'chromoting_x11_client', 75 'target_name': 'chromoting_x11_client',
38 'type': 'executable', 76 'type': 'executable',
39 'dependencies': [ 77 'dependencies': [
40 'chromoting_base', 78 'chromoting_base',
41 'chromoting_client', 79 'chromoting_client',
42 'chromoting_jingle_glue', 80 'chromoting_jingle_glue',
43 ], 81 ],
44 'link_settings': { 82 'link_settings': {
(...skipping 10 matching lines...) Expand all
55 'client/x11_view.h', 93 'client/x11_view.h',
56 ], 94 ],
57 }, # end of target 'chromoting_x11_client' 95 }, # end of target 'chromoting_x11_client'
58 ], 96 ],
59 }], # end of OS conditions for x11 client 97 }], # end of OS conditions for x11 client
60 98
61 ], # end of 'conditions' 99 ], # end of 'conditions'
62 100
63 'targets': [ 101 'targets': [
64 { 102 {
65 'target_name': 'chromoting_plugin',
66 'type': 'static_library',
67 'defines': [
68 'HAVE_STDINT_H', # Required by on2_integer.h
69 ],
70 'dependencies': [
71 'chromoting_base',
72 'chromoting_client',
73 'chromoting_jingle_glue',
74 '../third_party/ppapi/ppapi.gyp:ppapi_c',
75 '../third_party/zlib/zlib.gyp:zlib',
76 ],
77 'sources': [
78 'client/plugin/chromoting_plugin.cc',
79 'client/plugin/chromoting_plugin.h',
80 'client/plugin/pepper_entrypoints.cc',
81 'client/plugin/pepper_entrypoints.h',
82 'client/plugin/pepper_view.cc',
83 'client/plugin/pepper_view.h',
84 '../media/base/yuv_convert.cc',
85 '../media/base/yuv_convert.h',
86 '../media/base/yuv_row.h',
87 '../media/base/yuv_row_table.cc',
88 ],
89 'conditions': [
90 ['OS=="win"', {
91 'sources': [
92 '../media/base/yuv_row_win.cc',
93 ],
94 }],
95 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="mac"', {
96 'sources': [
97 '../media/base/yuv_row_posix.cc',
98 ],
99 }],
100 ], # end of 'conditions'
101 }, # end of target 'chromoting_plugin'
102
103 {
104 'target_name': 'chromoting_base', 103 'target_name': 'chromoting_base',
105 'type': '<(library)', 104 'type': '<(library)',
106 'dependencies': [ 105 'dependencies': [
107 '../gfx/gfx.gyp:*', 106 '../gfx/gfx.gyp:*',
108 '../media/media.gyp:media', 107 '../media/media.gyp:media',
109 '../third_party/protobuf2/protobuf.gyp:protobuf_lite', 108 '../third_party/protobuf2/protobuf.gyp:protobuf_lite',
110 'base/protocol/chromotocol.gyp:chromotocol_proto_lib', 109 'base/protocol/chromotocol.gyp:chromotocol_proto_lib',
111 'chromoting_jingle_glue', 110 'chromoting_jingle_glue',
112 # TODO(hclam): Enable VP8 in the build. 111 # TODO(hclam): Enable VP8 in the build.
113 #'third_party/on2/on2.gyp:vp8', 112 #'third_party/on2/on2.gyp:vp8',
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after
357 ], # end of 'conditions' 356 ], # end of 'conditions'
358 }, # end of target 'chromoting_unittests' 357 }, # end of target 'chromoting_unittests'
359 ], # end of targets 358 ], # end of targets
360 } 359 }
361 360
362 # Local Variables: 361 # Local Variables:
363 # tab-width:2 362 # tab-width:2
364 # indent-tabs-mode:nil 363 # indent-tabs-mode:nil
365 # End: 364 # End:
366 # vim: set expandtab tabstop=2 shiftwidth=2: 365 # vim: set expandtab tabstop=2 shiftwidth=2:
OLDNEW
« no previous file with comments | « remoting/client/plugin/pepper_entrypoints.cc ('k') | webkit/glue/plugins/pepper_plugin_module.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698