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

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

Issue 1034603002: Prefix build variables used in separate repos with mojo_ (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 9 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
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/mojo.gni") 5 import("//build/module_args/mojo.gni")
6 6
7 # If using the prebuilt shell, gate its usage by the platforms for which it is 7 # If using the prebuilt shell, gate its usage by the platforms for which it is
8 # published. 8 # published.
9 use_prebuilt_mojo_shell = false 9 use_prebuilt_mojo_shell = false
blundell 2015/03/26 11:18:31 I think that the same argument applies to the vari
sky 2015/03/26 14:15:17 Done.
10 if (!defined(build_mojo_shell_from_source) || !build_mojo_shell_from_source) { 10 if (!defined(build_mojo_shell_from_source) || !build_mojo_shell_from_source) {
11 use_prebuilt_mojo_shell = is_linux || is_android 11 use_prebuilt_mojo_shell = is_linux || is_android
12 } 12 }
13 13
14 # If using the prebuilt network service, gate its usage by the platforms for 14 # If using the prebuilt network service, gate its usage by the platforms for
15 # which it is published. 15 # which it is published.
16 use_prebuilt_network_service = false 16 use_prebuilt_network_service = false
17 if (!defined(build_network_service_from_source) || 17 if (!defined(mojo_build_network_service_from_source) ||
18 !build_network_service_from_source) { 18 !mojo_build_network_service_from_source) {
19 use_prebuilt_network_service = is_linux || is_android 19 use_prebuilt_network_service = is_linux || is_android
20 } 20 }
21 21
22 # Enable Dart apptest framework by default. 22 # Enable Dart apptest framework by default.
23 use_dart_apptest_framework = true 23 use_dart_apptest_framework = true
24 if (defined(disable_dart_apptest_framework) && disable_dart_apptest_framework) { 24 if (defined(mojo_disable_dart_apptest_framework) &&
25 mojo_disable_dart_apptest_framework) {
25 use_dart_apptest_framework = false 26 use_dart_apptest_framework = false
26 } 27 }
27 28
28 # The absolute path to the directory containing the mojo public SDK (i.e., the 29 # The absolute path to the directory containing the mojo public SDK (i.e., the
29 # directory containing mojo/public). The build files within the Mojo public 30 # directory containing mojo/public). The build files within the Mojo public
30 # SDK use this variable to allow themselves to be parameterized by the location 31 # SDK use this variable to allow themselves to be parameterized by the location
31 # of the public SDK within a client repo. 32 # of the public SDK within a client repo.
32 mojo_root = get_path_info("../..", "abspath") 33 mojo_root = get_path_info("../..", "abspath")
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698