Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # Copyright 2013 The Chromium Authors. All rights reserved. | 1 # Copyright 2013 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 'target_defaults': { | 9 'target_defaults': { |
| 10 'defines': ['MOJO_IMPLEMENTATION'], | 10 'defines': ['MOJO_IMPLEMENTATION'], |
| (...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 124 'system/raw_channel_posix_unittest.cc', | 124 'system/raw_channel_posix_unittest.cc', |
| 125 'system/simple_dispatcher_unittest.cc', | 125 'system/simple_dispatcher_unittest.cc', |
| 126 'system/test_utils.h', | 126 'system/test_utils.h', |
| 127 'system/waiter_list_unittest.cc', | 127 'system/waiter_list_unittest.cc', |
| 128 'system/waiter_test_utils.cc', | 128 'system/waiter_test_utils.cc', |
| 129 'system/waiter_test_utils.h', | 129 'system/waiter_test_utils.h', |
| 130 'system/waiter_unittest.cc', | 130 'system/waiter_unittest.cc', |
| 131 ], | 131 ], |
| 132 }, | 132 }, |
| 133 { | 133 { |
| 134 'target_name': 'mojo_shell', | 134 'target_name': 'mojo_shell_lib', |
| 135 'type': 'executable', | 135 'type': 'static_library', |
| 136 'dependencies': [ | 136 'dependencies': [ |
| 137 '../base/base.gyp:base', | 137 '../base/base.gyp:base', |
| 138 '../net/net.gyp:net', | 138 '../net/net.gyp:net', |
| 139 '../url/url.gyp:url_lib', | 139 '../url/url.gyp:url_lib', |
| 140 'mojo_system', | 140 'mojo_system', |
| 141 ], | 141 ], |
| 142 'sources': [ | 142 'sources': [ |
| 143 'loader/job.cc', | 143 'loader/job.cc', |
| 144 'loader/job.h', | 144 'loader/job.h', |
| 145 'loader/loader.cc', | 145 'loader/loader.cc', |
| 146 'loader/loader.h', | 146 'loader/loader.h', |
| 147 'loader/url_request_context_getter.cc', | 147 'loader/url_request_context_getter.cc', |
| 148 'loader/url_request_context_getter.h', | 148 'loader/url_request_context_getter.h', |
| 149 'shell/app_container.cc', | 149 'shell/app_container.cc', |
| 150 'shell/app_container.h', | 150 'shell/app_container.h', |
| 151 'shell/shell.cc', | |
| 152 'shell/storage.cc', | 151 'shell/storage.cc', |
| 153 'shell/storage.h', | 152 'shell/storage.h', |
| 154 'shell/switches.cc', | 153 'shell/switches.cc', |
| 155 'shell/switches.h', | 154 'shell/switches.h', |
| 156 'shell/task_runners.cc', | 155 'shell/task_runners.cc', |
| 157 'shell/task_runners.h', | 156 'shell/task_runners.h', |
| 158 ], | 157 ], |
| 159 'conditions': [ | 158 'conditions': [ |
| 160 ['OS == "win"', { | 159 ['OS == "win"', { |
| 161 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 160 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 162 'msvs_disabled_warnings': [ | 161 'msvs_disabled_warnings': [ |
| 163 4267, | 162 4267, |
| 164 ], | 163 ], |
| 165 }], | 164 }], |
| 166 ], | 165 ], |
| 167 }, | 166 }, |
| 168 { | 167 { |
| 169 'target_name': 'sample_app', | 168 'target_name': 'mojo_shell', |
| 170 'type': '<(component)', | 169 'type': 'executable', |
| 171 'dependencies': [ | 170 'dependencies': [ |
| 172 '../base/base.gyp:base', | 171 '../base/base.gyp:base', |
| 172 '../url/url.gyp:url_lib', | |
| 173 'mojo_shell_lib', | |
| 173 'mojo_system', | 174 'mojo_system', |
| 174 ], | 175 ], |
| 175 'sources': [ | 176 'sources': [ |
| 176 'shell/sample_app.cc', | 177 'shell/shell.cc', |
| 177 ], | 178 ], |
| 179 'conditions': [ | |
| 180 ['OS == "win"', { | |
| 181 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | |
| 182 'msvs_disabled_warnings': [ | |
| 183 4267, | |
| 184 ], | |
| 185 }], | |
| 186 ], | |
| 187 }, | |
| 188 { | |
| 189 'target_name': 'libmojo_shell', | |
| 190 'type': 'shared_library', | |
| 191 'dependencies': [ | |
| 192 '../base/base.gyp:base', | |
| 193 'mojo_shell_lib', | |
| 194 ], | |
| 195 'sources': [ | |
| 196 'shell/android/shell_library_loader.cc', | |
| 197 ], | |
| 198 }, | |
| 199 { | |
| 200 'target_name': 'sample_app', | |
|
darin (slow to review)
2013/10/24 03:52:47
nit: indentation
| |
| 201 'type': '<(component)', | |
| 202 'dependencies': [ | |
| 203 '../base/base.gyp:base', | |
| 204 'mojo_system', | |
| 205 ], | |
| 206 'sources': [ | |
| 207 'shell/sample_app.cc', | |
| 208 ], | |
| 178 }, | 209 }, |
| 179 { | 210 { |
| 180 'target_name': 'mojo_bindings', | 211 'target_name': 'mojo_bindings', |
| 181 'type': 'static_library', | 212 'type': 'static_library', |
| 182 'include_dirs': [ | 213 'include_dirs': [ |
| 183 '..' | 214 '..' |
| 184 ], | 215 ], |
| 185 'sources': [ | 216 'sources': [ |
| 186 'public/bindings/lib/bindings.h', | 217 'public/bindings/lib/bindings.h', |
| 187 'public/bindings/lib/bindings_internal.h', | 218 'public/bindings/lib/bindings_internal.h', |
| (...skipping 18 matching lines...) Expand all Loading... | |
| 206 ], | 237 ], |
| 207 'sources': [ | 238 'sources': [ |
| 208 'public/bindings/sample/generated/sample_service.h', | 239 'public/bindings/sample/generated/sample_service.h', |
| 209 'public/bindings/sample/generated/sample_service_proxy.cc', | 240 'public/bindings/sample/generated/sample_service_proxy.cc', |
| 210 'public/bindings/sample/generated/sample_service_serialization.h', | 241 'public/bindings/sample/generated/sample_service_serialization.h', |
| 211 'public/bindings/sample/generated/sample_service_stub.cc', | 242 'public/bindings/sample/generated/sample_service_stub.cc', |
| 212 'public/bindings/sample/sample_test.cc', | 243 'public/bindings/sample/sample_test.cc', |
| 213 ], | 244 ], |
| 214 }, | 245 }, |
| 215 ], | 246 ], |
| 247 'conditions': [ | |
| 248 ['OS=="android"', { | |
| 249 'targets': [ | |
| 250 { | |
| 251 'target_name': 'mojo_shell_apk', | |
| 252 'type': 'none', | |
| 253 'dependencies': [ | |
| 254 '../base/base.gyp:base_java', | |
| 255 '../net/net.gyp:net_java', | |
| 256 'libmojo_shell', | |
| 257 ], | |
| 258 'variables': { | |
| 259 'apk_name': 'MojoShell', | |
| 260 'java_in_dir': '<(DEPTH)/mojo/shell/android/shell_apk', | |
| 261 'resource_dir': '<(DEPTH)/mojo/shell/android/shell_apk/res', | |
| 262 'native_lib_target': 'libmojo_shell', | |
| 263 }, | |
| 264 'includes': [ '../build/java_apk.gypi' ], | |
| 265 } | |
| 266 ], | |
| 267 }], | |
| 268 ], | |
| 216 } | 269 } |
| OLD | NEW |