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 mojom_generator_root = "//mojo/public/tools/bindings" | 5 mojom_generator_root = "//mojo/public/tools/bindings" |
6 mojom_generator_script = "$mojom_generator_root/mojom_bindings_generator.py" | 6 mojom_generator_script = "$mojom_generator_root/mojom_bindings_generator.py" |
7 mojom_generator_sources = [ | 7 mojom_generator_sources = [ |
8 "$mojom_generator_root/generators/mojom_cpp_generator.py", | 8 "$mojom_generator_root/generators/mojom_cpp_generator.py", |
9 "$mojom_generator_root/generators/mojom_js_generator.py", | 9 "$mojom_generator_root/generators/mojom_js_generator.py", |
10 "$mojom_generator_root/generators/mojom_java_generator.py", | 10 "$mojom_generator_root/generators/mojom_java_generator.py", |
(...skipping 308 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
319 deps += [ ":$generator_target_name" ] | 319 deps += [ ":$generator_target_name" ] |
320 } | 320 } |
321 public_deps = [ | 321 public_deps = [ |
322 "//base", | 322 "//base", |
323 ] | 323 ] |
324 foreach(d, all_deps) { | 324 foreach(d, all_deps) { |
325 # Resolve the name, so that a target //mojo/something becomes | 325 # Resolve the name, so that a target //mojo/something becomes |
326 # //mojo/something:something and we can append cpp_sources_suffix to | 326 # //mojo/something:something and we can append cpp_sources_suffix to |
327 # get the cpp dependency name. | 327 # get the cpp dependency name. |
328 full_name = get_label_info("$d", "label_no_toolchain") | 328 full_name = get_label_info("$d", "label_no_toolchain") |
329 deps += [ "${full_name}${variant_suffix}_${cpp_sources_suffix}" ] | 329 public_deps += [ "${full_name}${variant_suffix}_${cpp_sources_suffix}" ] |
330 } | 330 } |
331 foreach(typemap, active_typemaps) { | 331 foreach(typemap, active_typemaps) { |
332 if (defined(typemap.public_headers)) { | 332 if (defined(typemap.public_headers)) { |
333 sources += typemap.public_headers | 333 sources += typemap.public_headers |
334 } | 334 } |
335 if (defined(typemap.traits_headers)) { | 335 if (defined(typemap.traits_headers)) { |
336 sources += typemap.traits_headers | 336 sources += typemap.traits_headers |
337 } | 337 } |
338 if (defined(typemap.sources)) { | 338 if (defined(typemap.sources)) { |
339 sources += typemap.sources | 339 sources += typemap.sources |
340 } | 340 } |
| 341 if (defined(typemap.public_deps)) { |
| 342 public_deps += typemap.public_deps |
| 343 } |
341 if (defined(typemap.deps)) { | 344 if (defined(typemap.deps)) { |
342 deps += typemap.deps | 345 deps += typemap.deps |
343 } | 346 } |
344 } | 347 } |
345 if (defined(bindings_configuration.for_blink) && | 348 if (defined(bindings_configuration.for_blink) && |
346 bindings_configuration.for_blink) { | 349 bindings_configuration.for_blink) { |
347 public_deps += [ "//mojo/public/cpp/bindings:wtf_support" ] | 350 public_deps += [ "//mojo/public/cpp/bindings:wtf_support" ] |
348 } | 351 } |
349 } | 352 } |
350 | 353 |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
392 full_name = get_label_info(d, "label_no_toolchain") | 395 full_name = get_label_info(d, "label_no_toolchain") |
393 deps += [ "${full_name}_java" ] | 396 deps += [ "${full_name}_java" ] |
394 } | 397 } |
395 | 398 |
396 srcjar_deps = [ ":$java_srcjar_target_name" ] | 399 srcjar_deps = [ ":$java_srcjar_target_name" ] |
397 run_findbugs_override = false | 400 run_findbugs_override = false |
398 } | 401 } |
399 } | 402 } |
400 } | 403 } |
401 } | 404 } |
OLD | NEW |