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

Side by Side Diff: mojo/public/mojo.gni

Issue 1300463002: Upload/Download dart_snapshotter (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 4 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 unified diff | Download patch
« no previous file with comments | « mojo/public/dart/rules.gni ('k') | mojo/public/tools/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 import("//build/module_args/dart.gni")
5 import("//build/module_args/mojo.gni") 6 import("//build/module_args/mojo.gni")
6 7
7 # 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
8 # published. 9 # published.
9 mojo_use_prebuilt_mojo_shell = false 10 mojo_use_prebuilt_mojo_shell = false
10 if (!defined(mojo_build_mojo_shell_from_source) || 11 if (!defined(mojo_build_mojo_shell_from_source) ||
11 !mojo_build_mojo_shell_from_source) { 12 !mojo_build_mojo_shell_from_source) {
12 mojo_use_prebuilt_mojo_shell = is_linux || is_android 13 mojo_use_prebuilt_mojo_shell = is_linux || is_android
13 } 14 }
14 15
16 # If using the prebuilt dart_snapshotter, gate its usage by the platforms for
17 # which it is published.
18 mojo_use_prebuilt_dart_snapshotter = false
19 if (!defined(mojo_build_dart_snapshotter_from_source) ||
20 !mojo_build_dart_snapshotter_from_source) {
21 mojo_use_prebuilt_dart_snapshotter = true
22 } else {
23 assert(defined(dart_snapshotter_bin))
24 }
25
15 # If using the prebuilt network service, gate its usage by the platforms for 26 # If using the prebuilt network service, gate its usage by the platforms for
16 # which it is published. 27 # which it is published.
17 mojo_use_prebuilt_network_service = false 28 mojo_use_prebuilt_network_service = false
18 if (!defined(mojo_build_network_service_from_source) || 29 if (!defined(mojo_build_network_service_from_source) ||
19 !mojo_build_network_service_from_source) { 30 !mojo_build_network_service_from_source) {
20 mojo_use_prebuilt_network_service = is_linux || is_android 31 mojo_use_prebuilt_network_service = is_linux || is_android
21 } 32 }
22 33
23 # Enable Dart apptest framework by default. 34 # Enable Dart apptest framework by default.
24 mojo_use_dart_apptest_framework = true 35 mojo_use_dart_apptest_framework = true
(...skipping 13 matching lines...) Expand all
38 mojo_use_network_in_sdk = true 49 mojo_use_network_in_sdk = true
39 if (defined(mojo_disable_network_in_sdk) && mojo_disable_network_in_sdk) { 50 if (defined(mojo_disable_network_in_sdk) && mojo_disable_network_in_sdk) {
40 mojo_use_network_in_sdk = false 51 mojo_use_network_in_sdk = false
41 } 52 }
42 53
43 # The absolute path to the directory containing the mojo public SDK (i.e., the 54 # The absolute path to the directory containing the mojo public SDK (i.e., the
44 # directory containing mojo/public). The build files within the Mojo public 55 # directory containing mojo/public). The build files within the Mojo public
45 # SDK use this variable to allow themselves to be parameterized by the location 56 # SDK use this variable to allow themselves to be parameterized by the location
46 # of the public SDK within a client repo. 57 # of the public SDK within a client repo.
47 mojo_root = get_path_info("../..", "abspath") 58 mojo_root = get_path_info("../..", "abspath")
OLDNEW
« no previous file with comments | « mojo/public/dart/rules.gni ('k') | mojo/public/tools/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698