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

Side by Side Diff: components/devtools_bridge.gyp

Issue 746663002: Stub for WebRTCDeviceProvider (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@webclient
Patch Set: Created 6 years 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
OLDNEW
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 'includes': [ 6 'includes': [
7 '../build/util/version.gypi', 7 '../build/util/version.gypi',
8 ], 8 ],
9 'targets': [ 9 'targets': [
10 { 10 {
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 'devtools_bridge_client', 106 'devtools_bridge_client',
107 'devtools_bridge_jni_headers', 107 'devtools_bridge_jni_headers',
108 'devtools_bridge_server', 108 'devtools_bridge_server',
109 ], 109 ],
110 }, 110 },
111 { 111 {
112 'target_name': 'devtools_bridge_browsertests_resources', 112 'target_name': 'devtools_bridge_browsertests_resources',
113 'type': 'none', 113 'type': 'none',
114 'dependencies': [ 114 'dependencies': [
115 '<(DEPTH)/chrome/chrome_resources.gyp:packed_resources', 115 '<(DEPTH)/chrome/chrome_resources.gyp:packed_resources',
116 'devtools_bridge_client_resources',
116 ], 117 ],
117 'variables': { 118 'variables': {
118 'asset_location': '<(PRODUCT_DIR)/devtools_bridge_browsertests_apk/asset s', 119 'asset_location': '<(PRODUCT_DIR)/devtools_bridge_browsertests_apk/asset s',
119 }, 120 },
120 'inputs': [ 121 'inputs': [
121 '<(PRODUCT_DIR)/chrome_100_percent.pak', 122 'devtools_bridge/client/js/client_session.js',
122 '<(PRODUCT_DIR)/locales/en-US.pak', 123 'devtools_bridge/client/js/gcd_client.js',
123 '<(PRODUCT_DIR)/resources.pak', 124 'devtools_bridge/client/js/web_client.js',
125 'devtools_bridge/client/web_client.html',
126 ],
127 'actions': [
128 {
129 'action_name': 'repack_resources',
130 'variables': {
131 'pak_inputs': [
132 '<(PRODUCT_DIR)/resources.pak',
133 '<(SHARED_INTERMEDIATE_DIR)/components/devtools_bridge/web_client_ resources.pak',
134 ],
135 'pak_output': '<(asset_location)/resources.pak',
136 },
137 'includes': [ '../build/repack_action.gypi' ],
138 },
124 ], 139 ],
125 'copies': [ 140 'copies': [
126 { 141 {
127 'destination': '<(asset_location)', 142 'destination': '<(asset_location)',
128 'files': [ 143 'files': [
129 '<(PRODUCT_DIR)/chrome_100_percent.pak', 144 '<(PRODUCT_DIR)/chrome_100_percent.pak',
130 '<(PRODUCT_DIR)/locales/en-US.pak', 145 '<(PRODUCT_DIR)/locales/en-US.pak',
131 '<(PRODUCT_DIR)/resources.pak',
132 ], 146 ],
133 'conditions': [ 147 'conditions': [
134 ['icu_use_data_file_flag==1', { 148 ['icu_use_data_file_flag==1', {
135 'files': [ '<(PRODUCT_DIR)/icudtl.dat' ], 149 'files': [ '<(PRODUCT_DIR)/icudtl.dat' ],
136 }], 150 }],
137 ['v8_use_external_startup_data==1', { 151 ['v8_use_external_startup_data==1', {
138 'files': [ 152 'files': [
139 '<(PRODUCT_DIR)/natives_blob.bin', 153 '<(PRODUCT_DIR)/natives_blob.bin',
140 '<(PRODUCT_DIR)/snapshot_blob.bin', 154 '<(PRODUCT_DIR)/snapshot_blob.bin',
141 ], 155 ],
(...skipping 24 matching lines...) Expand all
166 }, 180 },
167 'includes': [ '../build/java_apk.gypi' ], 181 'includes': [ '../build/java_apk.gypi' ],
168 }, 182 },
169 183
170 # TODO(serya): Separate from android targets. Otherwise it may not be 184 # TODO(serya): Separate from android targets. Otherwise it may not be
171 # used outside of android. 185 # used outside of android.
172 { 186 {
173 'target_name': 'devtools_bridge_client', 187 'target_name': 'devtools_bridge_client',
174 'type': 'static_library', 188 'type': 'static_library',
175 'sources': [ 189 'sources': [
190 '<(SHARED_INTERMEDIATE_DIR)/components/grit/devtools_bridge/web_client_r esources_map.cc',
191 '<(SHARED_INTERMEDIATE_DIR)/components/grit/devtools_bridge/web_client_r esources_map.h',
176 'devtools_bridge/client/web_client.cc', 192 'devtools_bridge/client/web_client.cc',
177 'devtools_bridge/client/web_client.h', 193 'devtools_bridge/client/web_client.h',
194 'devtools_bridge/client/web_client_controller.cc',
195 'devtools_bridge/client/web_client_controller.h',
178 ], 196 ],
179 'dependencies': [ 197 'dependencies': [
180 '<(DEPTH)/base/base.gyp:base', 198 '<(DEPTH)/base/base.gyp:base',
181 '<(DEPTH)/content/content.gyp:content', 199 '<(DEPTH)/content/content.gyp:content',
200 'devtools_bridge_client_resources',
182 ], 201 ],
183 }, 202 },
203 {
204 'target_name': 'devtools_bridge_client_resources',
205 'type': 'none',
206 'variables': {
207 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/components',
208 },
209 'actions': [
210 {
211 'action_name': 'generate_devtools_bridge_client_resources',
212 'variables': {
213 'grit_grd_file': 'devtools_bridge/client/resources.grd',
214 },
215 'includes': [ '../build/grit_action.gypi' ],
216 },
217 ],
218 'includes': [ '../build/grit_target.gypi' ],
219 },
184 ], 220 ],
185 } 221 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698