| 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 import("//build/module_args/dart.gni") | 5 import("//build/module_args/dart.gni") |
| 6 import("//build/module_args/mojo.gni") | 6 import("//build/module_args/mojo.gni") |
| 7 | 7 |
| 8 # If using the prebuilt shell, gate its usage by the platforms for which it is | 8 # If using the prebuilt shell, gate its usage by the platforms for which it is |
| 9 # published. | 9 # published. |
| 10 mojo_use_prebuilt_mojo_shell = false | 10 mojo_use_prebuilt_mojo_shell = false |
| (...skipping 20 matching lines...) Expand all Loading... |
| 31 mojo_use_prebuilt_network_service = is_linux || is_android | 31 mojo_use_prebuilt_network_service = is_linux || is_android |
| 32 } | 32 } |
| 33 | 33 |
| 34 # Enable Dart apptest framework by default. | 34 # Enable Dart apptest framework by default. |
| 35 mojo_use_dart_apptest_framework = true | 35 mojo_use_dart_apptest_framework = true |
| 36 if (defined(mojo_disable_dart_apptest_framework) && | 36 if (defined(mojo_disable_dart_apptest_framework) && |
| 37 mojo_disable_dart_apptest_framework) { | 37 mojo_disable_dart_apptest_framework) { |
| 38 mojo_use_dart_apptest_framework = false | 38 mojo_use_dart_apptest_framework = false |
| 39 } | 39 } |
| 40 | 40 |
| 41 # Embedder uses Mojo application code. | |
| 42 mojo_use_application_in_sdk = true | |
| 43 if (defined(mojo_disable_application_in_sdk) && | |
| 44 mojo_disable_application_in_sdk) { | |
| 45 mojo_use_application_in_sdk = false | |
| 46 } | |
| 47 | |
| 48 # Embedder uses Mojo network interfaces. | 41 # Embedder uses Mojo network interfaces. |
| 49 mojo_use_network_in_sdk = true | 42 mojo_use_network_in_sdk = true |
| 50 if (defined(mojo_disable_network_in_sdk) && mojo_disable_network_in_sdk) { | 43 if (defined(mojo_disable_network_in_sdk) && mojo_disable_network_in_sdk) { |
| 51 mojo_use_network_in_sdk = false | 44 mojo_use_network_in_sdk = false |
| 52 } | 45 } |
| 53 | 46 |
| 54 # The absolute path to the directory containing the mojo public SDK (i.e., the | 47 # The absolute path to the directory containing the mojo public SDK (i.e., the |
| 55 # directory containing mojo/public). The build files within the Mojo public | 48 # directory containing mojo/public). The build files within the Mojo public |
| 56 # SDK use this variable to allow themselves to be parameterized by the location | 49 # SDK use this variable to allow themselves to be parameterized by the location |
| 57 # of the public SDK within a client repo. | 50 # of the public SDK within a client repo. |
| 58 mojo_root = get_path_info("../..", "abspath") | 51 mojo_root = get_path_info("../..", "abspath") |
| OLD | NEW |