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

Unified Diff: mojo/mojom_bindings_generator_explicit.gypi

Issue 814543006: Move //mojo/{public, edk} underneath //third_party (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mojo/mojom_bindings_generator.gypi ('k') | mojo/mojom_bindings_generator_variables.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/mojom_bindings_generator_explicit.gypi
diff --git a/mojo/mojom_bindings_generator_explicit.gypi b/mojo/mojom_bindings_generator_explicit.gypi
deleted file mode 100644
index 0b836dba449391a3dbe1a6d69240479ff83362b7..0000000000000000000000000000000000000000
--- a/mojo/mojom_bindings_generator_explicit.gypi
+++ /dev/null
@@ -1,80 +0,0 @@
-# Copyright 2013 The Chromium Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-
-{
- 'includes': [
- 'mojom_bindings_generator_variables.gypi',
- ],
- 'variables': {
- 'mojom_base_output_dir':
- '<!(python <(DEPTH)/build/inverse_depth.py <(DEPTH))',
- 'mojom_generated_outputs': [
- '<!@(python <(DEPTH)/mojo/public/tools/bindings/mojom_list_outputs.py --basedir <(mojom_base_output_dir) <@(mojom_files))',
- ],
- },
- # Given mojom files as inputs, generate sources. These sources will be
- # exported to another target (via dependent_settings) to be compiled. This
- # keeps code generation separate from compilation, allowing the same sources
- # to be compiled with multiple toolchains - target, NaCl, etc.
- 'actions': [
- {
- 'action_name': '<(_target_name)_mojom_bindings_generator',
- 'variables': {
- 'java_out_dir': '<(PRODUCT_DIR)/java_mojo/<(_target_name)/src',
- 'mojom_import_args%': [
- '-I<(DEPTH)'
- ],
- },
- 'inputs': [
- '<@(mojom_bindings_generator_sources)',
- '<@(mojom_files)',
- ],
- 'outputs': [
- '<@(mojom_generated_outputs)',
- ],
- 'action': [
- 'python', '<@(mojom_bindings_generator)',
- '<@(mojom_files)',
- '--use_bundled_pylibs',
- '-d', '<(DEPTH)',
- '<@(mojom_import_args)',
- '-o', '<(SHARED_INTERMEDIATE_DIR)',
- '--java_output_directory=<(java_out_dir)',
- ],
- 'message': 'Generating Mojo bindings from <@(mojom_files)',
- }
- ],
- # Prevent the generated sources from being injected into the "all" target by
- # preventing the code generator from being directly depended on by the "all"
- # target.
- 'suppress_wildcard': '1',
- 'direct_dependent_settings': {
- # A target directly depending on this action will compile the generated
- # sources.
- 'sources': [
- '<@(mojom_generated_outputs)',
- ],
- # Include paths needed to compile the generated sources into a library.
- 'include_dirs': [
- '<(DEPTH)',
- '<(SHARED_INTERMEDIATE_DIR)',
- ],
- # Make sure the generated header files are available for any static library
- # that depends on a static library that depends on this generator.
- 'hard_dependency': 1,
- 'direct_dependent_settings': {
- # Include paths needed to find the generated header files and their
- # transitive dependancies when using the library.
- 'include_dirs': [
- '<(DEPTH)',
- '<(SHARED_INTERMEDIATE_DIR)',
- ],
- 'variables': {
- 'generated_src_dirs': [
- '<(PRODUCT_DIR)/java_mojo/<(_target_name)/src',
- ],
- },
- }
- },
-}
« no previous file with comments | « mojo/mojom_bindings_generator.gypi ('k') | mojo/mojom_bindings_generator_variables.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698