Skip to content
This repository was archived by the owner on Apr 21, 2025. It is now read-only.

Conversation

@goderbauer
Copy link
Member

@goderbauer goderbauer commented Nov 17, 2018

No description provided.

Copy link
Member

@chinmaygarde chinmaygarde left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, wrongly approved earlier.

#
# Variables
# no_default_deps: If true, no standard dependencies will be added.
foreach(_target_type,
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This makes adding implicit dependencies to libcxx obsolete (i.e. this line can now be removed: https://github.com/flutter/engine/pull/6886/files#diff-633f71f2d7c61833a0d6668534227b21R63).

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This needs to be on Android only for now.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I had the is_android check down below, but to make it more clear I pulled it up to the top level.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Derp. Didn't notice it down below. Yeah, moving it to the top level with a comment saying why this is android only would be great.

#
# Variables
# no_default_deps: If true, no standard dependencies will be added.
foreach(_target_type,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool

Copy link
Member

@chinmaygarde chinmaygarde left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I could not build this in debug mode on Android.

"$android_libcpp_library",
"c++abi",
include_dirs = [
"//third_party/libcxx/include",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also, having these in the public configs should make this include point moot.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The compiler still needs these to resolve libcxx symbols in source_set targets. Those targets currently do not get an implicitly added dependency to libcxx (same thing in chrome: https://cs.chromium.org/chromium/src/build/config/posix/BUILD.gn?type=cs&g=0&l=47).

#
# Variables
# no_default_deps: If true, no standard dependencies will be added.
foreach(_target_type,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This needs to be on Android only for now.

@goderbauer goderbauer merged commit 98cd682 into master Nov 19, 2018
@goderbauer goderbauer deleted the compilelibcxx branch November 19, 2018 23:51
goderbauer added a commit that referenced this pull request Nov 20, 2018
goderbauer added a commit that referenced this pull request Nov 20, 2018
goderbauer added a commit to goderbauer/buildroot that referenced this pull request Nov 21, 2018
goderbauer added a commit that referenced this pull request Dec 10, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants