| Index: google_apis/BUILD.gn
|
| diff --git a/google_apis/BUILD.gn b/google_apis/BUILD.gn
|
| index 4ce63ba66d30c87e1ade46431f92c188458d3aa3..7be06fd5547f0c6ecff66340c06669d8ca343ccd 100644
|
| --- a/google_apis/BUILD.gn
|
| +++ b/google_apis/BUILD.gn
|
| @@ -173,6 +173,17 @@ template("google_apis_tmpl") {
|
| "drive/time_util.h",
|
| ]
|
| }
|
| +
|
| + if (is_mac || is_ios) {
|
| + set_sources_assignment_filter([])
|
| + sources += [
|
| + "google_api_keys_mac.h",
|
| + "google_api_keys_mac.mm",
|
| + ]
|
| + set_sources_assignment_filter(sources_assignment_filter)
|
| +
|
| + libs = [ "Foundation.framework" ]
|
| + }
|
| }
|
| }
|
|
|
| @@ -230,6 +241,7 @@ test("google_apis_unittests") {
|
| "gaia/oauth_request_signer_unittest.cc",
|
| "gaia/ubertoken_fetcher_unittest.cc",
|
| "google_api_keys_unittest.cc",
|
| + "google_api_keys_unittest.h",
|
| ]
|
|
|
| data = [
|
| @@ -260,4 +272,12 @@ test("google_apis_unittests") {
|
| "drive/time_util_unittest.cc",
|
| ]
|
| }
|
| +
|
| + if (is_mac || is_ios) {
|
| + set_sources_assignment_filter([])
|
| + sources += [ "google_api_keys_mac_unittest.mm" ]
|
| + set_sources_assignment_filter(sources_assignment_filter)
|
| +
|
| + deps += [ "//third_party/ocmock" ]
|
| + }
|
| }
|
|
|