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

Unified Diff: blimp/client/core/session/BUILD.gn

Issue 2157133003: Move blimp AssignmentSource to core (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@move-blimp-client-switches-to-core
Patch Set: Fix gn checks Created 4 years, 5 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 | « blimp/client/core/BUILD.gn ('k') | blimp/client/core/session/assignment_source.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: blimp/client/core/session/BUILD.gn
diff --git a/blimp/client/core/session/BUILD.gn b/blimp/client/core/session/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..4c18a4a766238c1100c7ebc4a6639548dc3f5803
--- /dev/null
+++ b/blimp/client/core/session/BUILD.gn
@@ -0,0 +1,78 @@
+# Copyright 2016 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.
+
+if (is_android) {
+ import("//build/config/android/config.gni")
+ import("//build/config/android/rules.gni")
+}
+
+source_set("session") {
+ visibility = [
+ "//blimp/client/*",
+ "//blimp/engine:browser_tests",
+ ]
+
+ sources = [
+ "assignment_source.cc",
+ "assignment_source.h",
+ ]
+
+ public_deps = [
+ "//base",
+ "//components/safe_json",
+ "//net",
+ "//url",
+ ]
+
+ deps = [
+ "//blimp/client/core:switches",
+ "//blimp/common",
+ ]
+}
+
+source_set("unit_tests") {
+ visibility = [ "//blimp/client/core:unit_tests" ]
+
+ testonly = true
+
+ sources = []
+
+ deps = []
+
+ data = []
+
+ # TODO(dtrainor): Fix the test harness to allow this to run on Android.
+ # See crbug.com/588240.
+ if (is_linux) {
+ sources += [ "assignment_source_unittest.cc" ]
+
+ deps += [
+ ":session",
+ "//base",
+ "//blimp/client/core:switches",
+ "//blimp/common",
+ "//blimp/common:test_support",
+ "//components/safe_json:test_support",
+ "//net:test_support",
+ "//testing/gmock",
+ "//testing/gtest",
+ "//url",
+ ]
+
+ data += [
+ "test_selfsigned_cert.pem",
+ "//blimp/test/data/test_client_token",
+ ]
+ }
+}
+
+if (is_android) {
+ java_cpp_enum("java_enums_srcjar") {
+ visibility = [ "//blimp/client/*" ]
+
+ sources = [
+ "assignment_source.h",
+ ]
+ }
+}
« no previous file with comments | « blimp/client/core/BUILD.gn ('k') | blimp/client/core/session/assignment_source.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698