OLD | NEW |
---|---|
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 'targets': [ | 6 'targets': [ |
7 { | 7 { |
8 'target_name': 'remoting_client_plugin', | 8 'target_name': 'remoting_client_plugin', |
9 'type': 'static_library', | 9 'type': 'static_library', |
10 'variables': { 'enable_wexit_time_destructors': 1, }, | 10 'variables': { 'enable_wexit_time_destructors': 1, }, |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
85 ], | 85 ], |
86 }, | 86 }, |
87 ], | 87 ], |
88 }, # end of target 'remoting_webapp_html' | 88 }, # end of target 'remoting_webapp_html' |
89 | 89 |
90 { | 90 { |
91 'target_name': 'remoting_webapp', | 91 'target_name': 'remoting_webapp', |
92 'type': 'none', | 92 'type': 'none', |
93 'dependencies': [ | 93 'dependencies': [ |
94 'remoting_webapp_v1', | 94 'remoting_webapp_v1', |
95 'remoting_webapp_v2', | |
96 ], | 95 ], |
97 'conditions': [ | 96 'conditions': [ |
98 ['disable_nacl==0 and disable_nacl_untrusted==0', { | 97 ['disable_nacl==0 and disable_nacl_untrusted==0', { |
99 'dependencies': [ | 98 'dependencies': [ |
100 'remoting_webapp_pnacl', | 99 'remoting_webapp_v2', |
101 ], | 100 ], |
102 }], | 101 }], |
103 ], | 102 ], |
104 }, # end of target 'remoting_webapp' | 103 }, # end of target 'remoting_webapp' |
105 | 104 |
106 { | 105 { |
107 'target_name': 'remoting_webapp_v1', | 106 'target_name': 'remoting_webapp_v1', |
108 'type': 'none', | 107 'type': 'none', |
109 'variables': { | 108 'variables': { |
110 'webapp_type': 'v1', | 109 'webapp_type': 'v1', |
111 'output_dir': '<(PRODUCT_DIR)/remoting/remoting.webapp', | 110 'output_dir': '<(PRODUCT_DIR)/remoting/remoting.webapp', |
112 'zip_path': '<(PRODUCT_DIR)/remoting-webapp.zip', | 111 'zip_path': '<(PRODUCT_DIR)/remoting-webapp.zip', |
113 }, | 112 }, |
114 'includes': [ 'remoting_webapp.gypi', ], | 113 'includes': [ 'remoting_webapp.gypi', ], |
115 }, # end of target 'remoting_webapp_v1' | 114 }, # end of target 'remoting_webapp_v1' |
116 | |
117 { | |
118 'target_name': 'remoting_webapp_v2', | |
119 'type': 'none', | |
120 'variables': { | |
121 'webapp_type': 'v2', | |
122 'output_dir': '<(PRODUCT_DIR)/remoting/remoting.webapp.v2', | |
123 'zip_path': '<(PRODUCT_DIR)/remoting-webapp.v2.zip', | |
124 'extra_files': [ 'webapp/background.js' ], | |
125 }, | |
126 'includes': [ 'remoting_webapp.gypi', ], | |
127 }, # end of target 'remoting_webapp_v2' | |
128 ], # end of targets | 115 ], # end of targets |
129 | 116 |
130 'conditions': [ | 117 'conditions': [ |
Jamie
2014/06/20 01:11:15
Can you have conditions inside targets? It would m
Sergey Ulanov
2014/06/20 18:43:19
Done.
| |
131 ['disable_nacl==0 and disable_nacl_untrusted==0', { | 118 ['disable_nacl==0 and disable_nacl_untrusted==0', { |
132 'targets': [ | 119 'targets': [ |
133 { | 120 { |
134 'target_name': 'remoting_webapp_pnacl', | 121 'target_name': 'remoting_webapp_v2', |
135 'type': 'none', | 122 'type': 'none', |
136 'variables': { | 123 'variables': { |
137 'output_dir': '<(PRODUCT_DIR)/remoting/remoting.webapp.pnacl', | 124 'webapp_type': 'v2', |
138 'zip_path': '<(PRODUCT_DIR)/remoting-webapp-pnacl.zip', | 125 'output_dir': '<(PRODUCT_DIR)/remoting/remoting.webapp.v2', |
139 'extra_files': [ 'webapp/background.js' ], | 126 'zip_path': '<(PRODUCT_DIR)/remoting-webapp.v2.zip', |
140 'webapp_type': 'v2_pnacl', | |
141 }, | 127 }, |
142 'includes': [ 'remoting_webapp.gypi', ], | 128 'includes': [ 'remoting_webapp.gypi', ], |
143 }, # end of target 'remoting_webapp_pnacl' | 129 }, # end of target 'remoting_webapp_v2' |
144 ], | 130 ], |
145 }], | 131 }], |
146 ], | 132 ], |
147 | 133 |
148 } | 134 } |
OLD | NEW |