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

Side by Side Diff: mojo/BUILD.gn

Issue 556813003: Add Go build support for GN. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix go group Created 6 years, 3 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/config/ui.gni") 5 import("//build/config/ui.gni")
6 6
7 group("mojo") { 7 group("mojo") {
8 declare_args() {
9 mojo_use_go = false
10 }
8 deps = [ 11 deps = [
9 ":tests", 12 ":tests",
10 "//mojo/common", 13 "//mojo/common",
11 "//mojo/examples", 14 "//mojo/examples",
12 "//mojo/public", 15 "//mojo/public",
13 "//mojo/services", 16 "//mojo/services",
14 "//mojo/shell:mojo_shell", 17 "//mojo/shell:mojo_shell",
15 ] 18 ]
16 19
17 if (is_linux) { 20 if (is_linux) {
18 deps += [ 21 deps += [
19 "//mojo/python", 22 "//mojo/python",
20 ] 23 ]
24 if (mojo_use_go) {
25 deps += [
26 "//mojo/go",
27 ]
28 }
21 } 29 }
22 } 30 }
23 31
24 group("tests") { 32 group("tests") {
25 deps = [ 33 deps = [
26 "//mojo/application_manager:mojo_application_manager_unittests", 34 "//mojo/application_manager:mojo_application_manager_unittests",
27 "//mojo/apps/js/test:mojo_apps_js_unittests", 35 "//mojo/apps/js/test:mojo_apps_js_unittests",
28 "//mojo/common:mojo_common_unittests", 36 "//mojo/common:mojo_common_unittests",
29 "//mojo/public/cpp/application/tests:mojo_public_application_unittests", 37 "//mojo/public/cpp/application/tests:mojo_public_application_unittests",
30 "//mojo/public/cpp/bindings/tests:mojo_public_bindings_unittests", 38 "//mojo/public/cpp/bindings/tests:mojo_public_bindings_unittests",
(...skipping 23 matching lines...) Expand all
54 sources = [ 62 sources = [
55 "android/javatests/src/org/chromium/mojo/MojoTestCase.java", 63 "android/javatests/src/org/chromium/mojo/MojoTestCase.java",
56 "android/javatests/src/org/chromium/mojo/bindings/ValidationTestUtil.java" , 64 "android/javatests/src/org/chromium/mojo/bindings/ValidationTestUtil.java" ,
57 "android/system/src/org/chromium/mojo/system/impl/CoreImpl.java", 65 "android/system/src/org/chromium/mojo/system/impl/CoreImpl.java",
58 "services/native_viewport/android/src/org/chromium/mojo/PlatformViewportAn droid.java", 66 "services/native_viewport/android/src/org/chromium/mojo/PlatformViewportAn droid.java",
59 ] 67 ]
60 68
61 jni_package = "mojo" 69 jni_package = "mojo"
62 } 70 }
63 } 71 }
OLDNEW
« no previous file with comments | « build/go/rules.gni ('k') | mojo/go/BUILD.gn » ('j') | mojo/go/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698